Re: [patch 16/17] Immediate Values - Documentation

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rusty Russell <rusty@...>
Cc: <akpm@...>, Ingo Molnar <mingo@...>, <linux-kernel@...>, Andi Kleen <andi@...>, Adrian Bunk <bunk@...>, Alexey Dobriyan <adobriyan@...>, Christoph Hellwig <hch@...>, <akpm@...>
Date: Thursday, April 10, 2008 - 9:16 pm

* Rusty Russell (rusty@rustcorp.com.au) wrote:

Yeah, I know :(

Well, only if we can find a way to detect the macro is put within a init
or exit section. Is there some assembly trickery that would permit us to
do that ?

Otherwise, given the memory freed from the init section could be reused
later by the kernel, I don't see how we can detect the pointer leads to
a freed init section and, say, a module.

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 16/17] Immediate Values - Documentation, Mathieu Desnoyers, (Wed Apr 9, 11:08 am)
Re: [patch 16/17] Immediate Values - Documentation, Rusty Russell, (Wed Apr 9, 11:33 pm)
[RFC PATCH] Immediate Values Support init, Mathieu Desnoyers, (Fri Apr 11, 9:44 am)
Re: [patch 16/17] Immediate Values - Documentation, Mathieu Desnoyers, (Thu Apr 10, 9:16 pm)
Re: [patch 16/17] Immediate Values - Documentation, Rusty Russell, (Fri Apr 11, 11:06 am)
Re: [patch 16/17] Immediate Values - Documentation, Mathieu Desnoyers, (Mon Apr 14, 8:12 pm)