On Fri, Mar 27, 2020 at 5:16 AM Jason Gunthorpe <jgg@xxxxxxxx> wrote: > > On Thu, Mar 26, 2020 at 07:10:49PM -0700, Michel Lespinasse wrote: > > > +static inline bool mmap_is_locked(struct mm_struct *mm) > > +{ > > + return rwsem_is_locked(&mm->mmap_sem) != 0; > > +} > > I didn't notice any callers to this in the series? Can it be deleted? Good catch. Yes, it should be deleted. There were 5 uses in v1 of this patchset and I got rid of these in v2 of the patchset, but forgot to actually remove the function definition here. -- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies.