From: Rik van Riel <riel@conectiva.com.br>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH] reduce struct_page size
Date: Tue, 19 Feb 2002 07:38:02 -0300 (BRT) [thread overview]
Message-ID: <Pine.LNX.4.33L.0202190736290.1930-100000@imladris.surriel.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0202181806340.24597-100000@home.transmeta.com>
On Mon, 18 Feb 2002, Linus Torvalds wrote:
> On Mon, 18 Feb 2002, Rik van Riel wrote:
> >
> > o page->zone is shrunk from a pointer to an index into a small
> > array of zones ... this means we have space for 3 more chars
> > in the struct page to other stuff (say, page->age)
>
> Why not put "page->zone" into the page flags instead?
The original reason it's not in page->flags is that the
rmap patch also has page->age.
Furthermore, the NUMA folks wanted the ability to have
quite a few zones.
> The patch looks good, it's just silly to say that you made "struct page"
> smaller, and then waste four bytes.
If you want I'll look into shoving the zone bits into
page->flags ...
regards,
Rik
--
"Linux holds advantages over the single-vendor commercial OS"
-- Microsoft's "Competing with Linux" document
http://www.surriel.com/ http://distro.conectiva.com/
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
next prev parent reply other threads:[~2002-02-19 10:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-19 2:03 Rik van Riel
2002-02-19 2:11 ` Linus Torvalds
2002-02-19 10:38 ` Rik van Riel [this message]
2002-02-19 10:56 ` William Lee Irwin III
2002-02-19 13:10 ` Rik van Riel
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=Pine.LNX.4.33L.0202190736290.1930-100000@imladris.surriel.com \
--to=riel@conectiva.com.br \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.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