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: <20110715185936.GA22168@khazad-dum.debian.net>
Date:	Fri, 15 Jul 2011 15:59:36 -0300
From:	Henrique de Moraes Holschuh <hmh@....eng.br>
To:	Richard Kennedy <richard@....demon.co.uk>
Cc:	Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...e.hu>,
	lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sched: reorder root_domain to remove 64 bit alignment
 padding

On Fri, 15 Jul 2011, Richard Kennedy wrote:
> On Fri, 2011-07-15 at 12:44 +0200, Peter Zijlstra wrote:
> > On Fri, 2011-07-15 at 11:41 +0100, Richard Kennedy wrote:
> > > Reorder root_domain to remove 8 bytes of alignment padding on 64 bit
> > > builds, this shrinks the size from 1736 to 1728 bytes, therefore using
> > > one fewer cachelines.
> > 
> > depends a bit on how insane struct cpupri is, but yeah, good compaction.
> > Thanks!
> 
> Thanks Peter,
> 
> argh -- I hadn't spotted that cpupri used NR_CPUS and was so variable in
> size. I guess there won't be much benefit then, as the distros seem to
> always set NR_CPUS to some insanely huge value ;)

There will be, for those who _do_ care about performance (and thus have sane
NR_CPUS for their boxes, among other things).  Please don't be discouraged
over this.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
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