diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-05 00:43:51 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-05 00:43:51 +0000 |
commit | 459e4d6cf77940977a064edab60c7162731554fb (patch) | |
tree | 5deb7d2b82c280440761cceb4281738867d5631a /util-linux/mkswap.c | |
parent | fa07680091d20f9da1f8fa2c145dd92b5d62ae09 (diff) | |
download | busybox-459e4d6cf77940977a064edab60c7162731554fb.tar.gz |
replace /proc scanning code by more versatile one.
Use it where appropriate.
Stop scanning /etc/passwd *for every process*!!! (uid->username)
top: reduce memory usage - we won't save unneeded fields
from /proc info anymore. Downside: ~+250 bytes of code
Diffstat (limited to 'util-linux/mkswap.c')
0 files changed, 0 insertions, 0 deletions