Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302744
b: refs/heads/master
c: 559f9ba
h: refs/heads/master
v: v3
  • Loading branch information
Dave Jones authored and Paul E. McKenney committed Apr 25, 2012
1 parent 37e03ee commit a25d96e
Show file tree
Hide file tree
Showing 8 changed files with 145 additions and 325 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b1420f1c8bfc30ecf6380a31d0f686884834b599
refs/heads/master: 559f9badd11ddf399f88b18b4c0f110fd511ae53
7 changes: 6 additions & 1 deletion trunk/include/linux/rculist.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* This is only for internal list manipulation where we know
* the prev/next entries already!
*/
#ifndef CONFIG_DEBUG_LIST
static inline void __list_add_rcu(struct list_head *new,
struct list_head *prev, struct list_head *next)
{
Expand All @@ -38,6 +39,10 @@ static inline void __list_add_rcu(struct list_head *new,
rcu_assign_pointer(list_next_rcu(prev), new);
next->prev = new;
}
#else
extern void __list_add_rcu(struct list_head *new,
struct list_head *prev, struct list_head *next);
#endif

/**
* list_add_rcu - add a new entry to rcu-protected list
Expand Down Expand Up @@ -108,7 +113,7 @@ static inline void list_add_tail_rcu(struct list_head *new,
*/
static inline void list_del_rcu(struct list_head *entry)
{
__list_del(entry->prev, entry->next);
__list_del_entry(entry);
entry->prev = LIST_POISON2;
}

Expand Down
2 changes: 0 additions & 2 deletions trunk/include/trace/events/rcu.h
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,6 @@ TRACE_EVENT(rcu_dyntick,
* "More callbacks": Still more callbacks, try again to clear them out.
* "Callbacks drained": All callbacks processed, off to dyntick idle!
* "Timer": Timer fired to cause CPU to continue processing callbacks.
* "Demigrate": Timer fired on wrong CPU, woke up correct CPU.
* "Cleanup after idle": Idle exited, timer canceled.
*/
TRACE_EVENT(rcu_prep_idle,

Expand Down
Loading

0 comments on commit a25d96e

Please sign in to comment.