mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chuck Lever III <chuck.lever@oracle.com>
To: Jan Schunk <scpcom@gmx.de>
Cc: Jeff Layton <jlayton@kernel.org>, Neil Brown <neilb@suse.de>,
	Olga Kornievskaia <kolga@netapp.com>,
	Dai Ngo <dai.ngo@oracle.com>, Tom Talpey <tom@talpey.com>,
	Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [External] : nfsd: memory leak when client does many file operations
Date: Mon, 25 Mar 2024 20:36:34 +0000	[thread overview]
Message-ID: <51CAACAB-B6CC-4139-A350-25CF067364D3@oracle.com> (raw)
In-Reply-To: <trinity-77720d9d-4d5b-48c6-8b1f-0b7205ea3c2b-1711398394712@msvc-mesg-gmx021>



> On Mar 25, 2024, at 4:26 PM, Jan Schunk <scpcom@gmx.de> wrote:
> 
> I am building my own kernels, but I never tried kmemleak, is this just a Kconfig option?

  Location:
    -> Kernel hacking
      -> Memory Debugging
(1)     -> Kernel memory leak detector (DEBUG_KMEMLEAK [=n])


> What do you mean with "bisect between v6.3 and v6.4"?

After you "git clone" the kernel source:

$ git bisect start v6.4 v6.3

Build the kernel and test. If the test fails:

$ cd <your kernel source tree>; git bisect bad

If the test succeeds:

$ cd <your kernel source tree>; git bisect good

Rebuild and try again until it lands on the first broken commit.


> Everything including v6.4 is OK, the problem starts at v6.5.

I misremembered. Use "$ git bisect start v6.5 v6.4" then.


> I also looked at some code already but there are huge changes to mm that happened in v6.5 and v6.6 so for me it is heavy to compare it with older versions to find one or more commits that may cause the issue.

Bisection is a mechanical test-based process. You don't need
to look at code until you've reached the first bad commit.

--
Chuck Lever



  reply	other threads:[~2024-03-25 20:36 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-24 19:57 Jan Schunk
2024-03-24 20:14 ` [External] : " Chuck Lever III
2024-03-24 20:48   ` Aw: " Jan Schunk
2024-03-24 21:10     ` Chuck Lever III
2024-03-24 21:39       ` Aw: " Jan Schunk
2024-03-24 22:13         ` Chuck Lever III
2024-03-24 22:54           ` Aw: " Jan Schunk
2024-03-25 19:55           ` Jan Schunk
2024-03-25 20:11             ` Chuck Lever III
2024-03-25 20:26               ` Aw: " Jan Schunk
2024-03-25 20:36                 ` Chuck Lever III [this message]
2024-03-26 16:50                   ` Jan Schunk
2024-03-28 22:03                   ` Jan Schunk
2024-03-29  0:25                     ` Chuck Lever III
2024-03-30 15:26                       ` Aw: " Jan Schunk
2024-03-30 16:26                         ` Chuck Lever
2024-04-01 14:08                           ` Chuck Lever III
2024-04-01 17:35                             ` Aw: " Jan Schunk
2024-04-01 17:51                               ` Chuck Lever III
2024-03-26 11:15               ` Benjamin Coddington
2024-03-26 17:04                 ` Aw: " Jan Schunk
2024-03-26 17:13                   ` Benjamin Coddington
2024-03-26 17:15                     ` Benjamin Coddington
2024-03-26 19:05                       ` Aw: " Jan Schunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51CAACAB-B6CC-4139-A350-25CF067364D3@oracle.com \
    --to=chuck.lever@oracle.com \
    --cc=dai.ngo@oracle.com \
    --cc=jlayton@kernel.org \
    --cc=kolga@netapp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=scpcom@gmx.de \
    --cc=tom@talpey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®