mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Peter Williams <pwil3058@bigpond.net.au>
Cc: Nick Piggin <npiggin@suse.de>,
	"Siddha, Suresh B" <suresh.b.siddha@intel.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] sched: Reduce overhead in balance_tasks()
Date: Fri, 24 Aug 2007 08:04:03 +0200	[thread overview]
Message-ID: <20070824060403.GB24742@elte.hu> (raw)
In-Reply-To: <46C2842E.3010806@bigpond.net.au>


* Peter Williams <pwil3058@bigpond.net.au> wrote:

> At the moment, balance_tasks() provides low level functionality for 
> both
>  move_tasks() and move_one_task() (indirectly) via the load_balance() 
> function (in the sched_class interface) which also provides dual 
> functionality.  This dual functionality complicates the interfaces and 
> internal mechanisms and makes the run time overhead of operations that 
> are called with two run queue locks held.
> 
> This patch addresses this issue and reduces the overhead of these 
> operations.

hm, i like it, and added it to my queue (probably .24 material though), 
but note that it increases .text and .data overhead:

   text    data     bss     dec     hex filename
  41028   37794    2168   80990   13c5e sched.o.before
  41349   37826    2168   81343   13dbf sched.o.after

is that expected?

	Ingo

  reply	other threads:[~2007-08-24  6:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15  4:42 Peter Williams
2007-08-24  6:04 ` Ingo Molnar [this message]
2007-08-25  1:50   ` Peter Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070824060403.GB24742@elte.hu \
    --to=mingo@elte.hu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=npiggin@suse.de \
    --cc=pwil3058@bigpond.net.au \
    --cc=suresh.b.siddha@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®