diff options
| author | Chien Tung <[email protected]> | 2008-11-03 05:37:35 +0000 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2008-11-03 05:37:35 +0000 |
| commit | 35c6d6942c966e6d74ea801d8b5007d7f900ce92 (patch) | |
| tree | af2ecce7950e1f051033a0bd6dc7c6524d904f0c /net/unix/af_unix.c | |
| parent | RDMA/nes: Reindent mis-indented spinlocks (diff) | |
| download | kernel-35c6d6942c966e6d74ea801d8b5007d7f900ce92.tar.gz kernel-35c6d6942c966e6d74ea801d8b5007d7f900ce92.zip | |
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 <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
