Message ID | 20250411173328.8172-1-Liam.Howlett@oracle.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | MAINTAINERS: Add mmap trace events to MEMORY MAPPING | expand |
On Fri, 11 Apr 2025 13:33:28 -0400 "Liam R. Howlett" <Liam.Howlett@oracle.com> wrote: > MEMORY MAPPING does not list the mmap.h trace point file, but does list > the mmap.c file. Couple the trace points with the users and authors of > the trace points for notifications of updates. > > Cc:Andrew Morton <akpm@linux-foundation.org> > Cc:Lorenzo Stoakes <lorenzo.stoakes@oracle.com> > Cc:Vlastimil Babka <vbabka@suse.cz> > Cc:Jann Horn <jannh@google.com> > Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Aced-by: SeongJae Park <sj@kernel.org> > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 4c7fdc41a6bfb..d8e9a10adc81d 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -15571,6 +15571,7 @@ L: linux-mm@kvack.org > S: Maintained > W: http://www.linux-mm.org > T: git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm > +F: include/trace/events/mmap.h Should mmap_lock.h also be added here? > F: mm/mlock.c > F: mm/mmap.c > F: mm/mprotect.c > -- > 2.43.0 Thanks, SJ
On Fri, 11 Apr 2025 13:33:28 -0400 "Liam R. Howlett" <Liam.Howlett@oracle.com> wrote: > MEMORY MAPPING does not list the mmap.h trace point file, but does list > the mmap.c file. Couple the trace points with the users and authors of > the trace points for notifications of updates. > > Cc:Andrew Morton <akpm@linux-foundation.org> > Cc:Lorenzo Stoakes <lorenzo.stoakes@oracle.com> > Cc:Vlastimil Babka <vbabka@suse.cz> > Cc:Jann Horn <jannh@google.com> > Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 4c7fdc41a6bfb..d8e9a10adc81d 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -15571,6 +15571,7 @@ L: linux-mm@kvack.org > S: Maintained > W: http://www.linux-mm.org > T: git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm > +F: include/trace/events/mmap.h Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org> -- Steve > F: mm/mlock.c > F: mm/mmap.c > F: mm/mprotect.c
* SeongJae Park <sj@kernel.org> [250411 13:47]: > On Fri, 11 Apr 2025 13:33:28 -0400 "Liam R. Howlett" <Liam.Howlett@oracle.com> wrote: > > > MEMORY MAPPING does not list the mmap.h trace point file, but does list > > the mmap.c file. Couple the trace points with the users and authors of > > the trace points for notifications of updates. > > > > Cc:Andrew Morton <akpm@linux-foundation.org> > > Cc:Lorenzo Stoakes <lorenzo.stoakes@oracle.com> > > Cc:Vlastimil Babka <vbabka@suse.cz> > > Cc:Jann Horn <jannh@google.com> > > Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> > > Aced-by: SeongJae Park <sj@kernel.org> > > > --- > > MAINTAINERS | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/MAINTAINERS b/MAINTAINERS > > index 4c7fdc41a6bfb..d8e9a10adc81d 100644 > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -15571,6 +15571,7 @@ L: linux-mm@kvack.org > > S: Maintained > > W: http://www.linux-mm.org > > T: git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm > > +F: include/trace/events/mmap.h > > Should mmap_lock.h also be added here? Oh, well.. mmap_lock.h (include/trace/events/mmap_lock.h) has to do with mm/mmap_lock.c, which also isn't listed here. Both exist for tracing as well. There is also include/linux/mmap_lock.h, which is the locking itself. The mmap lock is used more broadly than just these files: mm/pagewalk.c and mm/ksm.c, for instance. So I guess that's a more difficult decision. Thanks for bringing this up, Liam
On Sat, 12 Apr 2025 09:17:21 -0400 "Liam R. Howlett" <Liam.Howlett@oracle.com> wrote: > * SeongJae Park <sj@kernel.org> [250411 13:47]: [...] > > > @@ -15571,6 +15571,7 @@ L: linux-mm@kvack.org > > > S: Maintained > > > W: http://www.linux-mm.org > > > T: git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm > > > +F: include/trace/events/mmap.h > > > > Should mmap_lock.h also be added here? > > Oh, well.. > > mmap_lock.h (include/trace/events/mmap_lock.h) has to do with > mm/mmap_lock.c, which also isn't listed here. Both exist for tracing as > well. > > There is also include/linux/mmap_lock.h, which is the locking itself. > The mmap lock is used more broadly than just these files: mm/pagewalk.c > and mm/ksm.c, for instance. > > So I guess that's a more difficult decision. Makes perfect sense. Thank you for kindly clarifying this. Thanks, SJ [...]
On 4/11/25 19:33, Liam R. Howlett wrote: > MEMORY MAPPING does not list the mmap.h trace point file, but does list > the mmap.c file. Couple the trace points with the users and authors of > the trace points for notifications of updates. > > Cc:Andrew Morton <akpm@linux-foundation.org> > Cc:Lorenzo Stoakes <lorenzo.stoakes@oracle.com> > Cc:Vlastimil Babka <vbabka@suse.cz> > Cc:Jann Horn <jannh@google.com> > Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 4c7fdc41a6bfb..d8e9a10adc81d 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -15571,6 +15571,7 @@ L: linux-mm@kvack.org > S: Maintained > W: http://www.linux-mm.org > T: git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm > +F: include/trace/events/mmap.h > F: mm/mlock.c > F: mm/mmap.c > F: mm/mprotect.c
diff --git a/MAINTAINERS b/MAINTAINERS index 4c7fdc41a6bfb..d8e9a10adc81d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15571,6 +15571,7 @@ L: linux-mm@kvack.org S: Maintained W: http://www.linux-mm.org T: git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm +F: include/trace/events/mmap.h F: mm/mlock.c F: mm/mmap.c F: mm/mprotect.c
MEMORY MAPPING does not list the mmap.h trace point file, but does list the mmap.c file. Couple the trace points with the users and authors of the trace points for notifications of updates. Cc:Andrew Morton <akpm@linux-foundation.org> Cc:Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc:Vlastimil Babka <vbabka@suse.cz> Cc:Jann Horn <jannh@google.com> Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)