Messages in this thread | | | Date | Thu, 15 May 2008 14:33:26 +0800 | From | "Bryan Wu" <> | Subject | Re: [PATCH 2/4] [NOMMU]: include the problematic mapping in the munmap warning |
| |
IMO, this is useful for nommu stuff. Is there any chance to merge this?
-Bryan
On Mon, May 12, 2008 at 6:32 PM, Bryan Wu <cooloney@kernel.org> wrote: > From: Mike Frysinger <vapier.adi@gmail.com> > > Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> > Signed-off-by: Bryan Wu <cooloney@kernel.org> > --- > mm/nommu.c | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/mm/nommu.c b/mm/nommu.c > index ef8c62c..c11e5cc 100644 > --- a/mm/nommu.c > +++ b/mm/nommu.c > @@ -1117,8 +1117,9 @@ int do_munmap(struct mm_struct *mm, unsigned long addr, size_t len) > goto found; > } > > - printk("munmap of non-mmaped memory by process %d (%s): %p\n", > - current->pid, current->comm, (void *) addr); > + printk(KERN_NOTICE "munmap of non-mmaped memory [%p-%p] by process %d (%s)\n", > + (void *)addr, (void *)addr+len, current->pid, current->comm); > + > return -EINVAL; > > found: > -- > 1.5.5 > >
| |