Re: [PATCH 00/10] foundations for reserve-based allocation



On Monday 06 August 2007 11:17, Peter Zijlstra wrote:
And how do we know a page was taken out of the reserves?

Why not return that in the low bit of the page address? This is a
little more cache efficient, does not leave that odd footprint in the
page union and forces the caller to examine the
alloc_pages(...P_MEMALLOC) return, making it harder to overlook the
fact that it got a page out of reserve and forget to put one back
later.

Regards,

Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [RFC/PATCH] RLIMIT_ARG_MAX
    ... On Fri, 29 Feb 2008, Peter Zijlstra wrote: ... and the whole notion is just stupid. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: fair group scheduler not so fair?
    ... Peter Zijlstra wrote: ... With 3 tasks in group a, 2 in group b, it's still pretty poor: ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: 2.6.24-rc6: possible recursive locking detected
    ... On 01/05, Peter Zijlstra wrote: ... I think this would be the most correct change. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [PATCH 1/2] sunrpc: add missing spin_unlock
    ... Peter Zijlstra wrote: ... I wonder if this will fix http://bugzilla.kernel.org/show_bug.cgi?id=7457 ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [PATCH 02/29] mm: slab allocation fairness
    ... On 2/21/07, Peter Zijlstra wrote: ... slab even more complex. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)