Re: [PATCH] io_uring: NULL check before kfree() is not needed

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

 



On 8/14/20 8:25 PM, Wu Bo wrote:
> NULL check before kfree() is not needed

While it's not needed, it's also slower. Particularly on AMD it seems.
It's on my list to ensure that kfree() is an inline that checks for
non-NULL before calling the real freeing function.

Should get around to that soon, as this is probably the third time
someone has sent this patch :-)

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