From: William Lee Irwin III <wli@holomorphy.com>
To: Anton Blanchard <anton@samba.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Remove 8 bytes from struct page on 64bit archs
Date: Sun, 6 Jan 2002 05:11:34 -0800 [thread overview]
Message-ID: <20020106051134.E10391@holomorphy.com> (raw)
In-Reply-To: <20020106123913.GA5407@krispykreme>
In-Reply-To: <20020106123913.GA5407@krispykreme>; from anton@samba.org on Sun, Jan 06, 2002 at 11:39:14PM +1100
On Sun, Jan 06, 2002 at 11:39:14PM +1100, Anton Blanchard wrote:
> It seems shortening struct page is all the rage at the moment and I
> didnt want to be left out. On some 64bit architectures (sparc64 and
> ppc64 for example) all memory is allocated in the DMA zone. Therefore
> there is no reason to waste 8 bytes per page when every page points to
> the same zone!
Very true. I devised something to address this that appears to work on
multiple architectures already by folding ->zone into ->flags, which
could be useful. (Dave Jones recommended I just let arch maintainers
for things other than i386 mess with page_address() for other arches.)
OTOH, I'm more interested in getting it trimmed down than getting credit.
Cheers,
Bill
P.S.:
My i386 version, which makes ->virtual conditional on CONFIG_HIGHMEM as
well, is at:
ftp://ftp.kernel.org/pub/linux/kernel/people/wli/vm/struct_page/struct_page-2.4.17-rc2
next prev parent reply other threads:[~2002-01-06 13:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-06 12:39 [PATCH] Remove 8 bytes from struct page on 64bit archs Anton Blanchard
2002-01-06 13:02 ` Horst von Brand
2002-01-06 13:07 ` Dave Jones
2002-01-06 13:13 ` Momchil Velikov
2002-01-06 13:25 ` Dave Jones
2002-01-06 13:28 ` William Lee Irwin III
2002-01-06 14:08 ` David S. Miller
2002-01-06 14:44 ` Dave Jones
2002-01-07 1:25 ` results: " Anton Blanchard
2002-01-07 3:22 ` Richard Henderson
2002-01-14 6:35 ` Anton Blanchard
2002-01-15 0:45 ` Dave Jones
2002-01-07 5:13 ` David S. Miller
2002-01-06 13:11 ` William Lee Irwin III [this message]
2002-01-06 13:33 ` [PATCH] " Anton Blanchard
2002-01-06 13:51 ` William Lee Irwin III
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=20020106051134.E10391@holomorphy.com \
--to=wli@holomorphy.com \
--cc=anton@samba.org \
--cc=linux-kernel@vger.kernel.org \
/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