public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* buggy mlock() behaviour in 2.6.9 on ppc64?
@ 2005-02-02 18:11 Chris Friesen
  0 siblings, 0 replies; only message in thread
From: Chris Friesen @ 2005-02-02 18:11 UTC (permalink / raw)
  To: linux-kernel, linuxppc-dev

I've got a simple test app that tries to mmap() and mlock() an amount of 
memory specified on the commandline.

If I specify more than the amount of physical memory in the system, I 
get different behaviours between ppc and ppc64.

With the ppc kernel, my mmap() call will eventually fail and return 
MAP_FAILED.

With the ppc64 kernel, however, the system hangs, and the fans speed 
starts increasing.  It seems like it doesn't realize that there is 
simply no way that it will ever be able to succeed.

Is this expected behaviour for ppc64?


Chris

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-02 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-02 18:11 buggy mlock() behaviour in 2.6.9 on ppc64? Chris Friesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox