summaryrefslogtreecommitdiffstats
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorMatthew Wilcox2017-07-11 00:48:56 +0200
committerLinus Torvalds2017-07-11 01:32:32 +0200
commitc6247f72d46457408d98969c4dfb78adc95053e4 (patch)
tree0414527caf9fe6dd52acd72c1417bacbad1544c2 /mm/truncate.c
parentmm, memcg: fix potential undefined behavior in mem_cgroup_event_ratelimit() (diff)
downloadkernel-qcow2-linux-c6247f72d46457408d98969c4dfb78adc95053e4.tar.gz
kernel-qcow2-linux-c6247f72d46457408d98969c4dfb78adc95053e4.tar.xz
kernel-qcow2-linux-c6247f72d46457408d98969c4dfb78adc95053e4.zip
mm/hugetlb.c: replace memfmt with string_get_size
The hugetlb code has its own function to report human-readable sizes. Convert it to use the shared string_get_size() function. This will lead to a minor difference in user visible output (MiB/GiB instead of MB/GB), but some would argue that's desirable anyway. Link: http://lkml.kernel.org/r/20170606190350.GA20010@bombadil.infradead.org Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com> Cc: Liam R. Howlett <Liam.Howlett@Oracle.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Cc: Gerald Schaefer <gerald.schaefer@de.ibm.com> Cc: zhong jiang <zhongjiang@huawei.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions