From: ebiederm+eric@ccr.net (Eric W. Biederman)
To: masp0008@stud.uni-sb.de
Cc: "linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: swapcache bug?
Date: 07 Feb 1999 15:30:51 -0600 [thread overview]
Message-ID: <m1679dq4tw.fsf@flinx.ccr.net> (raw)
In-Reply-To: Manfred Spraul's message of "Sun, 07 Feb 1999 19:21:38 +0100"
>>>>> "MS" == Manfred Spraul <masp0008@stud.uni-sb.de> writes:
MS> I'm currently debugging my physical memory ramdisk, and I see lots of
MS> entries in the page cache that have 'page->offset' which aren't
MS> multiples of 4096. (they are multiples of 256)
MS> All of them belong to swapper_inode.
MS> If this is the intended behaviour, then page_hash() should be changed:
MS> it assumes that 'page->offset' is a multiple of 4096.
Yes. Because for the swap cache we store the swap entry which is already
has the page size shifted out of it, but it's also setup so you can store
it directly in a pte which means some 0 bits.
Good spotting, but unless someone can show a significant performance impact
changing page_hash should wait for 2.3.
Eric
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org. For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/
next prev parent reply other threads:[~1999-02-08 0:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-07 18:21 swapcache bug? Manfred Spraul
1999-02-07 21:30 ` Eric W. Biederman [this message]
1999-02-08 16:39 ` [PATCH] " Stephen C. Tweedie
1999-02-08 17:32 ` Linus Torvalds
1999-02-08 17:51 ` Stephen C. Tweedie
1999-02-08 18:48 ` Linus Torvalds
1999-02-08 21:13 ` Matti Aarnio
1999-02-09 7:15 ` Eric W. Biederman
1999-02-09 16:32 ` Linus Torvalds
1999-02-10 0:28 ` Eric W. Biederman
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=m1679dq4tw.fsf@flinx.ccr.net \
--to=ebiederm+eric@ccr.net \
--cc=linux-mm@kvack.org \
--cc=masp0008@stud.uni-sb.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.