Re: filemap_nopage() tries to copy to page 0, eek.

Steve Dodd (dirk@loth.demon.co.uk)
Thu, 12 Aug 1999 13:47:33 +0100


>i assume you're looking at a late 2.3 kernel? :)

Err, yes, 2.3.12 and 2.3.13 (I think). I'm away from my machine at the
moment so I can't check, but I was using whatever was current when I posted
the message. The simplest option seemed to be to stick a

if (!new_page)
new_page = page_cache_alloc();

just before we attempt to copy to new_page, but I was wondering if we could
overlap the page allocation for new_page and the previous ->readpage()..

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/