lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 17 Dec 2010 14:53:34 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Randy Dunlap <randy.dunlap@...cle.com>
Cc:	linux-kernel@...r.kernel.org, linux-mm@...ck.org,
	linux-fsdevel@...r.kernel.org,
	Andrea Arcangeli <aarcange@...hat.com>
Subject: Re: mmotm 2010-12-16-14-56 uploaded (hugetlb)

On Fri, 17 Dec 2010 14:33:16 -0800
Randy Dunlap <randy.dunlap@...cle.com> wrote:

> On Thu, 16 Dec 2010 14:56:39 -0800 akpm@...ux-foundation.org wrote:
> 
> > The mm-of-the-moment snapshot 2010-12-16-14-56 has been uploaded to
> > 
> >    http://userweb.kernel.org/~akpm/mmotm/
> > 
> > and will soon be available at
> > 
> >    git://zen-kernel.org/kernel/mmotm.git
> > 
> > It contains the following patches against 2.6.37-rc6:
> 
> 
> # CONFIG_HUGETLBFS is not set
> CONFIG_HUGETLB_PAGE=y
> 
> 
> In file included from mmotm-2010-1216-1456/kernel/fork.c:36:
> mmotm-2010-1216-1456/include/linux/hugetlb.h: In function 'hstate_inode':
> mmotm-2010-1216-1456/include/linux/hugetlb.h:255: error: implicit declaration of function 'HUGETLBFS_SB'
> 

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.

I suppose CONFIG_TRANSPARENT_HUGEPAGE could select CONFIG_HUGETLBFS,
but is there a nicer way?


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ