Re: [PATCH v10 1/8] mm: ksm: Export ksm_madvise()

From
Paul Mackerras <hidden>
Date
2019-11-06 05:58:33
Also in
linux-mm
Reply to
Bharata B Rao, 2019-11-04
On Mon, Nov 04, 2019 at 09:47:53AM +0530, Bharata B Rao wrote:
KVM PPC module needs ksm_madvise() for supporting secure guests.
Guest pages that become secure are represented as device private
pages in the host. Such pages shouldn't participate in KSM merging.
If we don't do the ksm_madvise call, then as far as I can tell, it
should all still work correctly, but we might have KSM pulling pages
in unnecessarily, causing a reduction in performance.  Is that right?
Signed-off-by: Bharata B Rao <redacted>
Acked-by: Paul Mackerras <redacted>
Thread (39 messages) 39 messages, 3 authors, 2019-11-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help