lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <55268741.8010301@codeaurora.org>
Date:	Thu, 09 Apr 2015 19:35:53 +0530
From:	Susheel Khiani <skhiani@...eaurora.org>
To:	akpm@...ux-foundation.org, peterz@...radead.org, neilb@...e.de,
	dhowells@...hat.com, hughd@...gle.com, paulmcquad@...il.com,
	linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: [Question] ksm: rmap_item pointing to some stale vmas

Hi,

We are seeing an issue during try_to_unmap_ksm where in call to 
try_to_unmap_one is failing.

try_to_unmap_ksm in this particular case is trying to go through vmas 
associated with each rmap_item->anon_vma. What we see is this that the 
corresponding page is not mapped to any of the vmas associated with 2 
rmap_item.

The associated rmap_item in this case looks like pointing to some valid 
vma but the said page is not found to be mapped under it. 
try_to_unmap_one thus fails to find valid ptes for these vmas.

At the same time we can see that the page actually is mapped in 2 
separate and different vmas which are not part of rmap_item associated 
with page.

So whether rmap_item is pointing to some stale vmas and now the mapping 
has changed? Or there is something else going on here.
p
Any pointer would be appreciated.

-- 
Susheel Khiani

QUALCOMM INDIA, on behalf of Qualcomm Innovation Center,
Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ