commit | 1714f9bfc92d6ee67e84127332a1fae27772acfe | [log] [tgz] |
---|---|---|
author | Andi Kleen <ak@suse.de> | Mon Apr 16 10:30:27 2007 +0200 |
committer | Andi Kleen <andi@basil.nowhere.org> | Mon Apr 16 10:30:27 2007 +0200 |
tree | a89256be07359cbb0586a52c00ae985e1de12561 | |
parent | 08269c6d38e003adb12f55c6d795daa89bdc1bae [diff] |
[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 <ak@suse.de>