Re: [PATCH] VM accounting 3/3 noreserve

From: David Mosberger (davidm@napali.hpl.hp.com)
Date: Tue Jul 23 2002 - 12:36:54 EST


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



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:44 EST