eeh_remove_event(9)
π eeh_remove_event(9) β like, the one from the Kernel API Manual, bestie
Okay so picture this: you're deep in the kernel, you've got an EEH event queue, and some of those events are literally just reruns of an event you already handled. Not me writing a whole manpage about deleting duplicates π but here we are. Slay.
β¨ NAME β¨
eeh_remove_event β remove an EEH event from the queue. That's it, that's the whole vibe. Gone. Deleted. Blocked. π
π¦ SYNOPSIS π¦
void eeh_remove_event (struct eeh_pe *pe , bool force );
Look at her. Iconic signature. Note the exact spacing, we don't "fix" things here, that's her character π
πΈ DESCRIPTION πΈ
So on the PowerNV platform, there's this whole situation: the events that come in after can turn out to be part of the former one. Like... they're not their own thing, they're just the same event showing up again in a different outfit π
When that happens, those subsequent coming events are totally duplicated and unnecessary, and therefore they should be removed. Yeah. Off the queue. No notes.
That's the whole story β eeh_remove_event is the function that does the removing. Main character energy, honestly π
π ARGUMENTS π
peβ the event binding to the PE. Yeah, it's astruct eeh_pe *, she's got opinions and a type. Fr fr.forceβ abool, and when this is set the event will be removed unconditionally. No questions, no vibe check, it's just gone π
π§ SEE ALSO π§
- Kernel file
./arch/powerpc/kernel/eeh_event.c eeh_event_handler(9)eeh_event_init(9)
Go read those too, they're the supporting cast and they ate π₯
Lowkey a reminder: this page is documenting kernel API behaviour, so take the duplication thing seriously even while I'm out here being cute about it π«Ά
β okay bye babes, this page lives in ./arch/powerpc/kernel, it's dated October 2026, and that's the whole manual, periodt π
π¦ 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