From: Heiko Carstens Date: Fri, 10 Aug 2007 22:50:30 +0000 (-0700) Subject: [IPVS]: Use IP_VS_WAIT_WHILE when encessary. X-Git-Tag: v2.6.23-rc4~137^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cae7ca3d3de48851e929de9469397749638df779;p=pandora-kernel.git [IPVS]: Use IP_VS_WAIT_WHILE when encessary. For architectures that don't have a volatile atomic_ts constructs like while (atomic_read(&something)); might result in endless loops since a barrier() is missing which forces the compiler to generate code that actually reads memory contents. Fix this in ipvs by using the IP_VS_WAIT_WHILE macro which resolves to while (expr) { cpu_relax(); } (why isn't this open coded btw?) Signed-off-by: Heiko Carstens Signed-off-by: Simon Horman Signed-off-by: David S. Miller --- Reading git-diff-tree failed