lkml.org 
[lkml]   [2005]   [Jun]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 13 Jun 2005 22:22:19 -0700
FromWilliam Lee Irwin III <>
SubjectRe: rmap.c: try_to_unmap_file(): VM_LOCKED not respected
On Mon, Jun 13, 2005 at 10:14:05PM -0700, li nux wrote:
> My application is using remap_file_pages and mlocks
> those pages.
> So in the code of  try_to_unmap_file (see below),
> I should never reach the call to try_to_unmap_cluster,
> because for those pages VM_LOCKED is always set.
> But, under heavy load I am seeing try_to_unmap_cluster
> is getting called. Stack:

Does your app use remap_file_pages() before mlock()?

If so, the VM may be trying to reclaim pages between the call to
remap_file_pages() and the call to mlock().


-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-14 07:26    [from the cache]
©2003-2008