Mateusz Guzik 2554f86a8d vm: stop taking proc lock in mmap to satisfy racct if it is disabled
Limits can be safely obtained with lim_cur from the thread. racct is compiled
in but disabled by default. Note that racct enablement is a boot-only tunable.

This eliminates second most common place of taking the lock while pkg building.

While here don't take the lock in mlockall either.

Reviewed by:	kib
Approved by:	re (gjb)
Differential Revision:	https://reviews.freebsd.org/D17210
2018-09-18 01:24:30 +00:00
..
2018-01-12 22:57:57 +00:00
2018-03-27 15:20:03 +00:00
2018-02-12 17:42:28 +00:00
2018-07-03 01:55:09 +00:00
2017-12-13 16:13:17 +00:00
2018-06-13 16:48:07 +00:00
2018-02-20 00:06:07 +00:00
2018-02-06 19:14:15 +00:00
2018-08-23 05:06:16 +00:00
2018-06-10 19:15:38 +00:00
2017-12-28 14:26:33 +00:00
2017-11-30 20:33:45 +00:00
2017-12-13 16:13:17 +00:00
2017-12-13 16:13:17 +00:00
2017-12-13 16:13:17 +00:00
2018-03-20 15:51:05 +00:00
2018-08-23 15:01:27 +00:00
2017-12-13 16:30:39 +00:00
2017-12-13 16:30:39 +00:00
2018-03-02 22:13:29 +00:00
2018-03-27 15:20:03 +00:00
2018-07-27 21:25:01 +00:00
2018-08-04 20:45:43 +00:00
2017-12-13 16:13:17 +00:00
2018-05-07 23:36:16 +00:00
2018-07-25 00:18:21 +00:00
2018-05-11 00:01:43 +00:00
2018-01-05 22:26:23 +00:00
2017-12-13 16:13:17 +00:00
2018-07-30 15:46:40 +00:00
2017-11-30 20:33:45 +00:00
2018-03-27 15:20:03 +00:00
2018-08-03 01:37:00 +00:00
2018-01-03 00:56:30 +00:00
2017-12-13 16:13:17 +00:00