On Tue 01-04-25 17:34:16, Steven Rostedt wrote: > On Tue, 1 Apr 2025 17:32:49 -0400 > Steven Rostedt <[email protected]> wrote: > > > static void exit_mm(void) > > { > > struct mm_struct *mm = current->mm; > > > > exit_mm_release(current, mm); > > trace_exit_mm(mm); > > > > ?? > > That should have been: > > static void exit_mm(void) > { > struct mm_struct *mm = current->mm; > > trace_exit_mm(mm); > exit_mm_release(current, mm);
If the primary usecase is to get an overview of the mm before exiting then this is more appropriate. -- Michal Hocko SUSE Labs
