Re: [RFA] Remove useless test in bitmap_find_bit.

2016-05-20 Thread Jeff Law
On 05/09/2016 03:29 AM, Bernd Schmidt wrote: On 05/06/2016 11:18 PM, Jeff Law wrote: OK for the trunk? Counts as obvious, doesn't it? It might, particularly in cases where the code is essentially unchanged in 20 years and thus we don't have nearly as much concern that the preconditions are

Re: [RFA] Remove useless test in bitmap_find_bit.

2016-05-09 Thread Bernd Schmidt
On 05/06/2016 11:18 PM, Jeff Law wrote: OK for the trunk? Counts as obvious, doesn't it? Bernd

[RFA] Remove useless test in bitmap_find_bit.

2016-05-06 Thread Jeff Law
I was looking at a performance regression with some threading changes I'm working on and spotted this trivial cleanup. in bitmap_find_bit: /* `element' is the nearest to the one we want. If it's not the one we want, the one we want doesn't exist. */ head->current = element; head->indx