OSDN Git Service

arch/tile: fix finv_buffer_remote() for tilegx
authorChris Metcalf <cmetcalf@tilera.com>
Fri, 30 Mar 2012 19:47:38 +0000 (15:47 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Mon, 2 Apr 2012 16:13:53 +0000 (12:13 -0400)
commit54229ff359250ce7292dbeb59f157a2d3b67e30c
treedff9b36a7097c4606e2133610fa97426cf3dbcff
parentab306cae660e524edbeb8889e4e23d3c97717b9c
arch/tile: fix finv_buffer_remote() for tilegx

There were some correctness issues with this code that are now fixed
with this change.  The change is likely less performant than it could
be, but it should no longer be vulnerable to any races with memory
operations on the memory network while invalidating a range of memory.
This code is run infrequently so performance isn't critical, but
correctness definitely is.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/lib/cacheflush.c