__cacheline..._end_aligned(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __cacheline..._end_aligned β€” Kernel API Manual ✨

okay so bestie, welcome to the Kernel API Manual, and today's main character is __cacheline_group_end_aligned. she's the closing bracket of the cacheline group world, and honestly? iconic. πŸŽ€


🌸 NAME 🌸

__cacheline_group_end_aligned β€” declare an aligned group end. that's it, that's the vibe. she ends things, and she ends them aligned. periodt. πŸ’…


✨ SYNOPSIS ✨

__cacheline_group_end_aligned (GROUP , ... );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • GROUP β€” name of the group. literally just the group's name, bestie, nothing deeper than that πŸ’–
  • ... β€” optional alignment. and no, you don't get to invent a new one: it's the same as was in __cacheline_group_begin_aligned, so keep it matching or the vibes will be off πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea πŸ“ and it's important:

note that the end marker is aligned to sizeof(long) β€” that's so you can do a more precise size assertion. yes, precision! we love her! ✨

she also declares a padding at the end, and the whole reason is to avoid the next field falling into this cacheline. like, no cap, that's the entire point β€” nobody's field is crashing this cacheline's party. 🚫🫢


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, bestie! 🌈 this one came out of ./include/linux and the manual's stamped October 2026, so jot that down, mwah πŸ’‹πŸ‘‘

πŸ“¦ where this page comes from