2018-04-10-17-02 merged

Andrew Morton (3):

Arnd Bergmann (1):
      mm/filemap.c: provide dummy filemap_page_mkwrite() for NOMMU

Davidlohr Bueso (3):
      ipc/shm: introduce shmctl(SHM_STAT_ANY)
      ipc/sem: introduce semctl(SEM_STAT_ANY)
      ipc/msg: introduce msgctl(MSG_STAT_ANY)

Eric Biggers (2):
      ipc/shm: fix use-after-free of shm file via remap_file_pages()
      ipc/shm: fix use-after-free of shm file via remap_file_pages()

Greg Thelen (1):
      writeback: safer lock nesting

Huang Ying (1):
      mm, pagemap: fix swap offset value for PMD migration entry

Jérôme Glisse (1):
      Documentation/vm/hmm.txt: typos and syntaxes fixes

Kees Cook (3):
      exec: pass stack rlimit into mm layout functions
      exec: introduce finalize_exec() before start_thread()
      exec: pin stack limit during exec

Matthew Wilcox (3):
      mm/z3fold.c: use gfpflags_allow_blocking
      lib/list_debug.c: print unmangled addresses
      autofs4: use wait_event_killable

Michael S. Tsirkin (3):
      mm/gup_benchmark: handle gup failures
      get_user_pages_fast(): return -EFAULT on access_ok failure
      mm/gup.c: document return value

Michal Hocko (1):
      memcg: fix per_node_info cleanup

Petr Tesarik (1):
      kexec: export PG_swapbacked to VMCOREINFO

Tom Abraham (1):
      swap: divide-by-zero when zero length swap file on ssd
kexec: export PG_swapbacked to VMCOREINFO

Since commit 6326fec1122cd ("mm: Use owner_priv bit for PageSwapCache,
valid when PageSwapBacked"), PG_swapcache is an alias for PG_owner_priv_1,
which may be also used for other purposes.  To know whether the bit indeed
has the PG_swapcache meaning, it is necessary to check PG_swapbacked,
hence this bit must be exported.

Link: http://lkml.kernel.org/r/20180410161345.142e142d@ezekiel.suse.cz
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Dave Young <dyoung@redhat.com>
Cc: Xunlei Pang <xlpang@redhat.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: Hari Bathini <hbathini@linux.vnet.ibm.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: "Marc-Andr Lureau" <marcandre.lureau@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 file changed