drm_pagemap...nlock_lookup(9)
π drm_pagemap_cache_unlock_lookup β bestie's edish of the Kernel API Manual, section 9
okay so picture this: you're in the Kernel API Manual (yes, the whole thing, section 9 energy), and the page you landed on is called drm_pagemap...nlock_lookup(9) β iconic, slightly truncated name, we love a mysterious queen. Anyway. It's the one about unlocking a drm_pagemap_cache after a lookup. That's the whole vibe. Let's get into it β¨
π NAME π
drm_pagemap_cache_unlock_lookup β unlocks a drm_pagemap_cache after a lookup. That's it, that's the girl. π
πΈ SYNOPSIS πΈ
void drm_pagemap_cache_unlock_lookup (struct drm_pagemap_cache *cache );
no return value, just vibes and a pointer. periodt. π
π¦ ARGUMENTS π¦
cacheβ thedrm_pagemap_cacheyou wanna unlock. that's the one. hand her over and she gets unlocked, no cap π«Ά
π₯ SEE ALSO π₯
the whole group chat, fr fr β go read these too:
- Kernel file
./drivers/gpu/drm/drm_pagemap_util.c struct drm_pagemap_cache(9)struct drm_pagemap_shrinker(9)drm_pagemap_cache_create_devm(9)Cache lookup(9)drm_pagemap_cache_lock_lookup(9)drm_pagemap_get_from_cache(9)drm_pagemap_cache_set_pagemap(9)drm_pagemap_get_from_cache_if_active(9)drm_pagemap_shrinker_might_lock(9)drm_pagemap_shrinker_add(9)drm_pagemap_shrinker_create_devm(9)struct drm_pagemap_owner(9)drm_pagemap_release_owner(9)interconnect_fn(9)drm_pagemap_acquire_owner(9)
like, the lock/unlock duo really said "we are a package deal" β drm_pagemap_cache_lock_lookup(9) is literally right there in the list, iykyk π
lowkey reminder bestie: this is the unlock side of the lookup dance. if you haven't locked, maybe go check drm_pagemap_cache_lock_lookup(9) first β that's literally all the manpage says, so don't come for me π
and that's the page! mwah π source stew: ./drivers/gpu/drm, dated October 2026 β write that down, bestie, it's giving archival queen ππ
π¦ 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