From: Mike Kravetz <mike.kravetz@oracle.com>
To: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
linux-api@vger.kernel.org, linux-kselftest@vger.kernel.org
Cc: Hugh Dickins <hughd@google.com>,
Andrea Arcangeli <aarcange@redhat.com>,
Michal Hocko <mhocko@kernel.org>,
"Kirill A . Shutemov" <kirill.shutemov@linux.intel.com>,
Shuah Khan <shuah@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Mike Kravetz <mike.kravetz@oracle.com>
Subject: [PATCH 0/2] Add hugetlbfs support to memfd_create()
Date: Fri, 11 Aug 2017 16:56:10 -0700 [thread overview]
Message-ID: <1502495772-24736-1-git-send-email-mike.kravetz@oracle.com> (raw)
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>
next reply other threads:[~2017-08-11 23:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-11 23:56 Mike Kravetz [this message]
2017-08-11 23:56 ` [PATCH 1/2] mm/shmem: add hugetlbfs support to memfd_create() Mike Kravetz
2017-08-11 23:56 ` [PATCH 2/2] selftests/memfd: Add memfd_create hugetlbfs selftest Mike Kravetz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1502495772-24736-1-git-send-email-mike.kravetz@oracle.com \
--to=mike.kravetz@oracle.com \
--cc=aarcange@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=hughd@google.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-api@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@kernel.org \
--cc=shuah@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).