ap_poll_thread(9)
π ap_poll_thread(9) β Kernel API Manual, but make it make sense
okay so bestie, welcome to the ap_poll_thread(9) page β¨ this is a page from the Kernel API Manual and likeβ¦ it's honestly pretty short but it's important, so let's get into it π«Ά
πΈ NAME πΈ
ap_poll_thread β the thread that goes around polling for finished requests π
like, that's literally her job. that's the whole vibe. she polls. she finds finished requests. she slays. π
β¨ SYNOPSIS β¨
int ap_poll_thread (void *data );
that's it. that's the signature. one int coming back at you, one void * going in π₯
π ARGUMENTS π
dataβ an unused pointer π like, it's just vibing there. nobody touches it. it's decorative. it's giving "extra in the group photo" energy, no cap.
π¦ DESCRIPTION π¦
okay so this is the AP bus poll thread. her whole purpose β and I mean her main character energy purpose β is to poll for finished requests in a loop π
but here's the tea β β she only does it if there's a "free" cpu. and a "free" cpu means a cpu that literally doesn't have anything better to do π like, if that cpu had plans, it would be out. but it's free, so the poll thread gets to hang out there.
and the polling stops as soon as:
- there's another task that needs to run πββοΈ (girl knows when to yield)
- or all messages have been delivered β
so she's not out there hogging the cpu for no reason. she's polite. she's considerate. we love a self-aware thread π
π SEE ALSO π
okay so here's the whole friend group β the Kernel file ./drivers/s390/crypto/ap_bus.c and all the other pages you should absolutely go read next (iykyk) πβ¨
ap_airq_ptr(9)ap_interrupts_available(9)ap_qci_available(9)ap_apft_available(9)ap_init_qci_info(9)ap_request_timeout(9)ap_poll_timeout(9)ap_interrupt_handler(9)ap_tasklet_fn(9)ap_bus_match(9)ap_uevent(9)ap_owned_by_def_drv(9)ap_apqn_in_matrix_owned_by_def_drv(9)ap_select_domain(9)ap_get_configuration(9)ap_scan_bus(9)ap_module_init(9)
and that's the page, bestie π ngl it's a short one but it ate. this came out of ./drivers/s390/crypto and it's dated October 2026 β so yeah, mark your calendar, the poll thread said see you then πβ¨ bye!! π¦πΈ
π¦ 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