| To: | David Daney <ddaney.cavm@gmail.com> |
|---|---|
| Subject: | Re: [PATCH v2 0/2] Dummy HPAGE_* constants for !CONFIG_HUGETLB_PAGE |
| From: | David Rientjes <rientjes@google.com> |
| Date: | Thu, 17 Nov 2011 15:22:02 -0800 (PST) |
| Cc: | linux-mips@linux-mips.org, ralf@linux-mips.org, Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org, David Daney <david.daney@cavium.com> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; bh=5Fg27qAvsDWmP+SgQ0tvlzK0U2yjR1z8WHS8s5WvBvI=; b=B7jBTLmBRLw0qKMTsaibN8cGE9f3MGrZOg/oNZcqAL3N1s5P3J5bfMetDIIfbh6cur dFqro7aYFEGtyjA69Oeg== |
| In-reply-to: | <1321567050-13197-1-git-send-email-ddaney.cavm@gmail.com> |
| References: | <1321567050-13197-1-git-send-email-ddaney.cavm@gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Alpine 2.00 (DEB 1167 2008-08-23) |
On Thu, 17 Nov 2011, David Daney wrote: > From: David Daney <david.daney@cavium.com> > > After a, somewhat heated, discussion with David Rientjes, I think the > following approach will work. > > The first patch adds HPAGE_SHIFT, needed by MIPS. > > The second cleans up the exiting HPAGE_MASK and HPAGE_SIZE > > David Daney (2): > hugetlb: Provide a default HPAGE_SHIFT if !CONFIG_HUGETLB_PAGE > hugetlb: Provide safer dummy values for HPAGE_MASK and HPAGE_SIZE > > include/linux/hugetlb.h | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > > Cc: David Rientjes <rientjes@google.com> Nack on both, we already discussed this in the other thread (and I wouldn't call it "somewhat heated"). We don't need these dummy definitions at all for any current architectures that use them and they should be removed so that any future code using them will have the proper dependency on CONFIG_HUGETLB_PAGE. |
| Previous by Date: | Re: [PATCH 4/4] MIPS Kprobes: Support branch instructions probing - v2, Ralf Baechle |
|---|---|
| Next by Date: | Re: [PATCH 1/2] MIPS: ath79: rename dev-ar913x-wmac.h to dev-wmac.h, Ralf Baechle |
| Previous by Thread: | [PATCH v2 1/2] hugetlb: Provide a default HPAGE_SHIFT if !CONFIG_HUGETLB_PAGE, David Daney |
| Next by Thread: | [patch] hugetlb: remove dummy definitions of HPAGE_MASK and HPAGE_SIZE, David Rientjes |
| Indexes: | [Date] [Thread] [Top] [All Lists] |