Messages in this thread | | | From | David Mosberger <> | Date | Tue, 23 Jul 2002 10:36:54 -0700 | Subject | Re: [PATCH] VM accounting 3/3 noreserve |
| |
>>>>> On Tue, 23 Jul 2002 18:29:22 +0100 (BST), Hugh Dickins <hugh@veritas.com> said:
Hugh> MAP_NORESERVE handling remains odd: doesn't have its own Hugh> VM_flag, so mprotect a private readonly MAP_NORESERVE mapping Hugh> to writable and the reservation is then made/checked (see Hugh> vmacct2 patch). I don't mind adding VM_NORESERVE to fix that Hugh> later, if MAP_NORESERVE users think it necessary: David?
Well, if we support MAP_NORESERVE, we ought to do it consistently and correctly (note: my original report was triggered by a third party getting confused because MAP_NORESERVE didn't work as expected).
--david - 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/
| |