[openib-general] Re: madvise MADV_DONTFORK/MADV_DOFORK

Linus Torvalds torvalds at osdl.org
Mon Feb 13 14:27:54 PST 2006



On Mon, 13 Feb 2006, Hugh Dickins wrote:
> 
> Almost.  I would still prefer madvise_vma to allow MADV_DONTFORK
> on a VM_IO vma, even though it must prohibit MADV_DOFORK there.
> But if Linus disagrees, of course ignore me.

No, I agree. Quite frankly, I'd be willing to allow even the other way 
around, because I don't see how the VM could screw up, but prohibiting 
DOFORK is clearly the safer thing to do.

		Linus



More information about the general mailing list