From: Roger Pau Monne Date: Thu, 2 May 2013 08:21:17 +0000 (+0200) Subject: xen-blkback: allocate list of pending reqs in small chunks X-Git-Tag: v3.11-rc3~32^2~9^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb642e8315fd573795e8b6fa9b9629064d73add1;p=pandora-kernel.git xen-blkback: allocate list of pending reqs in small chunks Allocate pending requests in smaller chunks instead of allocating them all at the same time. This change also removes the global array of pending_reqs, it is no longer necessay. Variables related to the grant mapping have been grouped into a struct called "grant_page", this allows to allocate them in smaller chunks, and also improves memory locality. Signed-off-by: Roger Pau Monné Reported-by: Sander Eikelenboom Tested-by: Sander Eikelenboom Reviewed-by: David Vrabel Cc: David Vrabel Cc: Konrad Rzeszutek Wilk Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed