[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120530072019.GD2587@gmail.com>
Date: Wed, 30 May 2012 09:20:19 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Chen <hi3766691@...il.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Vincent Guittot <vincent.guittot@...aro.org>,
torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: Plumbers: Tweaking scheduler policy micro-conf RFP
(restored the Cc:s)
* Chen <hi3766691@...il.com> wrote:
> Oh, Just count the size of the scheduler code yourself,
> actually 400 - 500k. core.c + fair.c + rt.c + idle_task.c +
> everything
Only binary code is counted in bytes, source code is counted in
lines.
20 KLOC for a full-featured CPU scheduler that does everything
from simple UP scheduling to thousands of CPUs NUMA scheduling,
cgroups, real-time and more, is entirely reasonable.
As a comparison the VM is 80+ KLOCS, arch/x86/ is 260+ KLOCs,
networking is 720+ KLOCS and the FS subsystem is over 1 million
lines of code.
The scheduler is in fact one of the smaller subsystems.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists