Print this page
5045 use atomic_{inc,dec}_* instead of atomic_add_*
*** 100,110 ****
/*
* We use atomics so that we get an accurate accounting on the ires.
* Otherwise we can't determine leaks correctly.
*/
! #define BUMP_IRE_STATS(ire_stats, x) atomic_add_64(&(ire_stats).x, 1)
#ifdef _KERNEL
struct ts_label_s;
struct nce_s;
/*
--- 100,110 ----
/*
* We use atomics so that we get an accurate accounting on the ires.
* Otherwise we can't determine leaks correctly.
*/
! #define BUMP_IRE_STATS(ire_stats, x) atomic_inc_64(&(ire_stats).x)
#ifdef _KERNEL
struct ts_label_s;
struct nce_s;
/*