[tip:x86/asm] x86/asm/bitops: Force inlining of test_and_set_bit and friends

2016-02-09 Thread tip-bot for Denys Vlasenko
inlining of test_and_set_bit and friends Sometimes GCC mysteriously doesn't inline very small functions we expect to be inlined, see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66122 Arguably, GCC should do better, but GCC people aren't willing to invest time into it and are ask

[PATCH] x86: force inlining of test_and_set_bit and friends

2016-02-07 Thread Denys Vlasenko
Sometimes gcc mysteriously doesn't inline very small functions we expect to be inlined. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66122 Arguably, gcc should do better, but gcc people aren't willing to invest time into it, asking to use __always_inline instead. With this .config: http://

Re: test_and_set_bit and friends ?

2007-10-24 Thread H. Peter Anvin
Mark Hounschell wrote: Mark Hounschell wrote: These calls apparently are gone. Can someone tell me why and what are the replacements. Thanks in advance Mark I got no response from the glibc people on this and the kernel-newbies list appears dead so I thought I'd try here since these calls are

Re: test_and_set_bit and friends ?

2007-10-24 Thread Robert Hancock
Mark Hounschell wrote: Mark Hounschell wrote: These calls apparently are gone. Can someone tell me why and what are the replacements. Thanks in advance Mark I got no response from the glibc people on this and the kernel-newbies list appears dead so I thought I'd try here since these calls ar

Re: test_and_set_bit and friends ?

2007-10-24 Thread Mark Hounschell
Mark Hounschell wrote: > These calls apparently are gone. Can someone tell me why and what are > the replacements. > > Thanks in advance > Mark > I got no response from the glibc people on this and the kernel-newbies list appears dead so I thought I'd try here since these calls are/were actually