linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
To: Caleb Sander Mateos <csander@purestorage.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	"Liam R . Howlett" <Liam.Howlett@oracle.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Masami Hiramatsu <mhiramat@kernel.org>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	Eric Mueller <emueller@purestorage.com>,
	linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org,
	linux-mm@kvack.org, Vlastimil Babka <vbabka@suse.cz>,
	Jann Horn <jannh@google.com>, Pedro Falcato <pfalcato@suse.de>
Subject: Re: [PATCH] mm: remove unused mmap tracepoints
Date: Wed, 28 May 2025 16:23:24 +0100	[thread overview]
Message-ID: <92d947de-110e-4c17-a822-f626bac9b540@lucifer.local> (raw)
In-Reply-To: <CADUfDZpPGQEY9u3p3MCU2S3qmDyKmE1JnSQ6G2jO4_J40rQeeQ@mail.gmail.com>

Sorry this wasn't picked up.

Andrew - one to pick up after merge window? :)

Caleb - I'd ping again after the merge window is over if it's not picked up
this week. This isn't a great time as people tend to be busy sending stuff
over to Linus.

On Wed, May 28, 2025 at 08:16:24AM -0700, Caleb Sander Mateos wrote:
> Hi MM folks,
> Would you mind picking up this patch to remove some old tracepoints?
> Liam has already given it a review.

I am actually curious about reintroducing these at some point, but no harm
removing them for now as they are as you say, unused. If I do work on
reintroducing them I can obviously... reintroduce them :)

>
> Thanks,
> Caleb
>
> On Fri, Apr 11, 2025 at 10:23 AM Liam R. Howlett
> <Liam.Howlett@oracle.com> wrote:
> >
> > * Caleb Sander Mateos <csander@purestorage.com> [250411 12:18]:
> > > The vma_mas_szero and vma_store tracepoints are unused since commit
> > > fbcc3104b843 ("mmap: convert __vma_adjust() to use vma iterator").
> > > Remove them so they are no longer listed as available tracepoints.
> > >
> >
> > Thanks for doing this.
> >
> > Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>

LGTM so:

Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>

> >
> > > Reported-by: Eric Mueller <emueller@purestorage.com>
> > > Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
> > > ---
> > >  include/trace/events/mmap.h | 52 -------------------------------------
> > >  1 file changed, 52 deletions(-)
> > >
> > > diff --git a/include/trace/events/mmap.h b/include/trace/events/mmap.h
> > > index f8d61485de16..ee2843a5daef 100644
> > > --- a/include/trace/events/mmap.h
> > > +++ b/include/trace/events/mmap.h
> > > @@ -41,62 +41,10 @@ TRACE_EVENT(vm_unmapped_area,
> > >               __entry->total_vm, __entry->flags, __entry->length,
> > >               __entry->low_limit, __entry->high_limit, __entry->align_mask,
> > >               __entry->align_offset)
> > >  );
> > >
> > > -TRACE_EVENT(vma_mas_szero,
> > > -     TP_PROTO(struct maple_tree *mt, unsigned long start,
> > > -              unsigned long end),
> > > -
> > > -     TP_ARGS(mt, start, end),
> > > -
> > > -     TP_STRUCT__entry(
> > > -                     __field(struct maple_tree *, mt)
> > > -                     __field(unsigned long, start)
> > > -                     __field(unsigned long, end)
> > > -     ),
> > > -
> > > -     TP_fast_assign(
> > > -                     __entry->mt             = mt;
> > > -                     __entry->start          = start;
> > > -                     __entry->end            = end;
> > > -     ),
> > > -
> > > -     TP_printk("mt_mod %p, (NULL), SNULL, %lu, %lu,",
> > > -               __entry->mt,
> > > -               (unsigned long) __entry->start,
> > > -               (unsigned long) __entry->end
> > > -     )
> > > -);
> > > -
> > > -TRACE_EVENT(vma_store,
> > > -     TP_PROTO(struct maple_tree *mt, struct vm_area_struct *vma),
> > > -
> > > -     TP_ARGS(mt, vma),
> > > -
> > > -     TP_STRUCT__entry(
> > > -                     __field(struct maple_tree *, mt)
> > > -                     __field(struct vm_area_struct *, vma)
> > > -                     __field(unsigned long, vm_start)
> > > -                     __field(unsigned long, vm_end)
> > > -     ),
> > > -
> > > -     TP_fast_assign(
> > > -                     __entry->mt             = mt;
> > > -                     __entry->vma            = vma;
> > > -                     __entry->vm_start       = vma->vm_start;
> > > -                     __entry->vm_end         = vma->vm_end - 1;
> > > -     ),
> > > -
> > > -     TP_printk("mt_mod %p, (%p), STORE, %lu, %lu,",
> > > -               __entry->mt, __entry->vma,
> > > -               (unsigned long) __entry->vm_start,
> > > -               (unsigned long) __entry->vm_end
> > > -     )
> > > -);
> > > -
> > > -
> > >  TRACE_EVENT(exit_mmap,
> > >       TP_PROTO(struct mm_struct *mm),
> > >
> > >       TP_ARGS(mm),
> > >
> > > --
> > > 2.45.2
> > >


  reply	other threads:[~2025-05-28 15:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250411161746.1043239-1-csander@purestorage.com>
2025-04-11 17:22 ` Liam R. Howlett
     [not found] ` <3ucksa6coiwco3wpmcjtfwezqjigzm2zwvdvkt2ryvefzojtqy@4lda47c236uz>
2025-05-28 15:16   ` Caleb Sander Mateos
2025-05-28 15:23     ` Lorenzo Stoakes [this message]
2025-05-28 15:25       ` Caleb Sander Mateos
2025-05-28 15:45     ` Steven Rostedt
2025-05-28 15:48       ` Lorenzo Stoakes
2025-05-28 16:24         ` Steven Rostedt
2025-05-29 18:43           ` Steven Rostedt
2025-05-29 20:17             ` Steven Rostedt

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=92d947de-110e-4c17-a822-f626bac9b540@lucifer.local \
    --to=lorenzo.stoakes@oracle.com \
    --cc=Liam.Howlett@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=csander@purestorage.com \
    --cc=emueller@purestorage.com \
    --cc=jannh@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mhiramat@kernel.org \
    --cc=pfalcato@suse.de \
    --cc=rostedt@goodmis.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox