Messages in this thread | | | From | Pranith Kumar <> | Date | Fri, 6 Jun 2014 14:02:52 -0400 | Subject | Re: [RFC PATCH 1/1] cleanup: use bool as return type for rwsem_is_locked |
| |
On Fri, Jun 6, 2014 at 1:56 PM, Peter Zijlstra <peterz@infradead.org> wrote: >> Fixed and checked the assembly. It saves us 2 bytes of code, not much. I am not sure if that is worth it :( > > still 2 bytes, so sure. > > Which gcc did you use and what arch did you build? That might be useful > info for the changelog.
I am using gcc (Ubuntu/Linaro 4.7.3-2ubuntu1~12.04) 4.7.3. I tested this using ARCH=um with a Pentium processor to turn on CONFIG_RWSEM_GENERIC_SPINLOCK.
-- Pranith
| |