linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add hugetlbfs support to memfd_create()
@ 2017-08-11 23:56 Mike Kravetz
  2017-08-11 23:56 ` [PATCH 1/2] mm/shmem: add " Mike Kravetz
  2017-08-11 23:56 ` [PATCH 2/2] selftests/memfd: Add memfd_create hugetlbfs selftest Mike Kravetz
  0 siblings, 2 replies; 3+ messages in thread
From: Mike Kravetz @ 2017-08-11 23:56 UTC (permalink / raw)
  To: linux-mm, linux-kernel, linux-api, linux-kselftest
  Cc: Hugh Dickins, Andrea Arcangeli, Michal Hocko, Kirill A . Shutemov,
	Shuah Khan, Andrew Morton, Mike Kravetz

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-11 23:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-11 23:56 [PATCH 0/2] Add hugetlbfs support to memfd_create() Mike Kravetz
2017-08-11 23:56 ` [PATCH 1/2] mm/shmem: add " Mike Kravetz
2017-08-11 23:56 ` [PATCH 2/2] selftests/memfd: Add memfd_create hugetlbfs selftest Mike Kravetz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).