News for hackers. Stuff that matters.
Re:The Linux kernel's inability to gracefully handle low mem... by PeCaN on Tuesday August 06, 2019 @03:39AM (#20623046)
This makes sense but is somewhat annoying since a web browser is not the only program running on my computer (but apparently wants to be) and eats up RAM that could be used for the OS file cache.

I wish there was some sort of allocation API specifically for allocating caches so that recently accessed files could kick out a web browser's cache of a not-so-recently accessed tab or vice versa.

Re:The Linux kernel's inability to gracefully handle low mem... by nitrogen on Wednesday August 07, 2019 @12:33PM (#20636294)
POSIX does have something sort of like this in madvise(), but I couldn't find a specific option for the semantics you described.