Re: [PATCH 4/5] Enable hugetlbfs for more systems.

From: Ralf Baechle
Date: Tue Jun 16 2009 - 06:26:55 EST


On Wed, May 27, 2009 at 05:47:45PM -0700, David Daney wrote:
> From: David Daney <ddaney@xxxxxxxxxxxxxxxxxx>
> Date: Wed, 27 May 2009 17:47:45 -0700
> To: linux-mips@xxxxxxxxxxxxxx, ralf@xxxxxxxxxxxxxx
> Cc: wli@xxxxxxxxxxxxxx, David Daney <ddaney@xxxxxxxxxxxxxxxxxx>

Holomorphy.com is unreachable since like a year. Use wli@xxxxxxxxxxx

> Subject: [PATCH 4/5] Enable hugetlbfs for more systems.
>
> As part of adding hugetlbfs support for MIPS, I am adding a new
> kconfig variable 'SYS_SUPPORTS_HUGETLBFS'. Since some mips cpu
> varients don't yet support it, we can enable selection of HUGETLBFS on
> a system by system basis from the arch/mips/Kconfig.
>
> CC: William Irwin <wli@xxxxxxxxxxxxxx>
> Signed-off-by: David Daney <ddaney@xxxxxxxxxxxxxxxxxx>
> ---
> fs/Kconfig | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/Kconfig b/fs/Kconfig
> index 9f7270f..c36d63b 100644
> --- a/fs/Kconfig
> +++ b/fs/Kconfig
> @@ -124,7 +124,7 @@ config TMPFS_POSIX_ACL
> config HUGETLBFS
> bool "HugeTLB file system support"
> depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || \
> - (S390 && 64BIT) || BROKEN
> + (S390 && 64BIT) || SYS_SUPPORTS_HUGETLBFS || BROKEN

I'm ok with this patch but it's really crying for some follup patch to
convert all the other architectures to use SYS_SUPPORTS_HUGETLBFS.

Ralf
--
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/