From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ea0-x229.google.com ([2a00:1450:4013:c01::229]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6bWQ-0003c5-Cc for linux-mtd@lists.infradead.org; Tue, 06 Aug 2013 07:17:35 +0000 Received: by mail-ea0-f169.google.com with SMTP id z7so19501eaf.0 for ; Tue, 06 Aug 2013 00:17:12 -0700 (PDT) Message-ID: <5200A29C.9060702@gmail.com> Date: Tue, 06 Aug 2013 09:15:40 +0200 From: Wladislav Wiebe MIME-Version: 1.0 To: Christoph Lameter Subject: Re: mm/slab: ppc: ubi: kmalloc_slab WARNING / PPC + UBI driver References: <51F8F827.6020108@gmail.com> <000001403567762a-60a27288-f0b2-4855-b88c-6a6f21ec537c-000000@email.amazonses.com> <51F93C64.4090601@gmail.com> <0000014035b06a9d-e8b10680-e321-4d3b-95a8-0833fa3fb7c9-000000@email.amazonses.com> In-Reply-To: <0000014035b06a9d-e8b10680-e321-4d3b-95a8-0833fa3fb7c9-000000@email.amazonses.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: dedekind1@gmail.com, Mel Gorman , dwmw2@infradead.org, Pekka Enberg , linux-mm@kvack.org, linux-mtd@lists.infradead.org, linuxppc-dev@lists.ozlabs.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, On 31/07/13 19:04, Christoph Lameter wrote: > 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. > > ok, just saw in slab/for-linus branch that those stuff is reverted again.. commit 4932163637fbb9aaa654ca0703c5a624b7809da2 Author: Pekka Enberg Date: Wed Jul 10 10:16:01 2013 +0300 Revert "mm/sl[aou]b: Move kmalloc_node functions to common code" .. commit 35be03cafb8f5ddcc1236e90144b6ec76296b789 Author: Pekka Enberg Date: Wed Jul 10 09:56:49 2013 +0300 Revert "mm/sl[aou]b: Move kmalloc definitions to slab.h" -- WBR, WLadislav Wiebe