Regression introduced by commit "lib/bitmap.c: speed up bitmap_find_free_region"

From: Sachin Kamat
Date: Fri May 31 2013 - 02:45:25 EST


Hi,

While testing MFC decoder on Exynos machines, I encountered some
memory allocation errors due to failure of dma_alloc_coherent().
File: drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c Line: 38.

Git bisect pointed me to the following commit as the first bad commit
(linux-next tree of 20130531):

commit 3d5272d9b289cd0930b2ea9984406d757a72f4dd
Author: Chanho Min <chanho.min@xxxxxxx>
Date: Thu May 23 10:37:28 2013 +1000
lib/bitmap.c: speed up bitmap_find_free_region

Reverting this (and the commit 197e1cf7
("ib-bitmapc-speed-up-bitmap_find_free_region-fix") ) fixes this
issue.

Looks like some regression has been introduced by the above patch?

---
With warm regards,
Sachin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/