lkml.org 
[lkml]   [2001]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: LANANA: To Pending Device Number Registrants

> And my opinion is that the "hot-plugged" approach works for devices even
> if they are soldered down - the "plugging" event just always happens
> before the OS is booted, and people just don't unplug it.

I absolutely agree with you. This is the way I always think of devices.

> Now, if we just fundamentally try to think about any device as being
> hot-pluggable, you realize that things like "which PCI slot is this device
> in" are completely _worthless_ as device identification, because they
> fundamentally take the wrong approach, and they don't fit the generic
> approach at all.
>
> But this is also why I don't think static device numbers make any
> sense. It's silly to have the same disk show up as different devices just
> because it is connected to a different kind of controller. And it is
> _really_ silly to statically pre-allocate device numbers based on the
> "location" of a device.

I agree. It gets worse when we consider multiple bus and NUMA machines.
On a NUMA system you have to ask yourself how should a piece of hardware
look from the node it is on and from another node. Should they look the
same. Then their is the visiblity issue. Which node can see this piece of
hardware? Some devices span several nodes, some only one node. Then on
some NUMA systems you can setup "raid" like systems. If one peice of
hardware fails on a node then another piece of hardware on some other node
that was caching the hardware state of the hardware that just falied takes
over. Then we have the famous ISA devices in multiple PCI bus systems.
NUMA systems with nodes that multiple buses would just compound the
problem.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.146 / U:22.088 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site