[lkml]   [2001]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: SetPageDirty in shmem_nopage
Linus Torvalds <> 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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.057 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site