lkml.org 
[lkml]   [2009]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kmemeleak BUG: lock held when returning to user space!
On (07/09/09 11:47), Catalin Marinas wrote:
> Date: Thu, 09 Jul 2009 11:47:23 +0100
> From: Catalin Marinas <catalin.marinas@arm.com>
> To: Sergey Senozhatsky <sergey.senozhatsky@mail.by>
> Cc: Pekka Enberg <penberg@cs.helsinki.fi>,
> "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
> linux-kernel@vger.kernel.org, linux-mm@kvack.org
> Subject: Re: kmemeleak BUG: lock held when returning to user space!
> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
>
> Sergey Senozhatsky <sergey.senozhatsky@mail.by> wrote:
> > kernel: [ 149.507103] ================================================
> > kernel: [ 149.507113] [ BUG: lock held when returning to user space! ]
> > kernel: [ 149.507119] ------------------------------------------------
> > kernel: [ 149.507127] cat/3279 is leaving the kernel with locks still held!
> > kernel: [ 149.507135] 1 lock held by cat/3279:
> > kernel: [ 149.507141] #0: (scan_mutex){+.+.+.}, at: [<c110707c>] kmemleak_open+0x4c/0x80
> >
> > problem is here:
> > static int kmemleak_open(struct inode *inode, struct file *file)
>
> It's been fixed in my kmemleak branch which I'll push to Linus:
>
Ok. Nice to hear.

> http://www.linux-arm.org/git?p=linux-2.6.git;a=shortlog;h=kmemleak
>
> --
> Catalin
>

Sergey[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2009-07-09 12:57    [W:0.032 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site