User: Password:
Subscribe / Log in / New account

inter-value consistency

inter-value consistency

Posted Mar 22, 2010 22:39 UTC (Mon) by neilbrown (subscriber, #359)
In reply to: inter-value consistency by adamgundy
Parent article: A critical look at sysfs attribute values

You may well be right. That is unfortunate as it is hard to solve problems when they are invisible.

As for your examples, I think both of those files (interrupts and slabinfo) pre-date /sys so they cannot have been put in /proc to avoid /sys rules.
Also I cannot see any atomic-consistency issues that might arise when accessing any of this information. In fact the contents of /proc/slabinfo appear to also exist in /sys/kernel/slab/*/* which does seem to suggest independent access to the values is OK.

If there are genuine cases where consistency is needed it would be really helpful to have them documented so we can work towards making sysfs receptive to such need.

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds