linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* symlinks in /proc/device-tree
@ 2005-05-30  5:07 Benjamin Herrenschmidt
  2005-05-30  6:17 ` Olaf Hering
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2005-05-30  5:07 UTC (permalink / raw)
  To: linuxppc64-dev, linuxppc-dev list

Hi !

Is anybody actually using one of these things in /proc/device-tree ?

 - for a node name@address, symlinks from name->node and @address->node
 - the fact that we remove the @address part if address is 0

I'm considering killing both of these things for 2.6.13. That will
reduce the memory footprint of the device-tree significantly (bloat in
inode cache) and it will be a more exact representation of the actual
tree. Besides, the symlinks are not really useful in practice.

Ben.
  

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: symlinks in /proc/device-tree
  2005-05-30  5:07 symlinks in /proc/device-tree Benjamin Herrenschmidt
@ 2005-05-30  6:17 ` Olaf Hering
  2005-05-30  6:22   ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 3+ messages in thread
From: Olaf Hering @ 2005-05-30  6:17 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc64-dev, linuxppc-dev list

 On Mon, May 30, Benjamin Herrenschmidt wrote:

> Hi !
> 
> Is anybody actually using one of these things in /proc/device-tree ?

Just make sure the devspec file in sysfs doesnt contain symlinks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: symlinks in /proc/device-tree
  2005-05-30  6:17 ` Olaf Hering
@ 2005-05-30  6:22   ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2005-05-30  6:22 UTC (permalink / raw)
  To: Olaf Hering; +Cc: linuxppc64-dev, linuxppc-dev list

On Mon, 2005-05-30 at 08:17 +0200, Olaf Hering wrote:
>  On Mon, May 30, Benjamin Herrenschmidt wrote:
> 
> > Hi !
> > 
> > Is anybody actually using one of these things in /proc/device-tree ?
> 
> Just make sure the devspec file in sysfs doesnt contain symlinks.

It doesn't.

Ben.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-30  6:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-30  5:07 symlinks in /proc/device-tree Benjamin Herrenschmidt
2005-05-30  6:17 ` Olaf Hering
2005-05-30  6:22   ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).