On Tue, 12 Feb 2002, William Lee Irwin III wrote:
> On Tue, Feb 12, 2002 at 02:37:43PM +0000, Alan Cox wrote:
> > Going to a block size bigger than page size causes all sorts of fun with
> > allocation failures if there are not two pages free adjacent to one another
> > when allocating, and isn't really worth the cost.
>
> This sounds like fairly severe memory fragmentation, which seems more
> worrisome to me than blocksize constraints. Should I look into that?
Sorry for being dense, but I don't see why an 8 kB block would
need to occupy 2 contiguous pages in ram.
The page cache is indexed in pages, it should be easy enough to
do the disk IO on the 8 kB on-disk block as 2 4 kB IOs, each to
a different page in RAM.
regards,
Rik
-- "Linux holds advantages over the single-vendor commercial OS" -- Microsoft's "Competing with Linux" documenthttp://www.surriel.com/ http://distro.conectiva.com/
- 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/
This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:51 EST