Re: [PATCH] io_uring: kbuf: inline io_kbuf_recycle_ring()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/23/22 1:17 AM, Hao Xu wrote:
> From: Hao Xu <howeyxu@xxxxxxxxxxx>
> 
> Make io_kbuf_recycle_ring() inline since it is the fast path of
> provided buffer.

The legacy recycling path doesn't need to get inlined, it's
too fat for that. Let's just move io_kbuf_recycle_ring() and leave 
io_kbuf_recycle_legacy() out-of-line in kbuf.c as a function call.

-- 
Jens Axboe




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux