reassign_resources_sorted(9)
π reassign_resources_sorted(9)
okay so this is a page straight out of the Kernel API Manual, and it's about reassign_resources_sorted β yes bestie, that's the whole name, we're not abbreviating, we're not shortening it, we respect her π
β¨ NAME β¨
reassign_resources_sorted β satisfy any additional resource requests πΈ
like, the whole job. that's it. she provides. she satisfies. periodt.
π¦ SYNOPSIS π¦
void reassign_resources_sorted (struct list_head *realloc_head , struct
list_head *head );
returns void, takes two struct list_head * pointers, and the spacing in that signature is exactly how the original has it β don't come for me, I'm keeping it character for character π
π ARGUMENTS π
realloc_headβ head of the list tracking requests requiring additional resources. it's giving "the wishlist" energy β¨ these are the elements that are like "heyβ¦ I need more" πheadβ head of the list tracking requests with allocated resources. this one's the "already got mine" list, lowkey the established icon of the two π
π DESCRIPTION π
so here's the vibe: it walks through each element of the realloc_head β every single one, no skipping, main character energy β and tries to procure additional resources for that element, provided the element is in the head list.
that "provided" is doing a lot of work, ngl. the element has to already be in head for the extra resources to happen. no membership, no resourcing. that's the rule, iykyk π«Ά
walk the list β check it's in head β try to get it more resources. slay, that's the algorithm π
π₯ SEE ALSO π₯
- Kernel file
./drivers/pci/setup-bus.c pci_dev_res_add_to_list(9)pbus_select_window_for_type(9)pbus_select_window(9)assign_requested_resources_sorted(9)pbus_size_io(9)pbus_size_mem(9)
the whole PCI setup-bus friend group fr fr, go read them too π§
π reminder that this is <bold>Kernel API Manual</bold> territory β real kernel internals, not vibes-only. everything above is exactly what the page says, just with better hair π
and that's the page babes π β sourced from ./drivers/pci, dated October 2026, and yeah the footer says reassign_resources_sorted(9) again because we love a full-circle moment πβπ
π¦ 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