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] [day] [month] [year] [list]
Message-ID: <20071106192026.GE15369@alberich.amd.com>
Date:	Tue, 6 Nov 2007 20:20:54 +0100
From:	"Andreas Herrmann" <andreas.herrmann3@....com>
To:	"Yinghai Lu" <yhlu.kernel@...il.com>
cc:	linux-kernel@...r.kernel.org, mm-commits@...r.kernel.org,
	gcosta@...hat.com, mingo@...e.hu, tglx@...utronix.de,
	travis@....com
Subject: Re: + x86-show-cpuinfo-only-for-online-cpus.patch added to -mm
 tree

On Thu, Nov 01, 2007 at 03:31:23PM -0700, Yinghai Lu wrote:
> 
> wonder if could change
> 
> >       if (!cpu_online(c->cpu_index))
> >               return 0;
> 
> ==>
> 
> >       if (c->cpu_index >= NR_CPUS)
> >               return 0;
> 
> and add another entry for every cpu
> online : 1 when it is enabled
> or online : 0 when it is disabled by /sys/devices/system/cpuX/online.

No, I don't think that would be a good idea. It would change
the usual behaviour of that interface (to display only CPUs that
are "up and running".) 


Regards,

Andreas

-- 
Operating | AMD Saxony Limited Liability Company & Co. KG,
  System  | Wilschdorfer Landstr. 101, 01109 Dresden, Germany
 Research | Register Court Dresden: HRA 4896, General Partner authorized
  Center  | to represent: AMD Saxony LLC (Wilmington, Delaware, US)
  (OSRC)  | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy



-
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