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]

 



Here is 1/4 in the context of Chuck's e-mail reply:

nfsd: add list_head nf_gc to struct nfsd_file
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8e6e2ffa6569a205f1805cbaeca143b556581da6

On Fri, Oct 4, 2024 at 10:10 AM Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> 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