News for hackers. Stuff that matters.
Re:Do not buy RAM, compress by bayindirh on Thursday November 19, 2026 @01:14PM (#50563770)
I believe one can create a kernel module called leaky_ram to make this possible. No?
Re:Do not buy RAM, compress by kccqzy on Thursday November 19, 2026 @03:52PM (#50566193)
No need for a kernel module. Create a FUSE filesystem in user space on which to create a swap file. Once any written block is more than 2 days old just discard it. When they are accessed give EIO. This IIRC translates to a SIGBUS signal in the process.
Re:Do not buy RAM, compress by JoshTriplett on Thursday November 19, 2026 @10:44PM (#50569885)
If you actually do this, make sure no use of that system ever reports a bug on any software they use, ever.