Re: File BlockSize

Rik van Riel
2002-02-12T22:17:11Z

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/