From 3e9f50bbc6c518f94725c6373a6dc55c58a0498e Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Mon, 12 Sep 2011 15:50:49 +0200 Subject: [PATCH] --- yaml --- r: 269170 b: refs/heads/master c: f0f1d32f931b705c4ee5dd374074d34edf3eae14 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/llist.h | 1 - trunk/lib/llist.c | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 7fc4e7e144f5..eb89aedfc433 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fa14ff4accfb24e59d2473f3d864d6648d80563b +refs/heads/master: f0f1d32f931b705c4ee5dd374074d34edf3eae14 diff --git a/trunk/include/linux/llist.h b/trunk/include/linux/llist.h index e2e96d04ee48..837fb4ae66fb 100644 --- a/trunk/include/linux/llist.h +++ b/trunk/include/linux/llist.h @@ -161,7 +161,6 @@ static inline bool llist_add(struct llist_node *new, struct llist_head *head) entry = cmpxchg(&head->first, old_entry, new); if (entry == old_entry) break; - cpu_relax(); } return old_entry == NULL; diff --git a/trunk/lib/llist.c b/trunk/lib/llist.c index 878985c4d19d..700cff77a387 100644 --- a/trunk/lib/llist.c +++ b/trunk/lib/llist.c @@ -49,7 +49,6 @@ bool llist_add_batch(struct llist_node *new_first, struct llist_node *new_last, entry = cmpxchg(&head->first, old_entry, new_first); if (entry == old_entry) break; - cpu_relax(); } return old_entry == NULL; @@ -83,7 +82,6 @@ struct llist_node *llist_del_first(struct llist_head *head) entry = cmpxchg(&head->first, old_entry, next); if (entry == old_entry) break; - cpu_relax(); } return entry;