From: Andres Lagar-Cavilla Date: Tue, 15 Jan 2013 03:35:40 +0000 (-0500) Subject: xen/privcmd: Fix mmap batch ioctl. X-Git-Tag: v3.8-rc5~41^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99beae6cb8f4dd5dab81a370b79c3b1085848d89;p=pandora-kernel.git 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 Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed