Linus Torvalds <[EMAIL PROTECTED]> writes:

> On 14 Jan 2001, Christoph Rohland wrote:
> Why do you increment the use counter at all in nopage?

First to be able to limit the overall number of pages used by the
filesystem and second to have the right value for the number of blocks
in [f]stat.

Show me a way to get the overall number of vm pages in the fs and I
drop it in a minute.

> It looks like this code is all historical baggage from when the
> shm code didn't use the VM page cache?

No, it was introduced with the changes to use the page cache.

Greetings
                Christoph

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to