Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2012-07-29T19:26:32Z (9 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master
Children:
d4d36f9
Parents:
5b03a72
Message:

rcu: Replaced checking three variables to see if the detector needs to be notified in rcu_read_unlock() with a single bool cpu.signal_unlock.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/synch/rcu_types.h

    r5b03a72 rf0fcb04  
    107107        bool is_delaying_gp;
    108108       
     109        /** True if we should signal the detector that we exited a reader section.
     110         *
     111         * Equal to (THREAD->rcu.was_preempted || CPU->rcu.is_delaying_gp).
     112         */
     113        bool signal_unlock;
     114       
    109115        /** Positive if there are callbacks pending in arriving_cbs. */
    110116        semaphore_t arrived_flag;
Note: See TracChangeset for help on using the changeset viewer.