diff options
author | Yang Shi <yang.shi@linaro.org> | 2016-05-05 23:22:00 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-06 00:38:53 (GMT) |
commit | 145bdaa1501bf1c8a6cfa8ea5e347b9a46aad1b7 (patch) | |
tree | c05c70f30e9aa283e290eb8a29457067d536cc5b /mm/compaction.c | |
parent | c5e0666c5a3ccabdf16bb88451886cdf81849b66 (diff) | |
download | linux-145bdaa1501bf1c8a6cfa8ea5e347b9a46aad1b7.tar.xz |
mm: thp: correct split_huge_pages file permission
split_huge_pages doesn't support get method at all, so the read
permission sounds confusing, change the permission to write only.
And, add "\n" to the output of set method to make it more readable.
Signed-off-by: Yang Shi <yang.shi@linaro.org>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions