> + /* Tell compiler that status_blk fields can change. */
> + barrier();
> + if (status_idx != sblk->status_idx) {
Is a compiler barrier sufficient here? It seems an out-of-order CPU
could still mess things up, so an rmb() or smp_rmb() would be required.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Glauber de Oliveira Costa | [PATCH 0/19] desc_struct integration |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| James Bottomley | Re: Announce: Linux-next (Or Andrew's dream :-)) |
git: | |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | [PATCH 3/6] pkt_sched: sch_htb: Break all htb_do_events() after 2 jiifies |
| Eric Dumazet | Re: [PATCH 3/3] Convert the UDP hash lock to RCU |
| Radu Rendec | htb parallelism on multi-core platforms |
