diff options
author | 2015-07-03 10:22:42 +0100 | |
---|---|---|
committer | 2015-07-05 21:59:37 -0400 | |
commit | a822c83e47d97cdef38c4352e1ef62d9f46cfe98 (patch) | |
tree | 96a7061154282acf52ae7b2145d4669426073880 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dm btree remove: fix bug in redistribute3 (diff) | |
download | wireguard-linux-a822c83e47d97cdef38c4352e1ef62d9f46cfe98.tar.xz wireguard-linux-a822c83e47d97cdef38c4352e1ef62d9f46cfe98.zip |
dm thin: allocate the cell_sort_array dynamically
Given the pool's cell_sort_array holds 8192 pointers it triggers an
order 5 allocation via kmalloc. This order 5 allocation is prone to
failure as system memory gets more fragmented over time.
Fix this by allocating the cell_sort_array using vmalloc.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions