Re: [PATCH] io_uring: fix memory leak when cache init fail

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

 



Guixin Liu <kanie@xxxxxxxxxxxxxxxxx> writes:

> We should exit the percpu ref when cache init fail to free the
> data memory with in struct percpu_ref.
>
> Fixes: 206aefde4f88 ("io_uring: reduce/pack size of io_ring_ctx")
> Signed-off-by: Guixin Liu <kanie@xxxxxxxxxxxxxxxxx>

Makes sense

Reviewed-by: Gabriel Krisman Bertazi <krisman@xxxxxxx>

-- 
Gabriel Krisman Bertazi




[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