aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/string-utils.c
diff options
context:
space:
mode:
authorMatthew Sakai <[email protected]>2023-11-16 19:41:15 -0500
committerMike Snitzer <[email protected]>2024-02-20 13:43:13 -0500
commit46766d4888ffdfd2bce91a6879bd6285a92a4881 (patch)
treea0dc55493f92cc3119db381d9f53d717f2a3e39e /drivers/md/dm-vdo/string-utils.c
parenta3957b1f3ec9ec78dd33422f3a8b4ee6781d8e3b (diff)
dm vdo: add memory allocation utilities
This patch adds standardized allocation macros and memory tracking tools to track and report any allocated memory that is not freed. This makes it easier to ensure that the vdo target does not leak memory. This patch also adds utilities for controlling whether certain threads are allowed to allocate memory, since memory allocation during certain critical code sections can cause the vdo target to deadlock. Co-developed-by: J. corwin Coburn <[email protected]> Signed-off-by: J. corwin Coburn <[email protected]> Co-developed-by: Michael Sclafani <[email protected]> Signed-off-by: Michael Sclafani <[email protected]> Co-developed-by: Thomas Jaskiewicz <[email protected]> Signed-off-by: Thomas Jaskiewicz <[email protected]> Co-developed-by: Ken Raeburn <[email protected]> Signed-off-by: Ken Raeburn <[email protected]> Signed-off-by: Matthew Sakai <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/md/dm-vdo/string-utils.c')
0 files changed, 0 insertions, 0 deletions