]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sh: Fix store queue bitmap end.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 1 Dec 2006 03:01:43 +0000 (12:01 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Dec 2006 01:45:39 +0000 (10:45 +0900)
commit9f650cf2b811cfb605f10483eeb1dc86f43cdbcb
treedb9506994a49ecdd9151776fe5fb3ed7f3343c92
parent6fc21b82ef74911887ced1aff8d37ce079bb8b36
sh: Fix store queue bitmap end.

The end of the store queue bitmap is miscalculated when searching
for a free range in sq_remap(), missing the PAGE_SHIFT shift that's
done in sq_api_init(). This runs in to workloads where we can scan
beyond the end of the bitmap.

Spotted by Paul Jackson:

http://marc.theaimsgroup.com/?l=linux-kernel&m=116493191224097&w

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4/sq.c