linux-stable/include
Kirill A. Shutemov 2a52bcbcc6 rmap: extend try_to_unmap() to be usable by split_huge_page()
Add support for two ttu_flags:

  - TTU_SPLIT_HUGE_PMD would split PMD if it's there, before trying to
    unmap page;

  - TTU_RMAP_LOCKED indicates that caller holds relevant rmap lock;

Also, change rwc->done to !page_mapcount() instead of !page_mapped().
try_to_unmap() works on pte level, so we are really interested in the
mappedness of this small page rather than of the compound page it's a
part of.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-03-17 15:09:34 -07:00
..
acpi Merge branches 'acpi-processor' and 'acpi-cppc' 2016-03-14 14:20:33 +01:00
asm-generic mm/thp/migration: switch from flush_tlb_range to flush_pmd_tlb_range 2016-03-17 15:09:34 -07:00
clocksource
crypto
drm drm/atomic: Allow for holes in connector state, v2. 2016-02-19 13:24:03 +10:00
dt-bindings media updates for v4.6-rc1 2016-03-16 18:27:32 -07:00
keys
kvm arm64: KVM: vgic-v3: Avoid accessing ICH registers 2016-03-09 04:24:04 +00:00
linux rmap: extend try_to_unmap() to be usable by split_huge_page() 2016-03-17 15:09:34 -07:00
math-emu
media [media] v4l2-mc.h: fix yet more compiler errors 2016-03-04 07:56:43 -03:00
memory
misc
net Another small set of fixes: 2016-02-24 16:58:12 -05:00
pcmcia
ras
rdma
rxrpc
scsi scsi: Add 'access_state' and 'preferred_path' attribute 2016-03-05 17:14:37 -05:00
soc
sound ALSA: hda - Loop interrupt handling until really cleared 2016-02-26 08:50:31 +01:00
target
trace mm/page_ref: add tracepoint to track down page reference manipulation 2016-03-17 15:09:34 -07:00
uapi virtio_balloon: export 'available' memory to balloon statistics 2016-03-17 15:09:34 -07:00
video
xen
Kbuild