Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bharata B Rao and committed by
Paul Mackerras
33cf1707 96710247

+1
+1
mm/ksm.c
··· 2478 2478 2479 2479 return 0; 2480 2480 } 2481 + EXPORT_SYMBOL_GPL(ksm_madvise); 2481 2482 2482 2483 int __ksm_enter(struct mm_struct *mm) 2483 2484 {