lkml.org 
[lkml]   [2011]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 5/5] slub: Only IPI CPUs that have per cpu obj to flush
From
Date
On Mon, 2011-09-26 at 09:54 +0300, Pekka Enberg wrote:
>
> AFAICT, flush_all() isn't all that performance sensitive. Why do we
> want to reduce IPIs here?

Because it can wake up otherwise idle CPUs, wasting power. Or for the
case I care more about, unnecessarily perturb a CPU that didn't actually
have anything to flush but was running something, introducing jitter.

on_each_cpu() things are bad when you have a ton of CPUs (which is
pretty normal these days).


\
 
 \ /
  Last update: 2011-09-26 09:39    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog