[lkml]   [2015]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[RFC PATCH 0/4] hugetlbfs: add fallocate support
hugetlbfs is used today by applications that want a high degree of
control over huge page usage. Often, large hugetlbfs files are used
to map a large number huge pages into the application processes.
The applications know when page ranges within these large files will
no longer be used, and ideally would like to release them back to
the subpool or global pools for other uses. The fallocate() system
call provides an interface for preallocation and hole punching within
files. This patch set adds fallocate functionality to hugetlbfs.

Mike Kravetz (4):
hugetlbfs: truncate_hugepages() takes a range of pages
hugetlbfs: New huge_add_to_page_cache helper routine
hugetlbfs: add hugetlbfs_fallocate()
mm: madvise allow remove operation for hugetlbfs

fs/hugetlbfs/inode.c | 164 ++++++++++++++++++++++++++++++++++++++++++++++--
include/linux/hugetlb.h | 5 ++
mm/hugetlb.c | 29 ++++++---
mm/madvise.c | 2 +-
4 files changed, 185 insertions(+), 15 deletions(-)


 \ /
  Last update: 2015-04-17 01:21    [W:0.059 / U:7.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site