> - /* Don't swap out areas which are locked down */
> - if (vma->vm_flags & (VM_LOCKED|VM_RESERVED))
> + /* Don't swap out areas which are reserved */
> + if (vma->vm_flags & VM_RESERVED)
> return count;
Although I agree what you said about differences of old and new VM, I believe
the above was not really what Ben intended to do by mlocking. I mean, you swap
them out right now, or not?
Regards,
Stephan
-
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/