Messages in this thread | | | From | Imran Khan <> | Subject | [RFC PATCH 0/2] lib, stackdepot: check stackdepot handle before accessing slabs | Date | Wed, 1 Sep 2021 15:19:12 +1000 |
| |
This RFC patch series addresses suggestion discussed in an earlier RFC [1]. Since earlier RFC was about SLUB subsystem, and current changes only involve stackdepot, I am submitting the patches in a new thread.
The changes of this patch set are as follows:
PATCH-1: Checks validity of a stackdepot handle before proceeding to access stackdepot slab/objects.
PATCH-2: Adds a helper in stackdepot, to allow users to print stack entries just by specifying the stackdepot handle.
[1] https://lore.kernel.org/lkml/2772cf56-4183-857f-d070-c54bceb5c8d9@suse.cz/
Imran Khan (2): lib, stackdepot: check stackdepot handle before accessing slabs. lib, stackdepot: Add helper to print stack entries.
lib/stackdepot.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
-- 2.30.2
| |