Re: [openib-general] Re: madvise MADV_DONTFORK/MADV_DOFORK

From: Linus Torvalds
Date: Mon Feb 13 2006 - 17:26:09 EST




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
-
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/