Re: [RFC] csum experts, csum_replace2() is too expensive

From: David Miller
Date: Fri Mar 21 2014 - 14:52:43 EST


From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Fri, 21 Mar 2014 05:50:50 -0700

> It looks like a barrier() would be more appropriate.

barrier() == __asm__ __volatile__(:::"memory")
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/