Changeset a35b458 in mainline for kernel/generic/include/synch/rcu.h
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/rcu.h
r3061bc1 ra35b458 147 147 compiler_barrier(); 148 148 THE->rcu_nesting -= RCU_CNT_INC; 149 149 150 150 if (RCU_WAS_PREEMPTED == THE->rcu_nesting) { 151 151 _rcu_preempted_unlock(); … … 164 164 { 165 165 assert(PREEMPTION_DISABLED || interrupts_disabled()); 166 166 167 167 /* 168 168 * A new GP was started since the last time we passed a QS. … … 225 225 assert(CPU); 226 226 preemption_disable(); 227 227 228 228 if (0 == --CPU->rcu.nesting_cnt) { 229 229 _rcu_record_qs(); 230 230 231 231 /* 232 232 * The thread was preempted while in a critical section or … … 238 238 } 239 239 } 240 240 241 241 preemption_enable(); 242 242 }
Note:
See TracChangeset
for help on using the changeset viewer.