[LTP] [PATCH] Unshare KSM pages before setting max_page_sharing

Martin Doucha mdoucha@suse.cz
Wed Dec 4 10:07:04 CET 2019


On 12/2/19 4:29 AM, Petr Vorel wrote:
> BTW at least ksm01 will fail on VM host with running VMs,
> but that's another story not related to this patch.
> 
> mem.c:251: FAIL: pages_shared is not 1 but 3629.
> mem.c:251: FAIL: pages_sharing is not 98302 but 113789.
> mem.c:251: FAIL: pages_volatile is not 0 but 12.
> mem.c:251: FAIL: pages_unshared is not 1 but 48519.

I'm aware of other KSM tests failing but the failures are rare and quite
random so they'll be tricky to debug. The snippet you've sent looks like
interference from another process running on the same VM but the
failures I see in OpenQA look like some sort of race condition in kernel
itself.

-- 
Martin Doucha   mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


More information about the ltp mailing list