From: William Lee Irwin III <wli@holomorphy.com>
To: li nux <lnxluv@yahoo.com>
Cc: linux <linux-kernel@vger.kernel.org>
Subject: Re: rmap.c: try_to_unmap_file(): VM_LOCKED not respected
Date: Mon, 13 Jun 2005 22:22:19 -0700 [thread overview]
Message-ID: <20050614052219.GH3879@holomorphy.com> (raw)
In-Reply-To: <20050614051405.42342.qmail@web33307.mail.mud.yahoo.com>
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
next prev parent reply other threads:[~2005-06-14 5:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-14 5:14 li nux
2005-06-14 5:22 ` William Lee Irwin III [this message]
2005-06-14 5:48 ` li nux
2005-06-14 6:31 ` William Lee Irwin III
2005-06-14 7:25 ` li nux
2005-06-14 13:51 ` Hugh Dickins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050614052219.GH3879@holomorphy.com \
--to=wli@holomorphy.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lnxluv@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®