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

Re: set_pte() is no longer atomic with PAE36.



> Modifying an existing pte (eg. for COW) is probably even harder: do we
> need to clear the page-present bit while we modify the high word?
> Simply setting the dirty or accessed bits should pose no such problem,
> but relocating a page looks as if it could bite here.

You can do 64bit atomic sets with lock cmpxchg8. It might just be slow though

> 

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