linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can't mlock hugetlb in 2.6.15
@ 2006-01-18 19:49 Don Dupuis
  2006-01-21  7:52 ` Andrew Morton
  0 siblings, 1 reply; 8+ messages in thread
From: Don Dupuis @ 2006-01-18 19:49 UTC (permalink / raw)
  To: linux-kernel

I have an app that mlocks hugepages. The same app works just fine in 2.6.14.
This app has 128MB or more of shared memory that is using hugepages via
mmap. When I try this, I get the error "can't allocate memory".  Is this a
kernel bug or is this not supported anymore.  I want to guarantee that
this memory doesn't get swapped out to a swap device. I made the same
modifications to include/linux/resource.h that was in 2.6.14, which
set MLOCK_LIMIT to 2GB.

Thanks

Don

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-01-23 23:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-18 19:49 Can't mlock hugetlb in 2.6.15 Don Dupuis
2006-01-21  7:52 ` Andrew Morton
2006-01-21 14:12   ` Nick Piggin
2006-01-23  2:32     ` Don Dupuis
2006-01-23 19:51       ` Hugh Dickins
2006-01-23 20:53         ` Don Dupuis
2006-01-23 21:34         ` Adam Litke
2006-01-23 23:52         ` William Lee Irwin III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).