Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Robin Holt
On Fri, Aug 07, 2009 at 02:07:43PM +0200, Laurent Desnogues wrote: > On Fri, Aug 7, 2009 at 11:54 AM, Jamie Lokier wrote: > > > > 1. Does the architecture not prevent speculative instruction > > prefetches from crossing a page boundary?  It would be handy under the > > circumstances. > > There's n

Re: Is get_user_pages() enough to prevent pages from being swapped out ?

2009-07-30 Thread Robin Holt
> > On Wednesday 29 July 2009 17:26:11 Hugh Dickins wrote: ... > > > On the other hand, despite the raised reference count, under memory > > > pressure that page might get unmapped from the user pagetable, and > > > might even be written out to swap in its half-dirty state (though One thing you di