commit | 0eb948dd7f7c3cec37440c16a6c738c8e75efcda | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Nov 19 11:12:15 2009 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Dec 14 13:34:58 2009 +0000 |
tree | 96ecc9b1a3b5326f7de82cd2055b448a7e43c9f8 | |
parent | 22763c5cf3690a681551162c15d34d935308c8d7 [diff] |
ARM: cache-l2x0: avoid taking spinlock for every iteration Taking the spinlock for every iteration is very expensive; instead, batch iterations up into 4K blocks, releasing and reacquiring the spinlock between each block. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Catalin Marinas <catalin.marinas@arm.com>