Skip to content

Commit 33cf170

Browse files
Bharata B Raopaulusmack
authored andcommitted
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 <[email protected]> Acked-by: Hugh Dickins <[email protected]> Cc: Andrea Arcangeli <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
1 parent 9671024 commit 33cf170

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mm/ksm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2478,6 +2478,7 @@ int ksm_madvise(struct vm_area_struct *vma, unsigned long start,
24782478

24792479
return 0;
24802480
}
2481+
EXPORT_SYMBOL_GPL(ksm_madvise);
24812482

24822483
int __ksm_enter(struct mm_struct *mm)
24832484
{

0 commit comments

Comments
 (0)