HomeFreeBSD

Implement lockless resource limits.

Description

Implement lockless resource limits.

Use the same scheme implemented to manage credentials.

Code needing to look at process's credentials (as opposed to thred's) is
provided with *_proc variants of relevant functions.

Places which possibly had to take the proc lock anyway still use the proc
pointer to access limits.

Details

Provenance
mjgAuthored on
Parents
rS284214: Generalised support for copy-on-write structures shared by threads.
Branches
Unknown
Tags
Unknown