From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from spaceape9.eur.corp.google.com (spaceape9.eur.corp.google.com [172.28.16.143]) by smtp-out.google.com with ESMTP id kAN0Ygsb009890 for ; Thu, 23 Nov 2006 00:34:42 GMT Received: from nf-out-0910.google.com (nfby38.prod.google.com [10.48.101.38]) by spaceape9.eur.corp.google.com with ESMTP id kAN0YfOF002921 for ; Thu, 23 Nov 2006 00:34:42 GMT Received: by nf-out-0910.google.com with SMTP id y38so702749nfb for ; Wed, 22 Nov 2006 16:34:41 -0800 (PST) Message-ID: <6599ad830611221634w6a768c1ek816dda61a97b68c@mail.gmail.com> Date: Wed, 22 Nov 2006 16:34:40 -0800 From: "Paul Menage" Subject: Call to cpuset_zone_allowed() in slab.c:fallback_alloc() with irqs disabled MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-linux-mm@kvack.org Return-Path: To: Paul Jackson , Andrew Morton Cc: Linux Memory Management List-ID: I just saw this backtrace on 2.6.19-rc5: BUG: sleeping function called from invalid context at kernel/cpuset.c:1520 in_atomic():0, irqs_disabled():1 Call Trace: [] __cpuset_zone_allowed+0x4b/0xe0 [] fallback_alloc+0x9c/0xd7 [] kmem_cache_alloc+0x91/0x9b [] d_alloc+0x23/0x1c3 [] do_lookup+0x9d/0x1dc [] __link_path_walk+0x88d/0xd38 [] link_path_walk+0x5d/0xe8 [] compat_filldir64+0x0/0xba [] current_fs_time+0x3b/0x4b [] do_path_lookup+0x1b3/0x1d6 [] getname+0x159/0x1a2 [] __user_walk_fd+0x3b/0x59 [] vfs_lstat_fd+0x18/0x47 [] compat_filldir64+0x0/0xba [] current_fs_time+0x3b/0x4b [] touch_atime+0x67/0xb5 [] sys32_lstat64+0x11/0x29 [] ia32_sysret+0x0/0xa kmem_cache_alloc_node() disables irqs, then calls __cache_alloc_node() -> fallback_alloc() -> cpuset_zone_allowed(), with flags that appear to be GFP_KERNEL. Paul -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org