lkml.org 
[lkml]   [2017]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Add hugetlbfs support to memfd_create()
Date
This is a resend of the patch sent in the RFC:
http://lkml.kernel.org/r/1502149672-7759-1-git-send-email-mike.kravetz@oracle.com

It addresses the issues with the commit message raised by Michal Hocko.
Only the commit message is modified, the code from the RFC patch is the
same.

In addition, a new patch is included to modify the memfd selftest. The
modifications allow basic functionality testing of memfd_create with
hugetlbfs.

Mike Kravetz (2):
mm/shmem: add hugetlbfs support to memfd_create()
selftests/memfd: Add memfd_create hugetlbfs selftest

include/uapi/linux/memfd.h | 24 ++
mm/shmem.c | 37 ++-
tools/testing/selftests/memfd/Makefile | 2 +-
tools/testing/selftests/memfd/memfd_test.c | 372 ++++++++++++++++++++++-------
tools/testing/selftests/memfd/run_tests.sh | 69 ++++++
5 files changed, 412 insertions(+), 92 deletions(-)
create mode 100755 tools/testing/selftests/memfd/run_tests.sh

--
2.7.5

\
 
 \ /
  Last update: 2017-08-12 01:57    [W:3.433 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site