lkml.org 
[lkml]   [2023]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [GIT PULL] MM updates for 6.4-rc1
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

\
 
 \ /
  Last update: 2023-04-28 18:04    [W:0.119 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site