interconnect_fn(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… interconnect_fn(9) β€” a Kernel API Manual moment

okay bestie, welcome to interconnect_fn(9) from the Kernel API Manual, and honestly? she's a little function with a big job. Let's get into it 🫢


✨ NAME ✨

interconnect_fn β€” the callback function that figures out whether two things are connected by a fast interconnect πŸ”₯


πŸ¦‹ SYNOPSIS πŸ¦‹

bool interconnect_fn (struct drm_pagemap_peer *peer1 , struct
drm_pagemap_peer *peer2 );

πŸŽ€ ARGUMENTS πŸŽ€

  • peer1 β€” the first endpoint. one half of our lil duo πŸ’–
  • peer2 β€” the second endpoint. the other half 🫢

🌸 DESCRIPTION 🌸

So here's the vibe: the function returns true iff peer1 and peer2 have a fast interconnect. iykyk ✨

but wait β€” heads up, bestie: this is symmetrical. the function has no notion of client and provider, which may not be sufficient in some cases 😭. like, it literally does not care who's who, it just answers the question.

and there's a reason for that, okay? because the callback is intended to guide in providing common pagemap owners, so the notion of a common owner to indicate fast interconnects would then have to change as well. that's the whole tradeoff, and it's iconic of them to be upfront about it πŸ’…


πŸ‘‘ RETURN πŸ‘‘

true iff peer1 and peer2 have a fast interconnect. otherwise false. that's it, that's the whole answer, no cap πŸ’€


🌈 SEE ALSO 🌈

the whole friend group shows up here, so let's give them their moment:


⭐ sign-off ⭐

this page lives in ./drivers/gpu/drm, dated October 2026, and it's part of the Kernel API Manual β€” interconnect_fn(9), periodt πŸ’œ go read the rest of the pagemap girlies, they ate πŸ“βœ¨

πŸ“¦ where this page comes from