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

Re: filecache/swapcache questions [RFC] [RFT] [PATCH] kanoj-mm12-2.3.8



> 
> Hi,
> 
> On Mon, 28 Jun 1999 15:15:29 -0700 (PDT), kanoj@google.engr.sgi.com
> (Kanoj Sarcar) said:
> 
> >> kswapd itself always uses a gfp_mask that includes GFP_IO, so nothing it
> >> calls will ever wait.  the I/O it schedules is asynchronous, and when
> >> complete, the buffer exit code in end_buffer_io_async will set the page
> >> flags appropriately for shrink_mmap() to come by and steal it. also, the
> >> buffer code will use pre-allocated buffers if gfp fails.
> >> 
> 
> > Which is why you must gurantee that kswapd can always run, and keep
> > as few blocking points as possible ...
> 
> Look, we're just going round in circles here.
> 
> kswapd *can* always run.
>

Not if you are going to try grabbing mmap_sem in that path ... 

Anyway, I guess we have established that is a bad idea ...

Kanoj 
--
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/