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: <20120601064815.GJ7511@linux.vnet.ibm.com>
Date:	Fri, 1 Jun 2012 12:18:15 +0530
From:	Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	linux-kernel@...r.kernel.org, mingo@...hat.com
Subject: Re: [PATCH] sched/x86: Calculate booted cores after construction of
 sibling_mask

* Peter Zijlstra <peterz@...radead.org> [2012-05-31 22:30:57]:

(snip)
> > 
> > sched/x86: Calculate booted cores after construction of sibling_mask
> 
> Why repeat this subject again?
> 
Will take care of it from next posting.

(snip)
> > diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
> > index fd019d7..a8d78f3 100644
> > --- a/arch/x86/kernel/smpboot.c
> > +++ b/arch/x86/kernel/smpboot.c
> > @@ -382,7 +382,12 @@ void __cpuinit set_cpu_sibling_map(int cpu)
> >  		if ((i == cpu) || (has_mc && match_llc(c, o)))
> >  			link_mask(llc_shared, cpu, i);
> > 
> > -		if ((i == cpu) || (has_mc && match_mc(c, o))) {
> > +	}
> > +
> > +	for_each_cpu(i, cpu_sibling_setup_mask) {
> > +		o = &cpu_data(i);
> > +
> > +	if ((i == cpu) || (has_mc && match_mc(c, o))) {
> >  			link_mask(core, cpu, i);
> > 
> >  			/*
> 
> This patch actually horribly mangles the indenting. I did the below to
> it:

Sorry about the indentation. Thanks for fixing it.


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