MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vmspace_container_reset

Function vmspace_container_reset

freebsd/vm/vm_map.c:350–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348
349#ifdef RACCT
350static void
351vmspace_container_reset(struct proc *p)
352{
353
354 PROC_LOCK(p);
355 racct_set(p, RACCT_DATA, 0);
356 racct_set(p, RACCT_STACK, 0);
357 racct_set(p, RACCT_RSS, 0);
358 racct_set(p, RACCT_MEMLOCK, 0);
359 racct_set(p, RACCT_VMEM, 0);
360 PROC_UNLOCK(p);
361}
362#endif
363
364static inline void

Callers 1

vmspace_exitFunction · 0.85

Calls 1

racct_setFunction · 0.50

Tested by

no test coverage detected