lkml.org 
[lkml]   [2006]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] slab: remove SLAB_KERNEL
On Fri, Dec 08, 2006 at 01:59:43PM +0100, Jens Axboe wrote:

> > --- 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?

Oops. My bad. That chunk came from execshield.

Dave
-
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/

\
 
 \ /
  Last update: 2006-12-08 15:15    [W:0.029 / U:1.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site