* 2.6.14-rc5 mlock/munlock bug
@ 2005-10-21 18:51 Mr. Berkley Shands
2005-10-25 21:48 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Mr. Berkley Shands @ 2005-10-21 18:51 UTC (permalink / raw)
To: linux-kernel
I've noticed that between 2.6.14-rc2 and 2.6.14-rc5 mlock() and
mlunlock() have broken.
a call to mlock() to lock pages is granted, and the pages are locked,
but never
unlocked, even when munlock() is manually called or at process rundown.
No problems under 2.6.13 or up to 2.6.14-rc2. But sometime after -rc2 it
goes BANG
and the machine gets very unhappy. If you look at "swapon -s" you see
more and more swap
space is used until there is no physical memory left, then things really
get unhappy.
berkley
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.14-rc5 mlock/munlock bug
2005-10-21 18:51 2.6.14-rc5 mlock/munlock bug Mr. Berkley Shands
@ 2005-10-25 21:48 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2005-10-25 21:48 UTC (permalink / raw)
To: Mr. Berkley Shands; +Cc: linux-kernel
"Mr. Berkley Shands" <bshands@exegy.com> wrote:
>
> I've noticed that between 2.6.14-rc2 and 2.6.14-rc5 mlock() and
> mlunlock() have broken.
>
> a call to mlock() to lock pages is granted, and the pages are locked,
> but never
> unlocked, even when munlock() is manually called or at process rundown.
> No problems under 2.6.13 or up to 2.6.14-rc2. But sometime after -rc2 it
> goes BANG
> and the machine gets very unhappy. If you look at "swapon -s" you see
> more and more swap
> space is used until there is no physical memory left, then things really
> get unhappy.
>
I cannot reproduce this behaviour here. Can you please provide a testcase?
This is on x86, I assume?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-25 21:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-21 18:51 2.6.14-rc5 mlock/munlock bug Mr. Berkley Shands
2005-10-25 21:48 ` Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.