All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	linux-fsdevel@vger.kernel.org
Subject: Re: mmotm 2010-12-16-14-56 uploaded (hugetlb)
Date: Fri, 17 Dec 2010 16:58:34 -0800	[thread overview]
Message-ID: <20101217165834.447cc096.akpm@linux-foundation.org> (raw)
In-Reply-To: <4D0C0043.7090408@oracle.com>

On Fri, 17 Dec 2010 16:28:51 -0800
Randy Dunlap <randy.dunlap@oracle.com> wrote:

> On 12/17/10 15:37, Andrea Arcangeli wrote:
> > Hello,
> > 
> > On Fri, Dec 17, 2010 at 02:53:34PM -0800, Andrew Morton wrote:
> >> afacit, CONFIG_HUGETLBFS must be enabled if CONFIG_HUGETLB_PAGE=y, and
> >> thp-config_transparent_hugepage.patch broke that, by permitting
> >> CONFIG_HUGETLBFS=n, CONFIG_HUGETLB_PAGE=y,
> >> CONFIG_TRANSPARENT_HUGEPAGE=y.
> > 
> > CONFIG_HUGETLBFS and CONFIG_HUGETLB_PAGE existed before, and
> > HUGETLBFS=n && HUGETLB_PAGE=y used to build just fine, I clearly
> > didn't try a build with HUGETLBFS=n recently.
> > 
> >> There's lots of stuff in hugetlb.h which is clearly related to
> >> hugetlbfs, but is enabled by CONFIG_HUGETLB_PAGE, so those things seem
> >> to be pretty joined at the hip nowadays.
> > 
> > Yes, it used to build just fine but I guess after the last hugetlbfs
> > updates I'm getting flood of errors no matter how I adjust things.
> > hugetlbfs code who needs some fixup here.
> 
> I see a real *flood* of errors when I try building ARCH=um SUBARCH={i386|x86_64}:
> 
> > grep -c error: UM*/build*
> UM32/build-defcfg.out:454539
> UM64/build-defcfg.out:453707

erk, yeah, that's totally horked.

The first one millionth:

include/asm-generic/pgtable.h: In function 'ptep_get_and_clear':
include/asm-generic/pgtable.h:77: error: expected statement before ')' token
include/asm-generic/pgtable.h:94: error: invalid storage class for function 'pmdp_get_and_clear'

Due to thp-add-pmd-mangling-generic-functions.patch

WARNING: multiple messages have this Message-ID (diff)
From: Andrew Morton <akpm@linux-foundation.org>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	linux-fsdevel@vger.kernel.org
Subject: Re: mmotm 2010-12-16-14-56 uploaded (hugetlb)
Date: Fri, 17 Dec 2010 16:58:34 -0800	[thread overview]
Message-ID: <20101217165834.447cc096.akpm@linux-foundation.org> (raw)
In-Reply-To: <4D0C0043.7090408@oracle.com>

On Fri, 17 Dec 2010 16:28:51 -0800
Randy Dunlap <randy.dunlap@oracle.com> wrote:

> On 12/17/10 15:37, Andrea Arcangeli wrote:
> > Hello,
> > 
> > On Fri, Dec 17, 2010 at 02:53:34PM -0800, Andrew Morton wrote:
> >> afacit, CONFIG_HUGETLBFS must be enabled if CONFIG_HUGETLB_PAGE=y, and
> >> thp-config_transparent_hugepage.patch broke that, by permitting
> >> CONFIG_HUGETLBFS=n, CONFIG_HUGETLB_PAGE=y,
> >> CONFIG_TRANSPARENT_HUGEPAGE=y.
> > 
> > CONFIG_HUGETLBFS and CONFIG_HUGETLB_PAGE existed before, and
> > HUGETLBFS=n && HUGETLB_PAGE=y used to build just fine, I clearly
> > didn't try a build with HUGETLBFS=n recently.
> > 
> >> There's lots of stuff in hugetlb.h which is clearly related to
> >> hugetlbfs, but is enabled by CONFIG_HUGETLB_PAGE, so those things seem
> >> to be pretty joined at the hip nowadays.
> > 
> > Yes, it used to build just fine but I guess after the last hugetlbfs
> > updates I'm getting flood of errors no matter how I adjust things.
> > hugetlbfs code who needs some fixup here.
> 
> I see a real *flood* of errors when I try building ARCH=um SUBARCH={i386|x86_64}:
> 
> > grep -c error: UM*/build*
> UM32/build-defcfg.out:454539
> UM64/build-defcfg.out:453707

erk, yeah, that's totally horked.

The first one millionth:

include/asm-generic/pgtable.h: In function 'ptep_get_and_clear':
include/asm-generic/pgtable.h:77: error: expected statement before ')' token
include/asm-generic/pgtable.h:94: error: invalid storage class for function 'pmdp_get_and_clear'

Due to thp-add-pmd-mangling-generic-functions.patch

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2010-12-18  0:58 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-16 22:56 mmotm 2010-12-16-14-56 uploaded akpm
2010-12-16 22:56 ` akpm
2010-12-17 22:33 ` mmotm 2010-12-16-14-56 uploaded (hugetlb) Randy Dunlap
2010-12-17 22:33   ` Randy Dunlap
2010-12-17 22:53   ` Andrew Morton
2010-12-17 22:53     ` Andrew Morton
2010-12-17 23:37     ` Andrea Arcangeli
2010-12-17 23:37       ` Andrea Arcangeli
2010-12-18  0:28       ` Randy Dunlap
2010-12-18  0:28         ` Randy Dunlap
2010-12-18  0:58         ` Andrew Morton [this message]
2010-12-18  0:58           ` Andrew Morton
2010-12-18  8:17           ` Andrea Arcangeli
2010-12-18  8:17             ` Andrea Arcangeli
2010-12-18  7:44       ` Andrea Arcangeli
2010-12-18  7:44         ` Andrea Arcangeli
2010-12-18 10:10 ` mmotm 2010-12-16 - breaks mlockall() call Valdis.Kletnieks
2010-12-20  1:48   ` Michel Lespinasse
2010-12-20  1:48     ` Michel Lespinasse
2010-12-21  6:26   ` Michel Lespinasse
2010-12-21  6:26     ` Michel Lespinasse
2010-12-22  1:07     ` Valdis.Kletnieks
2010-12-20  9:49 ` i915 modeset defunct [was: mmotm 2010-12-16-14-56 uploaded] Jiri Slaby
2010-12-20  9:52   ` Jiri Slaby

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=20101217165834.447cc096.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=aarcange@redhat.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=randy.dunlap@oracle.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.