From: Roland Dreier <rdreier@cisco.com>
To: wli@movementarian.org
Cc: linuxppc-dev@ozlabs.org,
Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org, Eli Cohen <eli@mellanox.co.il>
Subject: Re: FW: [PATCH] powerpc/mm: Export HPAGE_SHIFT
Date: Wed, 04 Feb 2009 13:31:43 -0800 [thread overview]
Message-ID: <adazlh1lwhs.fsf@cisco.com> (raw)
In-Reply-To: <20090204210037.GC10229@movementarian.org> (wli@movementarian.org's message of "Wed, 4 Feb 2009 16:00:37 -0500")
> You should be able to find the head of a compound page using the
> compound_head() inline, so try
> PAGE_SIZE << compound_order(compound_head(page))
Thanks! Looks like that should be exactly what we need.
- R.
WARNING: multiple messages have this Message-ID (diff)
From: Roland Dreier <rdreier@cisco.com>
To: wli@movementarian.org
Cc: Andrew Morton <akpm@linux-foundation.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Eli Cohen <eli@mellanox.co.il>,
linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org
Subject: Re: FW: [PATCH] powerpc/mm: Export HPAGE_SHIFT
Date: Wed, 04 Feb 2009 13:31:43 -0800 [thread overview]
Message-ID: <adazlh1lwhs.fsf@cisco.com> (raw)
In-Reply-To: <20090204210037.GC10229@movementarian.org> (wli@movementarian.org's message of "Wed, 4 Feb 2009 16:00:37 -0500")
> You should be able to find the head of a compound page using the
> compound_head() inline, so try
> PAGE_SIZE << compound_order(compound_head(page))
Thanks! Looks like that should be exactly what we need.
- R.
next prev parent reply other threads:[~2009-02-04 21:33 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-03 16:49 [PATCH] powerpc/mm: Export HPAGE_SHIFT Eli Cohen
2009-02-04 1:08 ` FW: " Roland Dreier
2009-02-04 1:08 ` Roland Dreier
2009-02-04 1:50 ` Benjamin Herrenschmidt
2009-02-04 5:13 ` Andrew Morton
2009-02-04 5:13 ` Andrew Morton
2009-02-04 5:31 ` Nick Piggin
2009-02-04 5:31 ` Nick Piggin
2009-02-04 6:17 ` wli
2009-02-04 6:17 ` wli
2009-02-04 6:16 ` Roland Dreier
2009-02-04 6:16 ` Roland Dreier
2009-02-04 6:26 ` Andrew Morton
2009-02-04 6:26 ` Andrew Morton
2009-02-04 19:11 ` Roland Dreier
2009-02-04 19:11 ` Roland Dreier
2009-02-04 21:00 ` wli
2009-02-04 21:00 ` wli
2009-02-04 21:31 ` Roland Dreier [this message]
2009-02-04 21:31 ` Roland Dreier
2009-02-04 21:23 ` Andrew Morton
2009-02-04 21:23 ` Andrew Morton
2009-02-04 23:55 ` Benjamin Herrenschmidt
2009-02-04 23:55 ` Benjamin Herrenschmidt
2009-02-05 5:10 ` Roland Dreier
2009-02-05 5:10 ` Roland Dreier
2009-02-05 5:24 ` Benjamin Herrenschmidt
2009-02-05 5:24 ` Benjamin Herrenschmidt
2009-02-05 5:33 ` Roland Dreier
2009-02-05 5:33 ` Roland Dreier
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=adazlh1lwhs.fsf@cisco.com \
--to=rdreier@cisco.com \
--cc=akpm@linux-foundation.org \
--cc=eli@mellanox.co.il \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=wli@movementarian.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 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.