From: "Kevin D. Kissell" <kevink@mips.com>
To: linux-mips@linux-mips.org
Subject: max_pfn: Uninitialized, or Deprecated?
Date: Tue, 01 Apr 2008 10:33:13 +0200 [thread overview]
Message-ID: <47F1F349.7010503@mips.com> (raw)
Once upon a time, the global max_pfn value was set up as part of
bootmem_init(), but this seems to have been dropped in favor of
establishing max_low_pfn, I suppose to be clear that it's the max
non-highmem PFN. However, the global max_pfn gets used in
the MIPS APRP support code, and also in places like
block/blk-settings.c. Is the use of max_pfn supposed to be
deprecated, such that we consider blk-settings.c to be broken
and change arch/mips/kernel/vpe.c to use max_low_pfn, or
ought we assign max_pfn = max_low_pfn in bootmem_init()?
I'm going to try the later for my own experimental purposes,
but won't propose a patch until I have a better understanding
of why things changed.
Regards,
Kevin K.
next reply other threads:[~2008-04-01 8:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-01 8:33 Kevin D. Kissell [this message]
2008-04-02 7:16 ` max_pfn: Uninitialized, or Deprecated? Geert Uytterhoeven
2008-04-02 7:57 ` Kevin D. Kissell
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=47F1F349.7010503@mips.com \
--to=kevink@mips.com \
--cc=linux-mips@linux-mips.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