diff options
| author | Yishai Hadas <[email protected]> | 2012-05-10 20:28:05 +0000 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2012-05-11 18:38:22 +0000 |
| commit | c4870eb874ac16dccef40e1bc7a002c7e9156adc (patch) | |
| tree | 111be5cae7c0180f6e15a06b83dca96da5155491 /tools/perf/util/trace-event-scripting.c | |
| parent | IB/core: Use qp->usecnt to track multicast attach/detach (diff) | |
| download | kernel-c4870eb874ac16dccef40e1bc7a002c7e9156adc.tar.gz kernel-c4870eb874ac16dccef40e1bc7a002c7e9156adc.zip | |
IB/core: Fix mismatch between locked and pinned pages
Commit bc3e53f682d9 ("mm: distinguish between mlocked and pinned
pages") introduced a separate counter for pinned pages and used it in
the IB stack. However, in ib_umem_get() the pinned counter is
incremented, but ib_umem_release() wrongly decrements the locked
counter. Fix this.
Signed-off-by: Yishai Hadas <[email protected]>
Reviewed-by: Christoph Lameter <[email protected]>
Cc: <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
