summaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorKirill A. Shutemov2016-07-27 00:26:07 +0200
committerLinus Torvalds2016-07-27 01:19:19 +0200
commitfc127da085c26beb89f83ad804cf73422c3b6855 (patch)
tree34d98b005382b45a463f7f17a1ba3d35094a0935 /mm/huge_memory.c
parentfilemap: prepare find and delete operations for huge pages (diff)
downloadkernel-qcow2-linux-fc127da085c26beb89f83ad804cf73422c3b6855.tar.gz
kernel-qcow2-linux-fc127da085c26beb89f83ad804cf73422c3b6855.tar.xz
kernel-qcow2-linux-fc127da085c26beb89f83ad804cf73422c3b6855.zip
truncate: handle file thp
For shmem/tmpfs we only need to tweak truncate_inode_page() and invalidate_mapping_pages(). truncate_inode_pages_range() and invalidate_inode_pages2_range() are adjusted to use page_to_pgoff(). Link: http://lkml.kernel.org/r/1466021202-61880-26-git-send-email-kirill.shutemov@linux.intel.com Signed-off-by: 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/huge_memory.c')
0 files changed, 0 insertions, 0 deletions