diff options
author | Elliott Hughes <enh@google.com> | 2016-03-19 08:56:09 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-03-19 20:42:36 -0500 |
commit | 4de04e83d7ff621062b8b5456a14f2f313a2639c (patch) | |
tree | bc9b46bc4e54094e5fa75b0dbf315f7df919d811 /toys/other/readahead.c | |
parent | ada3c0876dc99b6b1ef457e06d271d3b933f9dd9 (diff) | |
download | toybox-4de04e83d7ff621062b8b5456a14f2f313a2639c.tar.gz |
Make lsof 10x faster by caching /proc/net socket info.
I deliberately didn't do this first time round because for me our lsof
is already 10x faster than traditional lsof, and caching means we potentially
give less information about a socket that's created while we're running.
It turns out that traditional lsof caches anyway, so I guess nobody cares.
This also fixes a mistake where lsof used CFG_FREE instead of CFG_TOYBOX_FREE.
Diffstat (limited to 'toys/other/readahead.c')
0 files changed, 0 insertions, 0 deletions