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]
Date:	Tue, 7 Apr 2009 01:08:59 -0700 (PDT)
From:	David Rientjes <rientjes@...gle.com>
To:	Andi Kleen <andi@...stfloor.org>
cc:	Brice Goglin <Brice.Goglin@...ia.fr>,
	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
	Yinghai Lu <yhlu.kernel@...il.com>,
	Chris Worley <worleys@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: Off topic: Numactl "distance" wrong

On Tue, 7 Apr 2009, Andi Kleen wrote:

> > It would also be possible to verify that the distance between two 
> > localities is described consistently in the table (like in the following 
> > patch).
> 
> Do you have an real-world example where this is wrong? 
> 

Um, this is a SLIT validation method, so the change is only necessary to 
ensure that the table is actually valid unless affinity is not symmetric 
in both directions between localities.

Do you have a real-world example of the firmware handing off a locality 
that less than LOCAL_DISTANCE?

If so, that would violate the specification since values 0-9 are reserved.  
But the validation method still checks and you're not arguing against it, 
right?  

slit_valid() is intended to prevent invalid tables from being used because 
they are incorrect and, thus, can't possibly be used the describe the 
physical topology.

> In general this thread seems to contain much more speculation than
> facts.
> 

The fact, which you seem to be ignoring, is node hotplug would require 
this table to change anyway.  It's quite possible using an _SLI method to 
dynamically reconfigure the localities, including those that were 
statically described by the BIOS at boot.  So while you may be satisfied 
with the ACPI 2.0 way of thinking, machines have actually changed in the 
last five years.
--
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