Re: [patch 12/23] SLUB: Trigger defragmentation from memory reclaim

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Weiner
Date: Wednesday, November 7, 2007 - 2:28 am

Hi Christoph,

On Tue, Nov 06, 2007 at 05:11:42PM -0800, Christoph Lameter wrote:

The definition in slab.c always returns 0.  Wouldn't a static inline
function in the header be better?


      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

What about the objects that kmem_cache_defrag() releases?  Shouldn't
they be counted too?

     ret += kmem_cache_defrag(...)

Or am I overseeing something here?

	Hannes
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 12/23] SLUB: Trigger defragmentation from memor ..., Johannes Weiner, (Wed Nov 7, 2:28 am)
Re: [patch 12/23] SLUB: Trigger defragmentation from memor ..., Christoph Lameter, (Wed Nov 7, 11:34 am)
Re: [patch 12/23] SLUB: Trigger defragmentation from memor ..., Christoph Lameter, (Thu Nov 8, 12:00 pm)