Re: [PATCH, v2] PCI: create function symlinks in /sys/bus/pci/slots/N/

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg KH
Date: Saturday, August 23, 2008 - 8:44 am

On Fri, Aug 22, 2008 at 01:53:58PM -0600, Alex Chiang wrote:

Almost nothing.

sysfs creates these things on the fly as they are accessed, and if
memory pressure on the machine happens, they are freed up properly and
then created again if a user asks to see them in the tree.

So don't worry about memory issues when adding new files or symlinks in
sysfs, it just isn't a problem (we handle 20000 disks easily on low
memory 31bit s390 systems.)

thanks,

greg k-h
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH, v2] PCI: create function symlinks in /sys/bus/ ..., Greg KH, (Sat Aug 23, 8:44 am)