Quoting r. Roland Dreier <[email protected]>:
> Subject: Re: [PATCH 11/16] IB uverbs: add mthca mmap support
>
> Andrew> What's the thinking behind the VM_DONTCOPY there?
>
> As I said before, I don't think the thinking behind VM_DONTCOPY was
> correct thinking. Let's take it out.
Roland, I think VM_DONTCOPY is needed here.
If a process forks, we must prevent the child from accessing
the parent's hardware page. Otherwise the child can corrupt
the parent's queues since the hardware wont be able to distinguish
between parent and child.
Does this make sense?
--
MST
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|