X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Frcupdate.c;h=3554b76da84cf08ebc2808b5f2a237a362e52330;hb=289f480af87e45f7a6de6ba9b4c061c2e259fe98;hp=26bb5ffe1ef14ef61824180dd6163acdc104006d;hpb=d002ec481c24f325ed6cfcb7810d317c015dd1b5;p=pandora-kernel.git diff --git a/kernel/rcupdate.c b/kernel/rcupdate.c index 26bb5ffe1ef1..3554b76da84c 100644 --- a/kernel/rcupdate.c +++ b/kernel/rcupdate.c @@ -235,12 +235,14 @@ static void rcu_do_batch(struct rcu_data *rdp) list = rdp->donelist; while (list) { - next = rdp->donelist = list->next; + next = list->next; + prefetch(next); list->func(list); list = next; if (++count >= rdp->blimit) break; } + rdp->donelist = list; local_irq_disable(); rdp->qlen -= count;