Re: Plumbers: Tweaking scheduler policy micro-conf RFP
From: Ingo Molnar
Date: Wed May 30 2012 - 03:20:21 EST
(restored the Cc:s)
* Chen <hi3766691@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/