__cacheline..._end_aligned(9)
π
__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 π₯
- Kernel file
./include/linux/cache.h SMP_CACHE_ALIGN(9)__cacheline_group_begin_aligned(9)β her other half, the beginning to this ending, iykyk ππ
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
- 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