Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33901
b: refs/heads/master
c: dd9daa2
h: refs/heads/master
i:
  33899: eee2c91
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Sep 13, 2006
1 parent 2522688 commit 6c2467d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 7fbb36451a91de6e8f9ece4f1f1ee9bd8ebf838a
refs/heads/master: dd9daa221e77f642954849a795fa7c59533a9b2f
6 changes: 5 additions & 1 deletion trunk/kernel/rcupdate.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,16 @@ static void rcu_do_batch(struct rcu_data *rdp)
next = rdp->donelist = list->next;
list->func(list);
list = next;
rdp->qlen--;
if (++count >= rdp->blimit)
break;
}

local_irq_disable();
rdp->qlen -= count;
local_irq_enable();
if (rdp->blimit == INT_MAX && rdp->qlen <= qlowmark)
rdp->blimit = blimit;

if (!rdp->donelist)
rdp->donetail = &rdp->donelist;
else
Expand Down

0 comments on commit 6c2467d

Please sign in to comment.