From: Jens Axboe <jens.axboe@oracle.com>
To: Dave Jones <davej@redhat.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
torvalds@osdl.org, akpm@osdl.org,
Christoph Lameter <clameter@sgi.com>
Subject: Re: [PATCH] slab: remove SLAB_KERNEL
Date: Fri, 8 Dec 2006 13:59:43 +0100 [thread overview]
Message-ID: <20061208125942.GQ23887@kernel.dk> (raw)
In-Reply-To: <20061208120207.GA13841@redhat.com>
On Fri, Dec 08 2006, Dave Jones wrote:
> 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 <clameter@sgi.com>
> > AuthorDate: Wed Dec 6 20:33:17 2006 -0800
> > Committer: Linus Torvalds <torvalds@woody.osdl.org>
> > 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 <clameter@sgi.com>
> > Signed-off-by: Andrew Morton <akpm@osdl.org>
> > Signed-off-by: Linus Torvalds <torvalds@osdl.org>
>
> Missed one.
>
> Signed-off-by: Dave Jones <davej@redhat.com>
>
>
> --- 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));
What kernel is that?
--
Jens Axboe
next prev parent reply other threads:[~2006-12-08 12:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200612071659.kB7Gxa89031154@hera.kernel.org>
2006-12-08 12:02 ` [PATCH] slab: remove SLAB_KERNEL Dave Jones
2006-12-08 12:59 ` Jens Axboe [this message]
2006-12-08 14:13 ` Dave Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061208125942.GQ23887@kernel.dk \
--to=jens.axboe@oracle.com \
--cc=akpm@osdl.org \
--cc=clameter@sgi.com \
--cc=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox