summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlan Huang <mmpgouride@gmail.com>2025-06-13 21:19:50 +0800
committerKent Overstreet <kent.overstreet@linux.dev>2025-06-15 22:11:55 -0400
commit9b9a3270092bf8030dbe21ce90b2d0c8d98d33c7 (patch)
tree9ab48fe018724f6af424abff1382ec8d713171bb /tools/perf/scripts/python
parent3bd6f8aeae3d3f8121cbae5a8650a46622aa4e07 (diff)
bcachefs: Don't allocate new memory when mempool is exhausted
Allocating new memory when mempool is exhausted is too complicated, just return ENOMEM is fine. memcpy is not needed, since there might be pointers point to the old memory, that's the bug. Signed-off-by: Alan Huang <mmpgouride@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions