diff options
| author | Miaohe Lin <[email protected]> | 2021-06-30 18:50:36 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-06-30 20:47:28 -0700 |
| commit | dac0d1cfda56472378d330b1b76b9973557a7b1d (patch) | |
| tree | a617a57f322f388ad2f88cec22f2e700bb64ee3b /tools/perf/scripts/python | |
| parent | 767cc6c5568afa50ef6abbd4efb61beee56f9cc8 (diff) | |
mm/z3fold: fix potential memory leak in z3fold_destroy_pool()
There is a memory leak in z3fold_destroy_pool() as it forgets to
free_percpu pool->unbuddied. Call free_percpu for pool->unbuddied to fix
this issue.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: d30561c56f41 ("z3fold: use per-cpu unbuddied lists")
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: Vitaly Wool <[email protected]>
Cc: Hillf Danton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions