Re: [patch]block: fix ioc locking warning

From: Linus Torvalds
Date: Tue Feb 07 2012 - 17:35:39 EST


On Mon, Feb 6, 2012 at 9:22 PM, Shaohua Li <shaohua.li@xxxxxxxxx> wrote:
> On Mon, 2012-02-06 at 16:59 -0800, Tejun Heo wrote:
>> * Test with the this_q != locked_q trylock patch.
> this one slightly reduces the regression. without it, the regression is
> about 17%, with it, the regression is about 12%. Test result is stable.

What happens when you remove the fast-case entirely?

See the other patch by Tejun with the subject "[PATCH] block: strip
out locking optimization in put_io_context()"

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/