Thread (11 messages) 11 messages, 6 authors, 2023-11-19

Re: [PATCH] exitz syscall

From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2023-11-12 19:04:21
Also in: lkml

On Sun, Nov 12, 2023 at 10:50:10AM -0800, Linus Torvalds wrote:
However, it still needs to also make sure that the memory in question
is not file-backed etc. Which the patch I saw didn't seem to do
either.
Well, yes.  If the program isn't using a small amount of anonymous
memory, which is also mlock'ed so it doesn't get written to swap, the
rest of it is a total waste of time.

And from what I've seen from the O_PONIES debate (e.g., users
truncating files and rewriting them, and then complaining when the
top-ten score file disappears after the system crashes when they close
the OpenGL connection to the proprietary kernel driver), my basic
assumption is that anything application writers will get wrong, they
probably will....

     	      		  	       - Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help