Re: [PATCH v27 3/4] mm/page_poison: expose page_poisoning_enabled to kernel modules

2018-02-07 Thread Michael S. Tsirkin
On Thu, Feb 08, 2018 at 09:44:29AM +0800, Wei Wang wrote: > On 02/08/2018 02:34 AM, Michael S. Tsirkin wrote: > > On Wed, Feb 07, 2018 at 02:54:30PM +0800, Wei Wang wrote: > > > In some usages, e.g. virtio-balloon, a kernel module needs to know if > > > page poisoning is in use. This patch exposes

Re: [PATCH v27 3/4] mm/page_poison: expose page_poisoning_enabled to kernel modules

2018-02-07 Thread Wei Wang
On 02/08/2018 02:34 AM, Michael S. Tsirkin wrote: On Wed, Feb 07, 2018 at 02:54:30PM +0800, Wei Wang wrote: In some usages, e.g. virtio-balloon, a kernel module needs to know if page poisoning is in use. This patch exposes the page_poisoning_enabled function to kernel modules. Signed-off-by: We

Re: [PATCH v27 3/4] mm/page_poison: expose page_poisoning_enabled to kernel modules

2018-02-07 Thread Michael S. Tsirkin
On Wed, Feb 07, 2018 at 02:54:30PM +0800, Wei Wang wrote: > In some usages, e.g. virtio-balloon, a kernel module needs to know if > page poisoning is in use. This patch exposes the page_poisoning_enabled > function to kernel modules. > > Signed-off-by: Wei Wang > Cc: Andrew Morton > Cc: Michal H

[PATCH v27 3/4] mm/page_poison: expose page_poisoning_enabled to kernel modules

2018-02-06 Thread Wei Wang
In some usages, e.g. virtio-balloon, a kernel module needs to know if page poisoning is in use. This patch exposes the page_poisoning_enabled function to kernel modules. Signed-off-by: Wei Wang Cc: Andrew Morton Cc: Michal Hocko Cc: Michael S. Tsirkin --- mm/page_poison.c | 6 ++ 1 file c