Re: Unmap pages from a VMA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thanks for your answer.

Le Mon, 30 Jul 2007 17:01:43 +0530,
Vivek Kutal <vivekutal@xxxxxxxxx> 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" :-)

Thanks,

Thomas
-- 
Thomas Petazzoni - thomas.petazzoni@xxxxxxxx
http://{thomas,sos,kos}.enix.org - http://www.toulibre.org
http://www.{livret,agenda}dulibre.org

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux