simple_xattr_cache_cleanup(9)
π simple_xattr_cache_cleanup(9)
okay bestie, welcome to the Kernel API Manual β yes we're literally reading kernel docs together, this is our bonding time now π«Ά
β¨ NAME β¨
simple_xattr_cache_cleanup β frees the cache, that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
void simple_xattr_cache_cleanup (struct simple_xattr_cache *cache );
no return value, no drama, she just does her thing and leaves π
π ARGUMENTS π
cacheβ the anchor for the hash table. like, the home base. the main character of this whole situation π«
π¦ DESCRIPTION π¦
so what she does is: she destroys the cache table. gone. bye. π«Ά
and the lore here?? that table was lazily allocated β meaning nobody built it upfront, it only got created when the first xattr was added. so it's like that one friend who only shows up once the party's already started π and now simple_xattr_cache_cleanup is the one turning the lights off.
ngl, she does not check whether anything still needs that table β the description says destroy, and she destroys. do with that information what you will π«Ά
π₯ SEE ALSO π₯
Kernel file ./fs/xattr.c, plus the whole friend group:
may_write_xattr(9)__vfs_setxattr_noperm(9)__vfs_setxattr_locked(9)vfs_listxattr(9)__vfs_removexattr_locked(9)generic_listxattr(9)xattr_full_name(9)simple_xattr_space(9)simple_xattr_free(9)simple_xattr_free_rcu(9)simple_xattr_alloc(9)simple_xattr_get(9)simple_xattr_set(9)simple_xattr_set_limited(9)simple_xattr_list(9)simple_xattr_add(9)simple_xattr_add_limited(9)simple_xattrs_free(9)
and that's the page!! mwah π this one lives in ./fs, stamped October 2026 β go off, little kernel doc, we love you, periodt πβ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms