Messages in this thread | ![/](/images/icornerl.gif) | | Date | 9 Oct 2003 18:34:54 +0200 | Date | Thu, 9 Oct 2003 18:34:53 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH] Fix mlockall for PROT_NONE mappings |
| |
On Thu, Oct 09, 2003 at 08:40:09AM -0700, Linus Torvalds wrote: > > On Thu, 9 Oct 2003, Andi Kleen wrote: > > > > Ok, here's a new version. > > Still won't work. > > You need to call mlock_fixup() to split the vma properly (it might not > cover the whole vma, and we _do_ want to keep track of the VM_LOCKED flag > correctly.
I don't think so. mlockall() should never split anything.
mlock may, but I didn't change its behaviour.
-Andi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |