Skip to content

Commit

Permalink
mm: fix cleancache debugfs directory path
Browse files Browse the repository at this point in the history
Minor fixes for cleancache about wrong debugfs paths
in documentation and code comment.

Signed-off-by: Marcin Jabrzyk <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
Marcin Jabrzyk authored and Jiri Kosina committed Jan 20, 2015
1 parent 74f2425 commit 8fc8f4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/vm/cleancache.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ lock the page to ensure serial behavior.
CLEANCACHE PERFORMANCE METRICS

If properly configured, monitoring of cleancache is done via debugfs in
the /sys/kernel/debug/mm/cleancache directory. The effectiveness of cleancache
the /sys/kernel/debug/cleancache directory. The effectiveness of cleancache
can be measured (across all filesystems) with:

succ_gets - number of gets that were successful
Expand Down
2 changes: 1 addition & 1 deletion mm/cleancache.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
static struct cleancache_ops *cleancache_ops __read_mostly;

/*
* Counters available via /sys/kernel/debug/frontswap (if debugfs is
* Counters available via /sys/kernel/debug/cleancache (if debugfs is
* properly configured. These are for information only so are not protected
* against increment races.
*/
Expand Down

0 comments on commit 8fc8f4d

Please sign in to comment.