Marcelo Tosatti wrote:
>
> On Thu, 22 Feb 2001, Marcelo Tosatti wrote:
> >
> > I think allocating memory from the atomic queue (used mainly by in
> > interrupt context) to generate dirty data may cause problems.
>
> I'll write the GFP_PAGE_IO thing we talked about RSN to avoid having to
> use GFP_ATOMIC.
Hi Marcelo,
The particular allocation in question, the kmalloc in
__pagebuf_write_full_page, is needed only to perform
clustering. So, what's needed is a really cheap allocation;
the code doesn't care if the allocation fails.
I think the patch you sent avoids calling writepage out of
page_launder() on GFP_PAGE_IO. This should work also.
cheers,
ananth.
--
--------------------------------------------------------------------------
Rajagopal Ananthanarayanan ("ananth")
Member Technical Staff, SGI.
--------------------------------------------------------------------------
|