By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Linux 6.19 Gets Rid Of The Kernel’s “Genocide” Function
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Linux 6.19 Gets Rid Of The Kernel’s “Genocide” Function
Computing

Linux 6.19 Gets Rid Of The Kernel’s “Genocide” Function

News Room
Last updated: 2025/12/10 at 4:05 AM
News Room Published 10 December 2025
Share
Linux 6.19 Gets Rid Of The Kernel’s “Genocide” Function
SHARE

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. His response at the time was:

“kill_them_all(), on the account of that being what it’s doing?

I can explain the problems with each of your suggested identifiers, if you really wish that, but I would [strongly] suggest taking that off-list.

As for the bad words… google “jesux” someday. Yes, we do have identifiers like “kill”, “abort”, etc. and those are really not going anywhere; live with it.”

And further adding:

“To elaborate a bit: what that function does (well, tries to do – it has serious limitations, which is why there is only one caller remaining and that one is used only when nothing else can access the filesystem anymore) is “kill given dentry, along with all its children, all their children, etc.”

I sincerely doubt that you will be able to come up with _any_ word describing such action in any real-world context that would not come with very nasty associations.

Context: a bunch of filesystems have directory tree entirely in dcache; creating a file or directory bumps the reference count of dentry in question, so instead of going back to 0 after e.g. mkdir(2) returns it is left with refcount 1, which prevents its eviction. In effect, all positive dentries in there are artificially kept busy. On rmdir(2) or unlink(2) that extra reference is dropped and they get evicted.”

Fast forward two years, now with this merge to the Linux 6.19 kernel the “d_genocide()” and “DCACHE_GENOCIDE” related code is no more.

The genocide code was called from the kill_litter_super() function and Al Viro explained in the pull request:

“instead of having kill_litter_super() mess with removing the remaining “leaked” references (e.g. for all tmpfs files that hadn’t been removed prior to umount), have the regular shrink_dcache_for_umount() strip DCACHE_PERSISTENT of all dentries, dropping the corresponding reference if it had been set. After that kill_litter_super() becomes an equivalent of kill_anon_super().”

The “genocide” term was only ever used as a function name and not displayed to end-users, but in any event with Linux 6.19 has now been removed as part of this code restructuring.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Securing AI Assistants: Strategies and Practices for Protecting Data Securing AI Assistants: Strategies and Practices for Protecting Data
Next Article I ditched my smartphone to listen to music on my decade-old iPod — here’s what happened I ditched my smartphone to listen to music on my decade-old iPod — here’s what happened
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Linux Fixes A Performance Regression In The Slab Code
Linux Fixes A Performance Regression In The Slab Code
Computing
Hinge CEO steps down to launch Overtone, an AI dating app |  News
Hinge CEO steps down to launch Overtone, an AI dating app | News
News
Humans less likely to cheat than chimps in ‘monogamy league tables’
Humans less likely to cheat than chimps in ‘monogamy league tables’
News
BEYOND Expo 2025: Foreign brands in China must adapt to its unique social media ecosystem, expert says · TechNode
BEYOND Expo 2025: Foreign brands in China must adapt to its unique social media ecosystem, expert says · TechNode
Computing

You Might also Like

Linux Fixes A Performance Regression In The Slab Code
Computing

Linux Fixes A Performance Regression In The Slab Code

2 Min Read
BEYOND Expo 2025: Foreign brands in China must adapt to its unique social media ecosystem, expert says · TechNode
Computing

BEYOND Expo 2025: Foreign brands in China must adapt to its unique social media ecosystem, expert says · TechNode

4 Min Read
Former NBA star Meta World Peace talks basketball, business, and China · TechNode
Computing

Former NBA star Meta World Peace talks basketball, business, and China · TechNode

4 Min Read
UBTECH unveils latest humanoids with cosplay performance on stage · TechNode
Computing

UBTECH unveils latest humanoids with cosplay performance on stage · TechNode

2 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?