mm: ksm: Export ksm_madvise()
authorBharata B Rao <bharata@linux.ibm.com>
Mon, 25 Nov 2019 03:06:25 +0000 (08:36 +0530)
committerPaul Mackerras <paulus@ozlabs.org>
Thu, 28 Nov 2019 05:23:03 +0000 (16:23 +1100)
commit33cf170715e87efd0608af6f2c056cafe0e7fc47
tree32238b2222c2428fb1889fc8302d112a8466d873
parent96710247298df52a4b8150a62a6fe87083093ff3
mm: ksm: Export ksm_madvise()

On PEF-enabled POWER platforms that support running of secure guests,
secure pages of the guest are represented by device private pages
in the host. Such pages needn't participate in KSM merging. This is
achieved by using ksm_madvise() call which need to be exported
since KVM PPC can be a kernel module.

Signed-off-by: Bharata B Rao <bharata@linux.ibm.com>
Acked-by: Hugh Dickins <hughd@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
mm/ksm.c