From fb2cec681ecd09a9039d40493cd667b96c6f7864 Mon Sep 17 00:00:00 2001 From: Christoph Lameter Date: Wed, 3 Oct 2007 20:42:45 -0700 Subject: [PATCH] vcompound: crypto: Fallback for temporary order 2 allocation The crypto subsystem needs an order 2 allocation. This is a temporary buffer for xoring data so we can safely allow fallback. Cc: Dan Williams Signed-off-by: Christoph Lameter --- crypto/xor.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/crypto/xor.c b/crypto/xor.c index b2e6db0..4b11da4 100644 --- a/crypto/xor.c +++ b/crypto/xor.c @@ -101,7 +101,7 @@ calibrate_xor_blocks(void) void *b1, *b2; struct xor_block_template *f, *fastest; - b1 = (void *) __get_free_pages(GFP_KERNEL, 2); + b1 = (void *) __get_free_pages(GFP_VFALLBACK, 2); if (!b1) { printk(KERN_WARNING "xor: Yikes! No memory available.\n"); return -ENOMEM; -- 1.5.4.1