From: "Timur Tabi" <timur@freescale.com>
To: "Johannes Berg" <johannes@sipsolutions.net>
Cc: linuxppc-dev list <linuxppc-dev@ozlabs.org>,
Paul Mackerras <paulus@samba.org>
Subject: Re: [PATCH v2] powerpc: enforce sane MAX_ORDER
Date: Wed, 24 Sep 2008 11:08:44 -0500 [thread overview]
Message-ID: <ed82fe3e0809240908k4e60982ue1fdeb9f2b3bfc6@mail.gmail.com> (raw)
In-Reply-To: <1222266548.4257.26.camel@johannes.berg>
On Wed, Sep 24, 2008 at 9:29 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> Indeed, it makes little sense to allow you to set more than the address
> space, so here's a version with max 64.
Acked-by: Timur Tabi <timur@freescale.com>
However, the max is actually less than 64. Assuming a 64-bit address
space, the maximum number of pages in one allocation can be
2^(64-PAGE_SHIFT). For 4KB pages, the max value for
FORCE_MAX_ZONEORDER is 53. For 64KB pages, the max is 49.
--
Timur Tabi
Linux kernel developer at Freescale
prev parent reply other threads:[~2008-09-24 16:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-24 13:24 [PATCH] powerpc: enforce sane MAX_ORDER Johannes Berg
2008-09-24 14:05 ` Kumar Gala
2008-09-24 14:13 ` Johannes Berg
2008-09-24 14:16 ` Kumar Gala
2008-09-24 14:29 ` [PATCH v2] " Johannes Berg
2008-09-24 16:08 ` Timur Tabi [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=ed82fe3e0809240908k4e60982ue1fdeb9f2b3bfc6@mail.gmail.com \
--to=timur@freescale.com \
--cc=johannes@sipsolutions.net \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.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;
as well as URLs for NNTP newsgroup(s).