[PATCH 0/6] staging: xillybus: Removal of memory barriers
Eli Billauer
eli.billauer at gmail.com
Sat Aug 16 15:57:55 UTC 2014
This patchset removes several memory barriers that seem to be unnecessary.
Most of them were originally inserted in a "better safe than sorry" spirit,
but these may turn out confusing in the long run.
Each patch removes memory barriers based upon a different argument, in order
to simplify their review. Even though the driver has been tested on both
platforms that are relevant today (arm and x86), this doesn't guarantee that
I haven't done something foolish that will cause problems in some new
platform.
Reviews and comments on these patches are therefore most welcome.
Thanks,
Eli
Eli Billauer (6):
staging: xillybus: Remove mmiowb() before wait_event_*() calls
staging: xillybus: Removed mmiowb() before mutex_unlock()
staging: xillybus: Removed mmiowb() as iowrite32() is ordered
staging: xillybus: Removed write memory barriers before
wait_event_*()
staging: xillybus: Removed unnecessary smp_wmb()
staging: xillybus: Removed read barrier at beginning of ISR
drivers/staging/xillybus/xillybus_core.c | 41 ++---------------------------
1 files changed, 3 insertions(+), 38 deletions(-)
--
1.7.2.3
More information about the devel
mailing list