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: <54807FC3.9050305@gmail.com>
Date:	Thu, 04 Dec 2014 10:37:39 -0500
From:	Pranith Kumar <bobby.prani@...il.com>
To:	paulmck@...ux.vnet.ibm.com
CC:	linux-kernel@...r.kernel.org, Josh Triplett <josh@...htriplett.org>
Subject: Re: [RFC PATCH v2] tinification: Introduce CONFIG_SRCU to make SRCU
 optional

On 12/04/2014 01:27 AM, Paul E. McKenney wrote:
> For the moment, I applied this to -rcu against v3.18-rc6 to get some 0day
> testing on it.
> 
> There are conflicts against the tip of my tree, but will worry about
> that later.  I don't have a ready answer on whether or not this needs
> to be split up -- in the worst case, we would add the SRCU Kconfig
> parameter, add all the selects, then once they all hit mainline add the
> Makefile change.
> 
> We will need stats on how much memory was saved, and a "size kernel/rcu/srcu.o"
> after a UP/tiny build should do it.  Could you please add this to the
> commit log?
> 

So if we do not select CONFIG_SRCU, srcu.o will not be compiled at all. So we should save about

   text	   data	    bss	    dec	    hex	filename
   2007	      0	      0	   2007	    7d7	kernel/rcu/srcu.o

as in size of arch/powerpc/boot/zImage changes from

   text	   data	    bss	    dec	    hex	filename
 831552	  64180	  23944	 919676	  e087c	arch/powerpc/boot/zImage : before
 829504	  64180	  23952	 917636	  e0084	arch/powerpc/boot/zImage : after

so about ~2000 bytes I guess. 

--
Pranith

--
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