Messages in this thread | | | Subject | Re: Atomic operation for physically moving a page | From | Dave Hansen <> | Date | Fri, 18 Jun 2004 19:43:38 -0700 |
| |
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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |