From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755771Ab1KONww (ORCPT ); Tue, 15 Nov 2011 08:52:52 -0500 Received: from haggis.mythic-beasts.com ([93.93.131.52]:52563 "EHLO haggis.mythic-beasts.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755668Ab1KONwu (ORCPT ); Tue, 15 Nov 2011 08:52:50 -0500 Date: Tue, 15 Nov 2011 13:52:38 +0000 From: Luis Henriques To: Yong Zhang Cc: Thomas Gleixner , LKML , linux-rt-users Subject: Re: [ANNOUNCE] 3.2-rc1-rt2 Message-ID: <20111115135238.GA2434@hades> References: <20111115084059.GA23250@zhy> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111115084059.GA23250@zhy> X-BlackCat-Spam-Score: -10 X-Mythic-Debug: Threshold = On = Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 15, 2011 at 04:40:59PM +0800, Yong Zhang wrote: > Got below warning: > > [ 8.459702] BUG: sleeping function called from invalid context at linux/kernel/rtmutex.c:645 > [ 8.459705] in_atomic(): 1, irqs_disabled(): 0, pid: 1, name: swapper/0 > [ 8.459707] 1 lock held by swapper/0/1: > [ 8.459708] #0: (&sig->cred_guard_mutex){+.+.+.}, at: [] prepare_bprm_creds+0x35/0x80 > [ 8.459717] Pid: 1, comm: swapper/0 Not tainted 3.2.0-rc1-rt2-11311-g3c4c0e7-dirty #10 > [ 8.459718] Call Trace: I'm hitting the same issue. Here's the trace: [ 0.915638] BUG: sleeping function called from invalid context at /home/luis.henriques/git-trees/linux-2.6/kernel/rtmutex.c:645 [ 0.915641] in_atomic(): 1, irqs_disabled(): 0, pid: 33, name: busybox [ 0.915642] 1 lock held by busybox/33: [ 0.915643] #0: (&mm->page_table_lock){+.+...}, at: [] unmap_vmas+0x333/0x6d0 [ 0.915664] Pid: 33, comm: busybox Not tainted 3.2.0-rc1-rt2+ #1 [ 0.915665] Call Trace: [ 0.915674] [] __might_sleep+0x12a/0x1e0 [ 0.915687] [] rt_spin_lock+0x24/0x60 [ 0.915692] [] memcg_check_events.clone.33+0x14d/0x250 [ 0.915696] [] __mem_cgroup_uncharge_common+0xef/0x270 [ 0.915698] [] mem_cgroup_uncharge_page+0x2f/0x40 [ 0.915701] [] page_remove_rmap+0x70/0x90 [ 0.915703] [] unmap_vmas+0x42f/0x6d0 [ 0.915705] [] exit_mmap+0xa9/0x120 [ 0.915710] [] mmput+0x50/0x100 [ 0.915713] [] exit_mm+0x11b/0x140 [ 0.915718] [] ? acct_collect+0x17d/0x1c0 [ 0.915720] [] do_exit+0x678/0x930 [ 0.915722] [] ? retint_swapgs+0xe/0x13 [ 0.915724] [] do_group_exit+0x61/0xe0 [ 0.915726] [] sys_exit_group+0x17/0x20 [ 0.915728] [] system_call_fastpath+0x16/0x1b Cheers, -- Luis Henriques