Re: Atomic operation for physically moving a page
From: Dave Hansen <hidden>
Date: 2004-06-19 02:44:00
Also in:
lkml
From: Dave Hansen <hidden>
Date: 2004-06-19 02:44:00
Also in:
lkml
On Fri, 2004-06-18 at 17:37, Ashwin Rao wrote:
I want to copy a page from one physical location to another (taking the appr. locks). To keep the operation of copying and updation of all ptes and caches atomic one way proposed by my team members was to sleep the processes accessing the page.
How do you make sure that no more processes begin to access the page while you're doing your work? BTW, look at the swap code :) -- Dave -- 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-mm.org/ . Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>