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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1263347315.2854.1296.camel@sbs-t61.sc.intel.com>
Date:	Tue, 12 Jan 2010 17:48:35 -0800
From:	Suresh Siddha <suresh.b.siddha@...el.com>
To:	Yinghai Lu <yinghai@...nel.org>
Cc:	Linus Torvalds <torvalds@...ux-foundation.org>,
	"ananth@...ibm.com" <ananth@...ibm.com>,
	Ingo Molnar <mingo@...e.hu>,
	Thomas Gleixner <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...or.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -v2 5/5] x86: use dmi check to treat disabled cpus as
 hotplug cpus.

On Tue, 2010-01-12 at 16:05 -0800, Yinghai Lu wrote:
> On 01/12/2010 03:56 PM, Suresh Siddha wrote:
> > On Tue, 2010-01-12 at 15:17 -0800, Yinghai Lu wrote:
> >> some systems that have disable cpus entries because same
> >>   BIOS will support 2 sockets and 4 sockets and more at
> >>   same time, BIOS just leave some disable entries, but
> >>   those system do not support cpu hotplug. we don't need
> >>   treat disabled_cpus as hotplug cpus.
> >> so we can make nr_cpu_ids smaller and save more space
> >>   (pcpu data allocations), and could make some systems run
> >>   with logical flat instead of physical flat apic mode
> >>
> >> -v2: change to black list instead
> > 
> > I don't think this list will work because every HT system with HT
> > disabled in the bios shows that logical cpu as disabled.
> 
> so you want to treat those disabled cpus in the those system as hotplug cpus or not?

They are really not hot plug cpus, so they can also take advantage of
what you are trying to provide with this patch.

Also I am very confused with what exactly you are doing with the dmi
list..

+        printk(KERN_NOTICE "%s detected: treat disabled cpus as hotplug ones\n", d->ident);
+        treat_disabled_cpus_as_hotplug = 0;

???

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