Re: [patch 0/4] MAP_NOZERO v2 - VM_NOZERO/MAP_NOZERO early summer madness

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ulrich Drepper <drepper@...>
Cc: Rik van Riel <riel@...>, Andy Isaacson <adi@...>, Kyle Moffett <mrmacman_g4@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Monday, July 2, 2007 - 6:46 pm

On Mon, 2 Jul 2007, Ulrich Drepper wrote:


The strong requirement would be that the cookie is not a bit longer than 
sizeof(unsigned long).
For the "equality" check, this better be "==", although it could be 
abstracted in a function/macro that SeLinux implements in a different way.
But this "equality" check is done a page-fault time, so it better be 
pretty quick (otherwise if they bloat that path, they probably be better 
of not using MAP_NOZERO at all).



- Davide


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 0/4] MAP_NOZERO v2 - VM_NOZERO/MAP_NOZERO early s..., Davide Libenzi, (Mon Jul 2, 6:46 pm)