Re: [PATCH] x86_64: fix delayed signals

From: Peter T. Breuer
Date: Sun Jul 13 2008 - 14:46:17 EST


In article <alpine.LFD.1.10.0807131121430.2959@xxxxxxxxxxxxxxxxxxxxxxxxxx> you wrote:
> Anyway, I misunderstood Edwins idea to actually throw away the writes if
> the file isn't linked anywhere and is only open for writing. I guess we

I don't understand it. The process can still clone itself and its
children may want to look at what it has written (maybe there's too much
file to fit in an mmap all at once) via the same file descriptor. Come
to that, the process itself may want to look at what it's written!

Saving memory is the idea behind writing to disk sometimes. Unlinking
your target is sensible if you want to keep your thoughts private ..

Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/