From: Andi Kleen Date: Mon, 16 Apr 2007 08:30:27 +0000 (+0200) Subject: [PATCH] x86: Fix potential overflow in perfctr reservation X-Git-Tag: v2.6.21~64^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1714f9bfc92d6ee67e84127332a1fae27772acfe;p=pandora-kernel.git [PATCH] x86: Fix potential overflow in perfctr reservation While reviewing this code again I found a potential overflow of the bitmap. The p4 oprofile can theoretically set bits beyond the reservation bitmap for specific configurations. Avoid that by sizing the bitmaps properly. Signed-off-by: Andi Kleen --- Reading git-diff-tree failed