]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8caf55f73de41970d008035640ddd36bf07eb1ec
tree32238b2222c2428fb1889fc8302d112a8466d873
parent20683149d20e4f419041ced720e9f21547cbf4db
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