Re: [patch] use cheaper elv_queue_empty when unplug a device

Nick Piggin
2005-04-08T10:26:29Z

Jens Axboe wrote:
> On Fri, Apr 08 2005, Nick Piggin wrote:
>

>>I guess this isn't a problem, as io contexts should be allocated
>>comparatively rarely. It would be possible to move it out of the
>>lock though if we really want to.
>
>
> Lets just keep it inside the lock, for the fast case it should just be
> an increment of the already existing io context.
>

Sounds good.

--
SUSE Labs, Novell Inc.