From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Zolnierkiewicz Subject: Re: linux-next: Tree for June 10 Date: Thu, 11 Jun 2009 00:27:37 +0200 Message-ID: <200906110027.38348.bzolnier@gmail.com> References: <20090610194309.4f7a0e54.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ew0-f210.google.com ([209.85.219.210]:47049 "EHLO mail-ew0-f210.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754781AbZFJWWX (ORCPT ); Wed, 10 Jun 2009 18:22:23 -0400 In-Reply-To: <20090610194309.4f7a0e54.sfr@canb.auug.org.au> Content-Disposition: inline Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell , Jens Axboe , "Martin K. Petersen" Cc: linux-next@vger.kernel.org, LKML On Wednesday 10 June 2009 11:43:09 Stephen Rothwell wrote: > Hi all, > > Changes since 20090609: commit 9df1bb9b516daeece159ab7fb262d01a0359247c Author: Jens Axboe Date: Tue Jun 9 06:22:57 2009 +0200 Revert "block: Fix bounce limit setting in DM" This reverts commit a05c0205ba031c01bba33a21bf0a35920eb64833. DM doesn't need to access the bounce_pfn directly. Signed-off-by: Jens Axboe and the following warning is back: BUG: sleeping function called from invalid context at mm/page_alloc.c:1493 in_atomic(): 1, irqs_disabled(): 0, pid: 21882, name: cryptsetup INFO: lockdep is turned off. Pid: 21882, comm: cryptsetup Tainted: G M 2.6.30-rc8-next-20090610-08093-g6597e49-dirty #19 Call Trace: [] __might_sleep+0xfb/0x102 [] __alloc_pages_internal+0x62/0x388 [] ? lockdep_init_map+0x8a/0x3fb [] mempool_alloc_pages+0x1b/0x21 [] mempool_alloc_pages_isa+0xb/0x10 [] mempool_create_node+0x92/0xcc [] ? mempool_free_pages+0x0/0xa [] ? mempool_alloc_pages_isa+0x0/0x10 [] mempool_create+0xd/0x11 [] init_emergency_isa_pool+0x22/0x42 [] blk_queue_bounce_limit+0x2c/0x41 [] dm_table_set_restrictions+0x76/0x9b [] dm_swap_table+0x117/0x132 [] dev_suspend+0xf4/0x16f [] dm_ctl_ioctl+0x18e/0x1cc [] ? dev_suspend+0x0/0x16f [] ? dm_ctl_ioctl+0x0/0x1cc [] vfs_ioctl+0x22/0x69 [] do_vfs_ioctl+0x483/0x4bd [] ? mntput_no_expire+0x19/0xb4 [] ? __fput+0x185/0x18d [] ? fput+0x19/0x1b [] ? filp_close+0x51/0x5b [] sys_ioctl+0x2c/0x45 [] sysenter_do_call+0x12/0x36 [ The problem is in init_emergency_isa_pool() being called for DM. ] The fix was probably lost because the original commit missed information about the warning and also cc: to the reporter (me in this particular case).