Re: File BlockSize

From: Rik van Riel (riel@conectiva.com.br)
Date: Tue Feb 12 2002 - 17:16:40 EST


On Tue, 12 Feb 2002, Alan Cox wrote:

> > > 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.
>
> Because all the kernel code knows that you can add a constant to the
> base of a buffer to get anywhere in that block. Also the one buffer
> per two page case isnt handled either

Is this still the case after blkdev-in-pagecache ?

Rik

-- 
"Linux holds advantages over the single-vendor commercial OS"
    -- Microsoft's "Competing with Linux" document

http://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