From: Chien Tung Date: Mon, 3 Nov 2008 05:37:35 +0000 (-0800) Subject: RDMA/nes: Correct handling of PBL resources X-Git-Tag: v2.6.28-rc5~61^2^6~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35c6d6942c966e6d74ea801d8b5007d7f900ce92;p=pandora-kernel.git RDMA/nes: Correct handling of PBL resources * Roll back allocated structures on failures. * Use GFP_ATOMIC instead of GFP_KERNEL since we are holding a lock. * Acquire nesadapter->pbl_lock when modifying PBL counters. * Decrement PBL counters on deallocation. Signed-off-by: Chien Tung Signed-off-by: Roland Dreier --- Reading git-diff-tree failed