ttm_pool_syn...ze_shrinkers(9)
π ttm_pool_synchronize_shrinkers β the Kernel API Manual era π
okay so bestie, you're reading the page for ttm_pool_synchronize_shrinkers(9) from the Kernel API Manual, and honestly? it's a short one but it matters, so let's get into it β¨
πΈ NAME πΈ
ttm_pool_synchronize_shrinkers β the vibe is "wait for all running shrinkers to complete", no cap π«Ά
β¨ SYNOPSIS β¨
void ttm_pool_synchronize_shrinkers (void );
π¦ ARGUMENTS π¦
voidβ no arguments. literally none. she takes nothing, she gives everything π
π DESCRIPTION π
okay so here's the tea π β this one is useful to guarantee that all shrinker invocations have seen an update, before freeing memory, similar to rcu.
that's it. that's the whole flex. you call her, she makes sure every shrinker out there has caught up to your update before you go freeing memory, so nobody's out here reading stale info and causing chaos π it's giving "responsible group-chat admin making sure everyone saw the announcement before the plans change" energy, fr fr π
π₯ SEE ALSO π₯
the whole friend group, gathered for you π β and they all live in the kernel file ./drivers/gpu/drm/ttm/ttm_pool.c:
struct ttm_pool_dma(9)struct ttm_pool_alloc_state(9)struct ttm_pool_tt_restore(9)- Partial backup and restoration of a
struct ttm_tt.(9) ttm_pool_free_range(9)ttm_pool_alloc(9)ttm_pool_restore_and_alloc(9)ttm_pool_free(9)ttm_pool_drop_backed_up(9)ttm_pool_backup(9)ttm_pool_init(9)ttm_pool_fini(9)ttm_pool_debugfs(9)ttm_pool_mgr_init(9)ttm_pool_mgr_fini(9)
ngl bestie, if you're poking around this one you're probably also gonna need half the list above, so likeβ¦ go read them too π
and that's the whole page!! sourced from ./drivers/gpu/drm/ttm, dated October 2026 β go off, synchronize those shrinkers, and remember: update first, free later, always πβ¨π
π¦ 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