[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <016801d0824a$ace5da80$06b18f80$@alibaba-inc.com>
Date: Wed, 29 Apr 2015 15:04:02 +0800
From: "Hillf Danton" <hillf.zj@...baba-inc.com>
To: "'Mike Kravetz'" <mike.kravetz@...cle.com>, <linux-mm@...ck.org>,
<linux-kernel@...r.kernel.org>
Cc: "'Dave Hansen'" <dave.hansen@...ux.intel.com>,
"'Naoya Horiguchi'" <n-horiguchi@...jp.nec.com>,
"'David Rientjes'" <rientjes@...gle.com>,
"'Hugh Dickins'" <hughd@...gle.com>,
"'Davidlohr Bueso'" <dave@...olabs.net>,
"'Aneesh Kumar'" <aneesh.kumar@...ux.vnet.ibm.com>,
"'Christoph Hellwig'" <hch@...radead.org>
Subject: Re: [RFC v2 PATCH 0/5] 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.
>
> RFC v2:
> Addressed alignment and error handling issues noticed by Hillf Danton
> New region_del() routine for region tracking/resv_map of ranges
> Fixed several issues found during more extensive testing
> Error handling in region_del() when kmalloc() fails stills needs
> to be addressed
> madvise remove support remains
>
> Mike Kravetz (5):
> hugetlbfs: truncate_hugepages() takes a range of pages
> hugetlbfs: remove region_truncte() as region_del() can be used
> hugetlbfs: New huge_add_to_page_cache helper routine
> hugetlbfs: add hugetlbfs_fallocate()
> mm: madvise allow remove operation for hugetlbfs
>
Acked-by: Hillf Danton <hillf.zj@...baba-inc.com>
> fs/hugetlbfs/inode.c | 169 ++++++++++++++++++++++++++++++++++++++++++++++--
> include/linux/hugetlb.h | 8 ++-
> mm/hugetlb.c | 110 ++++++++++++++++++++++---------
> mm/madvise.c | 2 +-
> 4 files changed, 248 insertions(+), 41 deletions(-)
>
> --
> 2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists