diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-19 11:41:09 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-14 13:35:13 +0000 |
commit | 3d1074349b22c9653e746282564136c87668c2b8 (patch) | |
tree | b86a8b3cfa5b63e218df8da66417a4ec5f229b0e /drivers/net/sunbmac.c | |
parent | 0eb948dd7f7c3cec37440c16a6c738c8e75efcda (diff) |
ARM: cache-l2x0: make better use of background cache handling
There's no point having the hardware support background operations
if we issue a cache operation, and then wait for it to complete
before calculating the address of the next operation. We gain no
advantage in the cache controller stalling the bus until completion.
What we should be doing is using the 'wait' time productively by
calculating the address of the next operation, and only then waiting
for the previous operation to complete. This means that cache
operations can occur in parallel with the CPU calculating the next
address.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/net/sunbmac.c')
0 files changed, 0 insertions, 0 deletions