From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751160AbcGNLTQ (ORCPT ); Thu, 14 Jul 2016 07:19:16 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:39723 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750862AbcGNLTM (ORCPT ); Thu, 14 Jul 2016 07:19:12 -0400 Subject: Re: Page Allocation Failures/OOM with dm-crypt on software RAID10 (Intel Rapid Storage) To: Michal Hocko , Matthias Dahl References: <02580b0a303da26b669b4a9892624b13@mail.ud19.udmedia.de> <20160712095013.GA14591@dhcp22.suse.cz> <20160712114920.GF14586@dhcp22.suse.cz> <20160712140715.GL14586@dhcp22.suse.cz> <459d501038de4d25db6d140ac5ea5f8d@mail.ud19.udmedia.de> <20160713112126.GH28723@dhcp22.suse.cz> <20160713121828.GI28723@dhcp22.suse.cz> <74b9325c37948cf2b460bd759cff23dd@mail.ud19.udmedia.de> <20160713134717.GL28723@dhcp22.suse.cz> Cc: linux-raid@vger.kernel.org, linux-mm@kvack.org, dm-devel@redhat.com, linux-kernel@vger.kernel.org, Mike Snitzer From: Tetsuo Handa Message-ID: <9074e82f-bf52-011e-8bd7-5731d2b0dcaa@I-love.SAKURA.ne.jp> Date: Thu, 14 Jul 2016 20:18:49 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160713134717.GL28723@dhcp22.suse.cz> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016/07/13 22:47, Michal Hocko wrote: > On Wed 13-07-16 15:18:11, Matthias Dahl wrote: >> I tried to figure this out myself but >> couldn't find anything -- what does the number "-3" state? It is the >> position in some chain or has it a different meaning? > > $ git grep "kmem_cache_create.*bio" > block/bio-integrity.c: bip_slab = kmem_cache_create("bio_integrity_payload", > > so there doesn't seem to be any cache like that in the vanilla kernel. > It is snprintf(bslab->name, sizeof(bslab->name), "bio-%d", entry); line in bio_find_or_create_slab() in block/bio.c. I think you can identify who is creating it by printing backtrace at that line.