From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bharata B Rao Date: Mon, 25 Nov 2019 03:21:58 +0000 Subject: Re: [PATCH v11 1/7] mm: ksm: Export ksm_madvise() Message-Id: <20191125030958.GD23438@in.ibm.com> List-Id: References: <20191125030631.7716-1-bharata@linux.ibm.com> <20191125030631.7716-2-bharata@linux.ibm.com> In-Reply-To: <20191125030631.7716-2-bharata@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org, linux-mm@kvack.org Cc: paulus@au1.ibm.com, aneesh.kumar@linux.vnet.ibm.com, jglisse@redhat.com, cclaudio@linux.ibm.com, linuxram@us.ibm.com, sukadev@linux.vnet.ibm.com, hch@lst.de, Paul Mackerras , Andrea Arcangeli , Hugh Dickins On Mon, Nov 25, 2019 at 08:36:25AM +0530, Bharata B Rao wrote: > 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 > Acked-by: Paul Mackerras > Cc: Andrea Arcangeli > Cc: Hugh Dickins Just want to point out that I observe a kernel crash when KSM is dealing with device private pages. More details about the crash here: https://lore.kernel.org/linuxppc-dev/20191115141006.GA21409@in.ibm.com/ Regards, Bharata.