Skip to content

Commit 9e55751

Browse files
committed
slub_walker: document cache merging in NOTES section
1 parent a09f135 commit 9e55751

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sdb/commands/linux/slabs.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,13 @@ class SlubCacheWalker(sdb.Walker):
236236
default Linux kernel config file that most distros use
237237
and thus is very inefficient on traversing the entries
238238
and slabs of each cache.
239+
240+
Another thing to keep in mind is Linux SLUB allocator's
241+
merging behavior. Some systems are tuned to merge together
242+
caches whose entries are of the same size where it makes
243+
sense. As a result, when using this walker the user may
244+
run into entries that don't make sense given the cache's
245+
name.
239246
"""
240247

241248
names = ["slub_cache"]

0 commit comments

Comments
 (0)