Re: [Patch] numa: introduce CONFIG_NUMA_SYSFS for drivers/base/node.c

From: Cong Wang
Date: Thu Aug 25 2011 - 06:22:21 EST


ä 2011å08æ25æ 13:04, David Rientjes åé:
On Wed, 24 Aug 2011, Randy Dunlap wrote:

Below is the updated version.

Thanks for testing!

Yes, that works after changing #ifdef defined(...)
to #if defined(...)

Acked-by: Randy Dunlap<rdunlap@xxxxxxxxxxxx>


No, it doesn't work, CONFIG_HUGETLBFS can be enabled with CONFIG_NUMA=y
and CONFIG_SYSFS=n and that uses data structures from drivers/base/node.c
which doesn't get compiled with this patch.

So, you mean with CONFIG_NUMA=y && CONFIG_SYSFS=n && CONFIG_HUGETLBFS=y
we still get compile error?

Which data structures are used by hugetlbfs?

Thanks.

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