PC-BSD/trueos 5936383 — sys/kern kern_resource.c, sys/sys resourcevar.h
Make lim_cur inline if possible. It is a function call only to accomodate *some* ABIs which install a hook. They only care for 3 types of limits: DATA, STACK, VMEM Instead of always calling the func, see at compilation time if the requested limit is something else and just do the read if so. Sponsored by: The FreeBSD Foundation
Delta | File | |
---|---|---|
+13 | -0 | sys/sys/resourcevar.h |
+1 | -1 | sys/kern/kern_resource.c |
+14 | -1 | 2 files |