[PATCH] Add some missing sparc kernel-feature.h entries.

Roland McGrath roland@hack.frob.com
Mon Mar 12 23:29:00 GMT 2012


> 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



More information about the Libc-alpha mailing list