diff options
author | 2013-03-18 17:49:35 +0100 | |
---|---|---|
committer | 2013-03-19 12:50:06 -0400 | |
commit | 9c1e050caeb4d1250f8ceef1180a8b3d0db6c624 (patch) | |
tree | b3fb576a47d4a86005de189da69fde0d8a22072b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xen-blkback: don't store dev_bus_addr (diff) | |
download | linux-dev-9c1e050caeb4d1250f8ceef1180a8b3d0db6c624.tar.xz linux-dev-9c1e050caeb4d1250f8ceef1180a8b3d0db6c624.zip |
xen-blkfront: pre-allocate pages for requests
This prevents us from having to call alloc_page while we are preparing
the request. Since blkfront was calling alloc_page with a spinlock
held we used GFP_ATOMIC, which can fail if we are requesting a lot of
pages since it is using the emergency memory pools.
Allocating all the pages at init prevents us from having to call
alloc_page, thus preventing possible failures.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xen.org
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions