Thread (33 messages) 33 messages, 4 authors, 2021-10-13

Re: [PATCH 6/9] nvme: add support for batched completion of polled IO

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-10-13 16:14:45

On Wed, Oct 13, 2021 at 10:04:36AM -0600, Jens Axboe wrote:
On 10/13/21 9:50 AM, Christoph Hellwig wrote:
quoted
On Wed, Oct 13, 2021 at 09:42:23AM -0600, Jens Axboe wrote:
quoted
Something like this?
Something like that.  Although without making the new function inline
this will generate an indirect call.
It will, but I don't see how we can have it both ways...
Last time I played with these optimization gcc did inline function
pointers passed to __always_inline function into the calling
function.  That is you can keep the source level abstraction but get the
code generation as if it was open coded.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help