Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1696419
| From | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH -mm -v3 1/6] mm, swap: Add swap cache statistics sysfs interface |
| Date | 2017-07-25 22:50 +0200 |
| Message-ID | <u7eWh-7DI-85@gated-at.bofh.it> (permalink) |
| References | <u6XiF-4S8-3@gated-at.bofh.it> <u6XiG-4S8-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 25 Jul 2017 09:51:46 +0800 "Huang, Ying" <ying.huang@intel.com> wrote: > The swap cache stats could be gotten only via sysrq, which isn't > convenient in some situation. So the sysfs interface of swap cache > stats is added for that. The added sysfs directories/files are as > follow, > > /sys/kernel/mm/swap > /sys/kernel/mm/swap/cache_find_total > /sys/kernel/mm/swap/cache_find_success > /sys/kernel/mm/swap/cache_add > /sys/kernel/mm/swap/cache_del > /sys/kernel/mm/swap/cache_pages We should document this somewhere. Documentation/ABI/ is the formal place for sysfs files, but nobody will think to look there for VM things, so perhaps place a pointer to the Documentation/ABI/ files within Documentation/vm somewhere, only there isn't an appropriate Documentation/vm file ;) Or just put all these things in debugfs. These are pretty specialized things and appear to be developer-only files of short-term interest?
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH -mm -v3 1/6] mm, swap: Add swap cache statistics sysfs interface "Huang, Ying" <ying.huang@intel.com> - 2017-07-25 04:00 +0200
Re: [PATCH -mm -v3 1/6] mm, swap: Add swap cache statistics sysfs interface Andrew Morton <akpm@linux-foundation.org> - 2017-07-25 22:50 +0200
Re: [PATCH -mm -v3 1/6] mm, swap: Add swap cache statistics sysfs interface "Huang\, Ying" <ying.huang@intel.com> - 2017-07-26 03:30 +0200
Re: [PATCH -mm -v3 1/6] mm, swap: Add swap cache statistics sysfs interface Rik van Riel <riel@redhat.com> - 2017-07-25 23:10 +0200
Re: [PATCH -mm -v3 1/6] mm, swap: Add swap cache statistics sysfs interface "Huang\, Ying" <ying.huang@intel.com> - 2017-07-26 03:40 +0200
csiph-web