Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1425447AbWLHMD4 (ORCPT ); Fri, 8 Dec 2006 07:03:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1425457AbWLHMCw (ORCPT ); Fri, 8 Dec 2006 07:02:52 -0500 Received: from mx1.redhat.com ([66.187.233.31]:39347 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1425447AbWLHMC1 (ORCPT ); Fri, 8 Dec 2006 07:02:27 -0500 Date: Fri, 8 Dec 2006 07:02:07 -0500 From: Dave Jones To: Linux Kernel Mailing List Cc: torvalds@osdl.org, akpm@osdl.org, Christoph Lameter Subject: Re: [PATCH] slab: remove SLAB_KERNEL Message-ID: <20061208120207.GA13841@redhat.com> Mail-Followup-To: Dave Jones , Linux Kernel Mailing List , torvalds@osdl.org, akpm@osdl.org, Christoph Lameter References: <200612071659.kB7Gxa89031154@hera.kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200612071659.kB7Gxa89031154@hera.kernel.org> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1524 Lines: 39 On Thu, Dec 07, 2006 at 04:59:36PM +0000, Linux Kernel wrote: > Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e94b1766097d53e6f3ccfb36c8baa562ffeda3fc > Commit: e94b1766097d53e6f3ccfb36c8baa562ffeda3fc > Parent: 54e6ecb23951b195d02433a741c7f7cb0b796c78 > Author: Christoph Lameter > AuthorDate: Wed Dec 6 20:33:17 2006 -0800 > Committer: Linus Torvalds > CommitDate: Thu Dec 7 08:39:24 2006 -0800 > > [PATCH] slab: remove SLAB_KERNEL > > SLAB_KERNEL is an alias of GFP_KERNEL. > > Signed-off-by: Christoph Lameter > Signed-off-by: Andrew Morton > Signed-off-by: Linus Torvalds Missed one. Signed-off-by: Dave Jones --- linux-2.6.19.noarch/mm/mmap.c~ 2006-12-08 06:51:55.000000000 -0500 +++ linux-2.6.19.noarch/mm/mmap.c 2006-12-08 06:52:05.000000000 -0500 @@ -2226,7 +2226,7 @@ int install_special_mapping(struct mm_st struct vm_area_struct *vma; int err; - vma = kmem_cache_alloc(vm_area_cachep, SLAB_KERNEL); + vma = kmem_cache_alloc(vm_area_cachep, GFP_KERNEL); if (unlikely(vma == NULL)) return -ENOMEM; memset(vma, 0, sizeof(*vma)); - 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/