Re: [PATCH 10/11] VFS: Cache request_queue in struct block_device

From: Andi Kleen
Date: Fri Aug 19 2011 - 12:23:17 EST


> Primarily because of code complexity. We are stashing away a pointer and
> not taking any reference anywhere. So I am not even sure who is making
> sure that request queue is not gone and there are no comments in the code
> about why we are stashing a pointer and how are we making sure that
> request queue is around for the lifetime of bdev.

Can you point out a concrete problem in my approach? This seems
rather vague.

If you have an alternative way to get the 0.3% I would be also
interested.

-Andi
--
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/