Re: [PATCH] x86_64: fix delayed signals

Peter T. Breuer
2008-07-13T18:46:16Z

In article <alpine.LFD.1.10.0807131121430.2959@woody.linux-foundation.org> 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