Actually, since the present test is only done on the number of pagesto be locked at the time of the system call, it is nearly worthless.You can already mlock more pages than the "limit": just do mlockall()with MCL_FUTURE, and allocate your big block of memory afterwards.

-- Dave

-To unsubscribe from this list: send the line "unsubscribe linux-kernel" inthe body of a message to majordomo@vger.rutgers.eduPlease read the FAQ at http://www.tux.org/lkml/