summaryrefslogtreecommitdiff
path: root/mm/memfd.c
diff options
context:
space:
mode:
authorMike Kravetz <mike.kravetz@oracle.com>2018-06-08 03:05:53 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2018-06-08 03:34:34 +0300
commit5b9c98f3082b4e8a24ef5e6bb21ed0558b54349a (patch)
tree31596c393338aa139003aabf2776df2d1b708b1f /mm/memfd.c
parentc0265342bff4fcaa2cdf13f4596244c18d4a7ae5 (diff)
downloadlinux-5b9c98f3082b4e8a24ef5e6bb21ed0558b54349a.tar.xz
mm/shmem: add __rcu annotations and properly deref radix entry
Patch series "restructure memfd code", v4. This patch (of 3): In preparation for memfd code restucture, clean up sparse warnings. Most changes required adding __rcu annotations. The routine find_swap_entry was modified to properly deference radix tree entries. Link: http://lkml.kernel.org/r/20180415182119.4517-2-mike.kravetz@oracle.com Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com> Signed-off-by: Matthew Wilcox <willy@infradead.org> Cc: Hugh Dickins <hughd@google.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Michal Hocko <mhocko@kernel.org> Cc: Marc-Andr Lureau <marcandre.lureau@gmail.com> Cc: David Herrmann <dh.herrmann@gmail.com> Cc: Khalid Aziz <khalid.aziz@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memfd.c')
0 files changed, 0 insertions, 0 deletions