From: Ingo Molnar <mingo@kernel.org>
To: Chen <hi3766691@gmail.com>
Cc: linux-kernel@vger.kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
Joe Perches <joe@perches.com>
Subject: Re: [GIT PULL] x86/urgent fixes for v3.5
Date: Wed, 30 May 2012 09:23:13 +0200 [thread overview]
Message-ID: <20120530072313.GE2587@gmail.com> (raw)
In-Reply-To: <CANQmPXhSH3sGz670r7EmvhgZLX-fqGgEuO1N+6LVymC_p1SHyA@mail.gmail.com>
* Chen <hi3766691@gmail.com> wrote:
> On Fri, May 25, 2012 at 1:07 AM, Ingo Molnar <mingo@kernel.org> wrote:
> >
> > Interesting posts, first the "500K scheduler" nonsense now
> > printk nonsense?
>
> printk nonsense? You actually read my words wrong(LAUGH!)
> [I m going to quota my post]
>
> * Chen <hi3766691@gmail.com> wrote:
> > Everyone knows that this patch had been unstable. Also, too
> > much code are pushed into printk() with the patch
>
> I mean that too much code are brought with the patch.
The 'Everyone knows that this patch had been unstable' bit is
the nonsense.
> 500K scheduler is true. 248K(Core.c[MODULAR]) +
> 148K(fair.c[CFS]) + 47K(rt.c[RT]) = 443K.(Does not include the
> other source files of scheduler.) It is really a *HUGE* CPU
> scheduler.[But it doesn't bring much advantages to desktop!!]
You are quite confused. Here's the reply I gave you in the other
thread:
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
next prev parent reply other threads:[~2012-05-30 7:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-23 11:34 [GIT PULL] x86/urgent fixes for v3.5 Ingo Molnar
2012-05-23 17:07 ` Linus Torvalds
2012-05-23 17:13 ` H. Peter Anvin
2012-05-23 17:48 ` Ingo Molnar
2012-05-23 17:57 ` Linus Torvalds
2012-05-24 5:27 ` Ingo Molnar
2012-05-24 15:31 ` H. Peter Anvin
2012-05-24 15:44 ` Linus Torvalds
2012-05-24 15:54 ` Chen
2012-05-24 17:07 ` Ingo Molnar
2012-05-25 2:40 ` Chen
2012-05-30 7:23 ` Ingo Molnar [this message]
2012-05-24 15:48 ` Chen
2012-05-24 17:19 ` Joe Perches
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=20120530072313.GE2587@gmail.com \
--to=mingo@kernel.org \
--cc=hi3766691@gmail.com \
--cc=hpa@zytor.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.