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

Re: madvise (MADV_FREE)



Hi,

On Fri, Mar 24, 2000 at 02:58:10PM -0500, Jeff Dike wrote:
> 
> Everything appears to work fine, so my conclusion (without delving into the 
> i386 code too deeply) was that the upper kernel maintained them itself without 
> any particular help from the hardware.
> 
> Is this correct?  Should I be dealing with the non-protection bits in the arch 
> layer?

You probably should.  It is impossible to do MAP_SHARED, PROT_WRITE 
regions correctly without dirty bit support, and you don't get 
efficient paging without accessed bit support.

--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/