]> 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)
commit2ea4e40b3edad42a4f1188b04b1dc7386d5ff0bf
tree32238b2222c2428fb1889fc8302d112a8466d873
parent575537677cd973281b00cf40ca0690a8cf5dc1b7
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