Re: [PATCH V3 4/8] block: don't check bio in blk_throtl_dispatch_work_fn
From: Christoph Hellwig <hch@infradead.org>
Date: 2022-02-15 08:12:11
From: Christoph Hellwig <hch@infradead.org>
Date: 2022-02-15 08:12:11
On Tue, Feb 15, 2022 at 04:09:46PM +0800, Ming Lei wrote:
The wrapper is for avoiding to add extra function call code in fast path since submit_bio_noacct_nocheck is global and can't be inlined.
It absolutle can be inlined if the compiler deems it worthwhile. But givn that it is a trivial and cheap tail call is not worth it, so no sensible compiler will do it and we should not force it into that suboptimal decision.