linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 1/5] x86, ptrace: remove bad comment
@ 2007-12-14 16:48 Markus Metzger
  2007-12-15  7:29 ` Ingo Molnar
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Metzger @ 2007-12-14 16:48 UTC (permalink / raw)
  To: ak, hpa, linux-kernel, mingo, tglx
  Cc: markus.t.metzger, markus.t.metzger, suresh.b.siddha, roland,
	akpm, mtk.manpages

Remove no longer correct comment.

Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
---

Index: linux-2.6-x86/arch/x86/kernel/process_64.c
===================================================================
--- linux-2.6-x86.orig/arch/x86/kernel/process_64.c	2007-12-14 15:31:37.%N +0100
+++ linux-2.6-x86/arch/x86/kernel/process_64.c	2007-12-14 15:31:42.%N +0100
@@ -597,10 +597,6 @@
 		memset(tss->io_bitmap, 0xff, prev->io_bitmap_max);
 	}
 
-	/*
-	 * Last branch recording recofiguration of trace hardware and
-	 * disentangling of trace data per task.
-	 */
 	if (test_tsk_thread_flag(prev_p, TIF_BTS_TRACE_TS))
 		ptrace_bts_take_timestamp(prev_p, BTS_TASK_DEPARTS);
 
---------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen Germany
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 Ust.-IdNr.
VAT Registration No.: DE129385895
Citibank Frankfurt (BLZ 502 109 00) 600119052

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch 1/5] x86, ptrace: remove bad comment
  2007-12-14 16:48 [patch 1/5] x86, ptrace: remove bad comment Markus Metzger
@ 2007-12-15  7:29 ` Ingo Molnar
  2007-12-17 13:25   ` Metzger, Markus T
  0 siblings, 1 reply; 3+ messages in thread
From: Ingo Molnar @ 2007-12-15  7:29 UTC (permalink / raw)
  To: Markus Metzger
  Cc: ak, hpa, linux-kernel, tglx, markus.t.metzger, suresh.b.siddha,
	roland, akpm, mtk.manpages

Markus,

i've applied the first 4 patches to x86.git.

another detail: shouldnt this be structured so that the APIs are 
introduced in kernel/ptrace.c, and that the architecture offers the 
mechanism. (which would thus be ptrace-independent) This would also open 
these APIs up to kernel-internal use and to be used by other 
architectures.

	Ingo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [patch 1/5] x86, ptrace: remove bad comment
  2007-12-15  7:29 ` Ingo Molnar
@ 2007-12-17 13:25   ` Metzger, Markus T
  0 siblings, 0 replies; 3+ messages in thread
From: Metzger, Markus T @ 2007-12-17 13:25 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: ak, hpa, linux-kernel, tglx, markus.t.metzger, Siddha, Suresh B,
	roland, akpm, mtk.manpages

>-----Original Message-----
>From: Ingo Molnar [mailto:mingo@elte.hu] 
>Sent: Samstag, 15. Dezember 2007 08:30

>another detail: shouldnt this be structured so that the APIs are 
>introduced in kernel/ptrace.c, and that the architecture offers the 
>mechanism. (which would thus be ptrace-independent) This would 
>also open 
>these APIs up to kernel-internal use and to be used by other 
>architectures.

Isn't this best done once we actually have at least one other
architecture?

The DS interface should be fine for kernel and user trace on x86, but it
may not be the best interface for other architectures.

regards,
markus.
---------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen Germany
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 Ust.-IdNr.
VAT Registration No.: DE129385895
Citibank Frankfurt (BLZ 502 109 00) 600119052

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-17 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-14 16:48 [patch 1/5] x86, ptrace: remove bad comment Markus Metzger
2007-12-15  7:29 ` Ingo Molnar
2007-12-17 13:25   ` Metzger, Markus T

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).