Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753945AbbGIB6b (ORCPT ); Wed, 8 Jul 2015 21:58:31 -0400 Received: from ipmail06.adl6.internode.on.net ([150.101.137.145]:2196 "EHLO ipmail06.adl6.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753109AbbGIB63 (ORCPT ); Wed, 8 Jul 2015 21:58:29 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CPCQDG1J1VPLCkLHlbgxKBNIZOohAGmh0EAgKBX00BAQEBAQEHAQEBAUE/hCQBAQQ6HCMQCAMYCRoLDwUlAwcaE4gtzVwBAQgCIBiGBYUuhC1ZB4QrBZQji32OD4pUgmOBUCwxgQSBRwEBAQ Date: Thu, 9 Jul 2015 11:58:25 +1000 From: Dave Chinner To: juncheng bai Cc: Gavin Guo , linux-kernel , xfs@oss.sgi.com Subject: Re: Possible memory allocation deadlock in kmem_alloc and hung task in xfs_log_commit_cil and xlog_cil_push Message-ID: <20150709015825.GG3902@dastard> References: <20150707233743.GZ7943@dastard> <559D2E52.2070900@unitedstack.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <559D2E52.2070900@unitedstack.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 711 Lines: 23 On Wed, Jul 08, 2015 at 10:06:10PM +0800, juncheng bai wrote: > Hi, All > > As far as I know, the patch b3f03bac8132207a20286d5602eda64500c19724 > solves one case which big directory size. > > I am not very familiar with xfs, but I think why can't we use vmalloc > when kmalloc fails? Because vmalloc space is greatly limited on 32 bit machines and hence we can't just use vmalloc blindly in these situations. Cheers, Dave. -- Dave Chinner david@fromorbit.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/