Re: sleeping function warning from __put_anon_vma

From: Hugh Dickins
Date: Sat May 31 2014 - 17:18:19 EST


On Sat, 31 May 2014, Vlastimil Babka wrote:
> On 05/31/2014 10:33 PM, Hugh Dickins wrote:
> > On Thu, 29 May 2014, Dave Jones wrote:
> >
> >> BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:47
> >> in_atomic(): 0, irqs_disabled(): 0, pid: 5787, name: trinity-c27
> >> Preemption disabled at:[<ffffffff990acc7e>] vtime_account_system+0x1e/0x50
>
> Just wondering, since I'm not familiar with this kind of bug, is the line above
> bogus or what does it mean? I don't see how the stack trace or the fix patch is
> related to vtime_account_system?

I know no more about it than you do, never noticed such a message before,
and clearly not helpful here. I expect it's like those "last sysfs file"
messages, occasionally useful but mostly noise.

Hugh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/