0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · edit-26 months agoIn some cultures, that is considered an honor Samantha!sh.itjust.worksimagemessage-square65fedilinkarrow-up1164arrow-down13
arrow-up1161arrow-down1imageIn some cultures, that is considered an honor Samantha!sh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · edit-26 months agomessage-square65fedilink
minus-squareErrantRoleplayer@lemmy.worldlinkfedilinkEnglisharrow-up25·6 months agoI mean… sacrifice child is a whole new one to me! Clearly whoever programmed that in knew what they were doing.
minus-squarethanks_shakey_snake@lemmy.calinkfedilinkarrow-up20arrow-down1·6 months agoYeah lol I’m familiar with “kill child” in a process management context, but I’ve never seen the word “sacrifice” come up. Is that a thing?
minus-squarethallamabond@lemmy.worldlinkfedilinkarrow-up22·6 months ago/* If any of p’s children has a different mm and is eligible for kill, the one with the highest oom_badness() score is sacrificed for its parent. This attempts to lose the minimal amount of work done while still freeing memory. */
minus-squarethanks_shakey_snake@lemmy.calinkfedilinkarrow-up5·6 months agoNice. Imagine the lady in the post’s face when she learns that “oom badness” is how they decide which child to sacrifice. What’s that from?
minus-squaregenuineparts@infosec.publinkfedilinkarrow-up6·edit-26 months agoFrom the source file oom_kill.c in the linux kernel. But it seems this has been reworded or changed since 2019. That’s the commit that removed this.
minus-squareexpr@programming.devlinkfedilinkarrow-up5·6 months agoIt sounds funny but it’s not an uncommon phrase.
I mean… sacrifice child is a whole new one to me! Clearly whoever programmed that in knew what they were doing.
Yeah lol I’m familiar with “kill child” in a process management context, but I’ve never seen the word “sacrifice” come up. Is that a thing?
/*
Nice. Imagine the lady in the post’s face when she learns that “oom badness” is how they decide which child to sacrifice.
What’s that from?
From the source file oom_kill.c in the linux kernel. But it seems this has been reworded or changed since 2019. That’s the commit that removed this.
It sounds funny but it’s not an uncommon phrase.