[lkml]   [2015]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[Question] ksm: rmap_item pointing to some stale vmas

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

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.
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

 \ /
  Last update: 2015-04-09 16:41    [W:0.063 / U:1.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site