lkml.org 
[lkml]   [2008]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC/PATCH 3/3] SLOB: make ksize() more strict for page allocator pass-through
On Thu, 22 May 2008, Pekka Enberg wrote:

> Christoph Lameter wrote:
> > I also would prefer to keep this out of SLUB. Set/Clear PageSlab dirties the
> > cacheline and it forces the unlining of kmalloc_large.
>
> Hmm, well, that leaves ksize() open for more abuse. I guess we'll just have to
> live with that then.

SLUB could add a BUG_ON(!PageCompound ) since we added buffering for order
0 allocs. So only order 1 and higher go through kmalloc large. That should
catch the general case.




\
 
 \ /
  Last update: 2008-05-21 23:19    [W:0.075 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site