linux/include/linux/cgroup-defs.h
/*
 * There's a theoretical window where the following accessors race with
 * updaters and return part of the previous pointer as the prioidx or
 * classid.  Such races are short-lived and the result isn't critical.
 */
There's a theoretical window where the following accessors race with
updaters and return part of the previous pointer as the prioidx or
classid.  Such races are short-lived and the result isn't critical.
There ' s a theoretical window where the following accessors race with updaters and return part of the previous pointer as the prioidx or classid . Such races are short - lived and the result isn ' t critical .
static inline u16 sock_cgroup_prioidx(const struct sock_cgroup_data *skcd)
{
	return (skcd->is_data & 1) ? skcd->prioidx : 1;
}
static inline u16 sock_cgroup_prioidx ( const struct sock_cgroup_data * skcd ) { return ( skcd -> is_data & 1 ) ? skcd -> prioidx : 1 ; }
There's a theoretical window where the following accessors race with
 updaters and return part of the previous pointer as the prioidx or
 classid.
There ' s a theoretical window where the following accessors race with updaters and return part of the previous pointer as the prioidx or classid .
/* fallback to 1 which is always the ID of the root cgroup */