Thomas Petazzoni wrote:
Hi,

Thanks for your answer.

Le Mon, 30 Jul 2007 17:01:43 +0530,
Vivek Kutal <[EMAIL PROTECTED]> a écrit :

You could just reset the present bit of the pages that you want to
remap. Now the next access to these pages will generate a fault and
your nopage() will be called.

And how would you reset the present bit, with a clean and
architecture-independent way ? Of course, one can hack the PTE by hand,
but that's not what I would call "clean" and
"architecture-independent" :-)
you can use set_pte  or set_pte_at.

--
Vivek Kutal

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to