Vincent Touquet <[EMAIL PROTECTED]> writes: > Would you consider implementing a work around (aka non portable kludgery) > a waste of time ?
In the 2.4 kernel this test in mm/mlock.c limits page locking to half of physical memory... /* we may lock at most half of physical memory... */ /* (this check is pretty bogus, but doesn't hurt) */ if (current->mm->total_vm > num_physpages/2) goto out; Maybe that test is being confused by the presence of video memory somehow. If you're looking for kludges, try commenting it out to see what happens. -- joq