diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-05-21 01:05:04 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-28 21:18:13 -0400 |
commit | 0dfe0437483fc7e470200896b999e9441c176e64 (patch) | |
tree | e648aa18a12aad67c60d234cabb65ee551cd9da5 /lib/test-string_helpers.c | |
parent | 784025a8b8a1314e7091be98bdaa9d32ff18969c (diff) |
rhashtable: Better error message on allocation failure
Memory allocation failures print backtraces by default, but when we're
running out of a rhashtable worker the backtrace is useless - it doesn't
tell us which hashtable the allocation failure was for.
This adds a dedicated warning that prints out functions from the
rhashtable params, which will be a bit more useful.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Thomas Graf <tgraf@suug.ch>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions