This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add some missing sparc kernel-feature.h entries.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 12 Mar 2012 16:29:17 -0700 (PDT)
- Subject: Re: [PATCH] Add some missing sparc kernel-feature.h entries.
- References: <20120312.155502.1690773889848867996.davem@davemloft.net>
> BTW, it's really weird that we have a test like
> __ASSUME_CLONE_THREAD_FLAGS yet the feature this CPP macro protects is
> used unconditionally in NPTL.
NPTL cannot be used at all without that kernel support.
__ASSUME_CLONE_THREAD_FLAGS is used by system.c, which is
just using CLONE_PARENT_SETTID and not being able to use that
just renders some obscure cancellation case buggy as opposed
to rendering system unusable.
I think it is indeed moot now with the new minimum kernel versions we are
going to switch to. But it did make sense at one time.
Thanks,
Roland