[PATCH 0/6] staging: xillybus: Removal of memory barriers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux