Changeset 3cfe2b8 in mainline for kernel/test/synch/rcu1.c
- Timestamp:
- 2018-09-07T16:01:50Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c53e813
- Parents:
- 5f1d850
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/synch/rcu1.c
r5f1d850 r3cfe2b8 361 361 typedef struct { 362 362 rcu_item_t rcu; 363 atomic_count_t start_time;363 size_t start_time; 364 364 } seq_item_t; 365 365 … … 368 368 369 369 static atomic_t cur_time = { 1 }; 370 static atomic_count_t max_upd_done_time = { 0 };370 static size_t max_upd_done_time = { 0 }; 371 371 372 372 static void seq_cb(rcu_item_t *rcu_item) … … 399 399 for (size_t i = 0; i < work->read_cnt; ++i) { 400 400 rcu_read_lock(); 401 atomic_count_t start_time = atomic_postinc(&cur_time);401 size_t start_time = atomic_postinc(&cur_time); 402 402 403 403 for (volatile size_t d = 0; d < 10 * i; ++d) {
Note:
See TracChangeset
for help on using the changeset viewer.