kernel-hacking-2024-linux-s.../drivers/block/xen-blkback
Roger Pau Monne bb642e8315 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é <roger.pau@citrix.com>
Reported-by: Sander Eikelenboom <linux@eikelenboom.it>
Tested-by: Sander Eikelenboom <linux@eikelenboom.it>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2013-05-07 09:42:17 -04:00
..
blkback.c xen-blkback: allocate list of pending reqs in small chunks 2013-05-07 09:42:17 -04:00
common.h xen-blkback: allocate list of pending reqs in small chunks 2013-05-07 09:42:17 -04:00
Makefile
xenbus.c xen-blkback: allocate list of pending reqs in small chunks 2013-05-07 09:42:17 -04:00