[PATCH 2/3] mm: memfd: split out memfd for use by multiple filesystems

2018-01-29 Thread Mike Kravetz
When memfd_create support was originally written, it only provided support for tmpfs. Hence, the code was added to files providing tmpfs functionality and build when CONFIG_TMPFS was enabled. memfd support has recently been added for hugetlbfs. In an effort to make it depend on tmpfs -or- hugetl

[RFC PATCH 2/3] mm: memfd: split out memfd for use by multiple filesystems

2017-11-08 Thread Mike Kravetz
When memfd_create support was originally written, it only provided suport for tmpfs. Support has recently been added for hugetlbfs. memfd originally depended on tmpfs. In an effort to make it depend on tmpfs -or- hugetlbfs, split out the required code to separate files. Signed-off-by: Mike Krave