Changeset 0cf813d in mainline for kernel/generic/include/synch/rcu.h


Ignore:
Timestamp:
2012-07-16T15:37:11Z (13 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1c1da4b
Parents:
057e77f
Message:

rcu: Added new statistics. Changed reclaimers to run callbacks with preemption disabled if too many callbacks are pending in order to avoid exhausting system memory.

File:
1 edited

Legend:

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

    r057e77f r0cf813d  
    7171         */
    7272        rcu_item_t *cur_cbs;
     73        /** Number of callbacks in cur_cbs. */
     74        size_t cur_cbs_cnt;
    7375        /** Callbacks to invoke once the next grace period ends, ie next_cbs_gp.
    7476         * Accessed by the local reclaimer only.
    7577         */
    7678        rcu_item_t *next_cbs;
     79        /** Number of callbacks in next_cbs. */
     80        size_t next_cbs_cnt;
    7781        /** New callbacks are place at the end of this list. */
    7882        rcu_item_t *arriving_cbs;
     
    114118        size_t stat_avg_cbs;
    115119        size_t stat_missed_gps;
     120        size_t stat_missed_gp_in_wait;
     121        size_t stat_max_slice_cbs;
     122        size_t last_arriving_cnt;
    116123} rcu_cpu_data_t;
    117124
Note: See TracChangeset for help on using the changeset viewer.