Changeset 5b03a72 in mainline for kernel/generic/include/synch/rcu_types.h
- Timestamp:
- 2012-07-29T17:53:48Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f0fcb04
- Parents:
- 8e3ed06
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/rcu_types.h
r8e3ed06 r5b03a72 61 61 rcu_gp_t last_seen_gp; 62 62 63 /** Pointer to the currently used nesting count (THREAD's or CPU's). */ 64 size_t *pnesting_cnt; 65 /** Temporary nesting count if THREAD is NULL, eg in scheduler(). */ 66 size_t tmp_nesting_cnt; 63 /** The number of times an RCU reader section is nested on this cpu. 64 * 65 * If positive, it is definitely executing reader code. If zero, 66 * the thread might already be executing reader code thanks to 67 * cpu instruction reordering. 68 */ 69 size_t nesting_cnt; 67 70 68 71 /** Callbacks to invoke once the current grace period ends, ie cur_cbs_gp. … … 128 131 /** RCU related per-thread data. */ 129 132 typedef struct rcu_thread_data { 130 /** The number of times an RCU reader section is nested. 131 * 132 * If positive, it is definitely executing reader code. If zero, 133 * the thread might already be executing reader code thanks to 134 * cpu instruction reordering. 133 /** 134 * Nesting count of the thread's RCU read sections when the thread 135 * is not running. 135 136 */ 136 137 size_t nesting_cnt;
Note:
See TracChangeset
for help on using the changeset viewer.