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

Function uma_total_inc

tools/compat/include/vm/uma_int.h:657–663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

655}
656
657static inline void
658uma_total_inc(unsigned long size)
659{
660
661 if (atomic_fetchadd_long(&uma_kmem_total, size) > uma_kmem_limit)
662 uma_reclaim_wakeup();
663}
664
665/*
666 * The following two functions may be defined by architecture specific code

Callers

nothing calls this directly

Calls 2

uma_reclaim_wakeupFunction · 0.85
atomic_fetchadd_longFunction · 0.50

Tested by

no test coverage detected