From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx144.postini.com [74.125.245.144]) by kanga.kvack.org (Postfix) with SMTP id 446016B0034 for ; Wed, 31 Jul 2013 13:04:51 -0400 (EDT) Date: Wed, 31 Jul 2013 17:04:49 +0000 From: Christoph Lameter Subject: Re: mm/slab: ppc: ubi: kmalloc_slab WARNING / PPC + UBI driver In-Reply-To: <51F93C64.4090601@gmail.com> Message-ID: <0000014035b06a9d-e8b10680-e321-4d3b-95a8-0833fa3fb7c9-000000@email.amazonses.com> References: <51F8F827.6020108@gmail.com> <000001403567762a-60a27288-f0b2-4855-b88c-6a6f21ec537c-000000@email.amazonses.com> <51F93C64.4090601@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Wladislav Wiebe Cc: Pekka Enberg , linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, dedekind1@gmail.com, dwmw2@infradead.org, linux-mtd@lists.infradead.org, Mel Gorman On Wed, 31 Jul 2013, Wladislav Wiebe wrote: > Thanks for the point, do you plan to make kmalloc_large available for extern access in a separate mainline patch? > Since kmalloc_large is statically defined in slub_def.h and when including it to seq_file.c > we have a lot of conflicting types: You cannot separatly include slub_def.h. slab.h includes slub_def.h for you. What problem did you try to fix by doing so? There is a patch pending that moves kmalloc_large to slab.h. So maybe we have to wait a merge period in order to be able to use it with other allocators than slub. -- 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