All of lore.kernel.org
 help / color / mirror / Atom feed
From: Suren Baghdasaryan <surenb@google.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	mm-commits@vger.kernel.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org,
	Lorenzo Stoakes <lstoakes@gmail.com>,
	Vlastimil Babka <vbabka@suse.cz>
Subject: Re: [GIT PULL] MM updates for 6.4-rc1
Date: Fri, 28 Apr 2023 09:03:27 -0700	[thread overview]
Message-ID: <CAJuCfpHZSEjG2nti5iWbPQjWgXcHZ95hFS2FKwaPC-sZPdSznw@mail.gmail.com> (raw)
In-Reply-To: <CAHk-=wi5=LfeCMv5ZPAtzWhJyW=y1rVJFTRBfgcqzoUNk5NRDA@mail.gmail.com>

On Thu, Apr 27, 2023 at 8:03 PM Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> On Thu, Apr 27, 2023 at 3:33 PM Andrew Morton <akpm@linux-foundation.org> wrote:
> >
> > - Suren Baghdasaryan has improved mmap_lock scalability by switching to
> >   per-VMA locking.
>
> .. related to this, we have that new PER_VMA_LOCK_STATS config entry,
> which is 'default y' and has basically no help test.
>
> Please don't do that.
>
> I don't think any of the VM debugging stuff should likely be 'default
> y' in the first place, but if they are, they should most definitely
> have a good *explanation* for why they should be on for a normal user.

Understood.
I wanted these stats enabled by default to be able to identify
possible pathological cases and to also let users disable them if they
can't tolerate even a small overhead in the pagefault path. Should I
document this reasoning for the config option?

>
>                       Linus

  reply	other threads:[~2023-04-28 16:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-27 22:33 [GIT PULL] MM updates for 6.4-rc1 Andrew Morton
2023-04-28  3:03 ` Linus Torvalds
2023-04-28 16:03   ` Suren Baghdasaryan [this message]
2023-04-28 16:08     ` Linus Torvalds
2023-04-28 16:14       ` Suren Baghdasaryan
2023-04-28 16:17         ` Suren Baghdasaryan
2023-04-28 16:20           ` Linus Torvalds
2023-04-28 17:38             ` Suren Baghdasaryan
2023-04-28  3:09 ` pr-tracker-bot
2023-04-28  3:15 ` Linus Torvalds
2023-04-28  3:24   ` Linus Torvalds
2023-04-28  5:36   ` Christoph Hellwig
2023-05-04 10:39 ` Niklas Cassel
2023-05-05  2:10   ` Andrew Morton
2023-05-05 14:28     ` Keith Busch

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=CAJuCfpHZSEjG2nti5iWbPQjWgXcHZ95hFS2FKwaPC-sZPdSznw@mail.gmail.com \
    --to=surenb@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lstoakes@gmail.com \
    --cc=mm-commits@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=vbabka@suse.cz \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.