Thread (23 messages) 23 messages, 5 authors, 2018-11-14

Re: [PATCH 5/6] blk-rq-qos: inline check for q->rq_qos functions

From: Christoph Hellwig <hch@infradead.org>
Date: 2018-11-14 15:21:33

On Sat, Nov 10, 2018 at 08:13:16AM -0700, Jens Axboe wrote:
Put the short code in the fast path, where we don't have any
functions attached to the queue. This minimizes the impact on
the hot path in the core code.

Cleanup duplicated code by having a macro setup both the inline
check and the actual functions.
The inlining sounds fine, but please do it without the obsfucating
macros.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help