Re: [patch 1/4] Linux Kernel Markers - Architecture Independent Code

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Frank Ch. Eigler <fche@...>
Cc: Denys Vlasenko <vda.linux@...>, <systemtap@...>, Christoph Hellwig <hch@...>, Rusty Russell <rusty@...>, <akpm@...>, <linux-kernel@...>
Date: Monday, October 15, 2007 - 7:12 pm

* Frank Ch. Eigler (fche@redhat.com) wrote:

Hi Frank,

I think the main issue with the solution you propose is that it doesn't
deal with markers in modules, am I right ?

I will soon come with a marker iterator and a module that provides a
userspace -and in kernel- interface to enable/disable markers. Actually,
I already have the code ready in my LTTng snapshots. I can provide a
link if you want to have a look.


Considering that  I want to minimize the impact on the system, I put the
marker strings in their own memory location rather than clobbering the
memory containing the kernel strings (which will likely be used more
often than markers). It makes sure that I don't pollute cachelines
otherwise containing useful kernel strings.

Mathieu


-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 1/4] Linux Kernel Markers - Architecture Independent ..., Mathieu Desnoyers, (Tue Sep 18, 5:13 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Fri Sep 21, 9:45 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Wed Sep 19, 7:37 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Fri Sep 21, 8:58 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Fri Sep 21, 9:38 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Mon Oct 15, 7:12 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Thu Oct 25, 3:17 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Frank Ch. Eigler, (Fri Oct 26, 10:28 am)
[PATCH] markers: modpost, Roland McGrath, (Wed Oct 31, 9:06 pm)
Re: [PATCH] markers: modpost, Mathieu Desnoyers, (Wed Oct 31, 10:46 pm)
Re: [PATCH] markers: modpost, Roland McGrath, (Thu Nov 1, 5:37 am)
Re: [PATCH] markers: modpost, Mathieu Desnoyers, (Thu Nov 1, 7:24 am)
Re: [PATCH] markers: modpost, David Smith, (Thu Nov 8, 3:31 pm)
Re: [PATCH] markers: modpost, Mathieu Desnoyers, (Thu Nov 8, 3:36 pm)
Re: [PATCH] markers: modpost, David Smith, (Fri Nov 9, 12:36 pm)
Re: [PATCH] markers: modpost, Mathieu Desnoyers, (Sun Nov 11, 7:24 pm)
Re: [PATCH] markers: modpost, David Smith, (Thu Nov 8, 3:45 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Christoph Hellwig, (Fri Sep 21, 9:07 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Wed Sep 19, 2:46 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Independ..., Mathieu Desnoyers, (Wed Sep 19, 2:50 pm)