From: Gerald Schaefer <gerald.schaefer@gmail.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: linux-kernel@vger.kernel.org, schwidefsky@de.ibm.com, cotte@de.ibm.com
Subject: Re: empty_zero_page
Date: Thu, 7 Jul 2005 14:22:25 +0200 [thread overview]
Message-ID: <c2a3abd10507070522d60a1bc@mail.gmail.com> (raw)
In-Reply-To: <20050705.125242.104033031.davem@davemloft.net>
On 7/5/05, David S. Miller <davem@davemloft.net> wrote:
>
> Why does mm/filemap_xip.c make an explicit reference to
> "empty_zero_page"? That's bogus, and ZERO_PAGE() is how
> generic code should get at this thing.
>
> In fact, what the mm/filemap_xip.c code wants is the page
> struct, not the address of the page itself, because it
> does a virt_to_page() on empty_zero_page in every such
> reference.
>
> This causes build failures for XIP support on sparc64.
>
> When moving mm/filemap_xip.c over to ZERO_PAGE(), we will
> need to determine the virtual address at which the ZERO_PAGE()
> will be mapped. This shouldn't be difficult to determine,
> and it's incredibly important to get this right, wrt. page
> coloring concerns, particularly on MIPS which does make use
> of the 'vaddr' argument to ZERO_PAGE().
Good point, seems like there is no reason to use empty_zero_page instead
of ZERO_PAGE. Carsten is out of the office this week, but we will get back
to this next week.
prev parent reply other threads:[~2005-07-07 12:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-05 19:52 empty_zero_page David S. Miller
2005-07-07 12:22 ` Gerald Schaefer [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=c2a3abd10507070522d60a1bc@mail.gmail.com \
--to=gerald.schaefer@gmail.com \
--cc=cotte@de.ibm.com \
--cc=davem@davemloft.net \
--cc=geraldsc@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=schwidefsky@de.ibm.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 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.