Re: RFC: patch to allow lock-free traversal of lists with insertion ^M

Rusty Russell (rusty@rustcorp.com.au)
Sun, 14 Oct 2001 07:23:11 +1000


In message <200110131628.f9DGSGW09534@eng4.beaverton.ibm.com> you write:
> OK, here is an RFC patch with the read_barrier_depends(). (I know that
> the indentation is messed up, will fix when I add the read_barrier()
> and friends).

Yep, this is a 2.5 thing: we should probably combine change the
barriers so read_barrier et. al. only have effect on SMP, and then
have io_read_barrier for IO (these can be usefully differentiated on
PPC IIUC).

The stillborn smp_mb() etc. can then be abandoned.

Rusty.

--
Premature optmztion is rt of all evl. --DK
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/