From: Christoph Rohland <cr@sap.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: SetPageDirty in shmem_nopage
Date: 14 Jan 2001 22:44:04 +0100 [thread overview]
Message-ID: <m3ae8tg6kr.fsf@linux.local> (raw)
In-Reply-To: <Pine.LNX.4.10.10101141116550.4086-100000@penguin.transmeta.com>
In-Reply-To: <Pine.LNX.4.10.10101141116550.4086-100000@penguin.transmeta.com>
Linus Torvalds <torvalds@transmeta.com> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2001-01-14 21:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-14 18:25 SetPageDirty in shmem_nopage Christoph Rohland
2001-01-14 19:20 ` Linus Torvalds
2001-01-14 21:44 ` Christoph Rohland [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3ae8tg6kr.fsf@linux.local \
--to=cr@sap.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox