Re: [RFC 2/3] SLUB: Implement targeted reclaim and partial listdefragmentation

From: Randy Dunlap
Date: Fri May 04 2007 - 21:02:29 EST


On Fri, 4 May 2007 16:03:43 -0700 (PDT) Christoph Lameter wrote:

> Fixes suggested by Andrew
>
> ---
> include/linux/slab.h | 12 ++++++++++++
> mm/slub.c | 32 +++++++++++++++++++++-----------
> 2 files changed, 33 insertions(+), 11 deletions(-)
>
> /* Perform the KICK callbacks to remove the objects */
> for(p = addr; p < addr + s->objects * s->size; p += s->size)

missed a space after "for".

> - if (!test_bit((p - addr) / s->size, map))
> + if (test_bit((p - addr) / s->size, map))
> s->slab_ops->kick_object(p);

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/