lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120523150359.GB26974@gmail.com>
Date:	Wed, 23 May 2012 17:03:59 +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


* Chen <hi3766691@...il.com> wrote:

> Still you are just trying to said that your code is not bloated?
> Up to over 500K for a cpu scheduler. Laughing

Where did you get that 500K from? You are off from the truth 
almost by an order of magnitude.

Here's the scheduler size on Linus's latest tree, on 64-bit 
defconfig's:

 $ size kernel/sched/built-in.o 
   text	   data	    bss	    dec	    hex	filename
  83611	  10404	   2524	  96539	  1791b	kernel/sched/built-in.o

That's SMP+NUMA, i.e. everything included.

The !NUMA !SMP UP scheduler, if you are on a size starved 
ultra-embedded device, is even smaller, just 22K:

 $ size kernel/sched/built-in.o 
   text	   data	    bss	    dec	    hex	filename
  19882	   2218	    148	  22248	   56e8	kernel/sched/built-in.o

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

Powered by Openwall GNU/*/Linux Powered by OpenVZ