ia64/xen-unstable

changeset 12288:6f551093f068

[BLKTAP] No need for barrier when updating rsp_prod_pvt.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Tue Nov 07 12:31:17 2006 +0000 (2006-11-07)
parents 5a41ea282c86
children 9a6fb3e2f12d
files tools/blktap/drivers/tapdisk.c
line diff
     1.1 --- a/tools/blktap/drivers/tapdisk.c	Tue Nov 07 11:54:52 2006 +0000
     1.2 +++ b/tools/blktap/drivers/tapdisk.c	Tue Nov 07 12:31:17 2006 +0000
     1.3 @@ -381,7 +381,6 @@ static inline int write_rsp_to_ring(stru
     1.4  	
     1.5  	rsp_d = RING_GET_RESPONSE(&info->fe_ring, info->fe_ring.rsp_prod_pvt);
     1.6  	memcpy(rsp_d, rsp, sizeof(blkif_response_t));
     1.7 -	wmb();
     1.8  	info->fe_ring.rsp_prod_pvt++;
     1.9  	
    1.10  	return 0;