Re: [PATCH 6.11 397/695] nfsd: fix refcount leak when file is unhashed after being found

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

 



On Fri, Oct 04, 2024 at 10:01:46AM -0400, Youzhong Yang wrote:
> I applied 2/4, 3/4 and 4/4 on top of kernel 6.6.41 and tested it under
> our work load, unfortunately leaks occurred. Here is what I got:
> 
> crash>  p nfsd_file_allocations:a | awk '{print $NF}' | perl -e
> 'while(<>){ $sum += $_; } print $sum, "\n";'
> 114664232
> crash> p nfsd_file_releases:a | awk '{print $NF}' | perl -e
> 'while(<>){ $sum += $_; } print $sum, "\n";'
> 114664221
> 
> So yes, 1/4 is needed for fixing the issue.

What exactly is 1/4?  For where?

Sorry, top posting loses all context :(

greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux