Re: [PATCH] 2.5.68 FUTEX support should be optional

Andrew Morton (akpm@digeo.com)
Wed, 14 May 2003 18:39:25 -0700


Linus Torvalds <torvalds@transmeta.com> wrote:
>
> Yes. We can make tit a CONFIG option, and then force it to always be "y"
> in the .config file. And then the people who really know and really care
> can turn the "y" to a "n".

I did it the below way. Or are you suggesting that a manual edit of
.config should be required? It may not get tested at all that way?

--- 25/init/Kconfig~CONFIG_FUTEX Wed May 14 12:43:16 2003
+++ 25-akpm/init/Kconfig Wed May 14 13:06:15 2003
@@ -108,8 +108,17 @@ config LOG_BUF_SHIFT
13 => 8 KB
12 => 4 KB

+menu "Size reduced kernel"
+
+config FUTEX
+ bool "Futex support"
+ default y
+ ---help---
+ Say Y if you want support for Fast Userspace Mutexes (Futexes).
+ WARNING: disabling futex support will probably cause glibc to fail.
endmenu

+endmenu

menu "Loadable module support"

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