While the Linux kernel has inclusive terminology guidelines for the past five years to replace phrases like master/slave and blacklist/whitelist, there has surprisingly been a “genocide” function within the kernel that was questioned when it was first submitted for inclusion but now removed in Linux 6.19.
Introduced to the Linux kernel back in 2023 was the d_genocide() function as part of various dcache updates to the kernel. The genocide name was questioned when the patches were first posted by longtime Linux developer Al Viro



I feel like there could have been better names possible…
d_recursive_killperhaps? I’m certainly not an expert in this system but I find it challenging to believe that “genocide” was the only word that is adequately descriptive of the functionality.In fact, I’d argue it’s not that descriptive, given that genocide involves targeting some group of people based on some trait, like race, culture, disability, etc. - based on the description “kill given dentry, along with all its children, all their children, etc.” that doesn’t seem to fit…
perhaps I’m overthinking.
the person who can’t think of a word other than “genocide” is underthinking, for sure.
d_ethnic_cleansing