Searched hist:"99 beae6cb8f4dd5dab81a370b79c3b1085848d89" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/xen/ |
H A D | privcmd.c | diff 99beae6cb8f4dd5dab81a370b79c3b1085848d89 Mon Jan 14 21:35:40 CST 2013 Andres Lagar-Cavilla <andres@lagarcavilla.org> xen/privcmd: Fix mmap batch ioctl.
1. If any individual mapping error happens, the V1 case will mark *all* operations as failed. Fixed.
2. The err_array was allocated with kcalloc, resulting in potentially O(n) page allocations. Refactor code to not use this array.
Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
|