>> mlock(2) says: >> >> > A single process can mlock() the minimum of a system-wide >> > ``wired pages'' limit and the per-process RLIMIT_MEMLOCK >> > resource limit. >> >> Shouldn't this say maximum rather than minimum? > > I don't think so. The minimum of the two would be the limit that you > will hit first, and presumably is the point at which you cannot mlock > any more pages.
Ok, but "can mlock() the minimum of" is easy to misread as "can mlock() at least". Perhaps it would be more clear to say something like The amount of memory that a process can mlock() is limited by the per-process RLIMIT_MEMLOCK resource limit, and by a system-wide ``wired pages'' limit. _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"