dim_on_top(9)
π dim_on_top(9)
okay bestie, welcome to the Kernel API Manual β today's main character is dim_on_top(9), and honestly? she's a little vibe-checker. β¨
πΈ NAME
dim_on_top β check if current state is a good place to stop (top location) π
like, is this a cute spot to park? that's literally her whole job.
π¦ SYNOPSIS
bool dim_on_top (struct dim *dim );
yep, that's it. returns a bool, takes one struct dim *, slays. π
π ARGUMENTS
dimβ the DIM context, bestie. it's giving "hand me the whole situation" energy.
π₯ DESCRIPTION
okay so here's the tea β β this function checks if the current profile is a good place to park at.
the consequence? it reduces the DIM checks frequency, because we're assuming we shouldn't probably change profiles β unless the traffic pattern wasn't changed. π«Ά
so like, it's a "chill, we're good here" signal. no cap. π
π§ SEE ALSO
Kernel file ./include/linux/dim.h plus the whole friend group:
struct dim_cq_moder(9)struct dim_irq_moder(9)struct dim_sample(9)struct dim_stats(9)struct dim(9)enum dim_cq_period_mode(9)enum dim_state(9)enum dim_tune_state(9)enum dim_stats_state(9)enum dim_step_result(9)net_dim_init_irq_moder(9)net_dim_free_irq_moder(9)net_dim_setting(9)net_dim_work_cancel(9)net_dim_get_rx_irq_moder(9)net_dim_get_tx_irq_moder(9)net_dim_set_rx_mode(9)net_dim_set_tx_mode(9)dim_turn(9)dim_park_on_top(9)dim_park_tired(9)dim_calc_stats(9)dim_update_sample(9)dim_update_sample_with_comps(9)net_dim_get_rx_moderation(9)net_dim_get_def_rx_moderation(9)net_dim_get_tx_moderation(9)net_dim_get_def_tx_moderation(9)net_dim(9)rdma_dim(9)
bestie reminder: dim_park_on_top(9) is right there in that list if you wanna go park for real. iykyk π¦
k that's the whole page!! mwah π this little cutie lives in ./include/linux and the version/date stamp on her is October 2026 β so yeah, she's from the future, iconic behavior honestly πβ¨πΈ
π¦ 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