]> bbs.cooldavid.org Git - net-next-2.6.git/commit - mm/mempolicy.c
[PATCH] mempolicies: private pointer in check_range and MPOL_MF_INVERT
authorChristoph Lameter <clameter@sgi.com>
Sun, 8 Jan 2006 09:01:01 +0000 (01:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:12:44 +0000 (20:12 -0800)
commit38e35860dbe6197a4b42eb6e8b47da940b7695dd
tree2794681eb62c4bd84e186693df265c9f1a0b28f4
parentef2bf0dc8675e14cf8cba3b7fb9f48d72640a70e
[PATCH] mempolicies: private pointer in check_range and MPOL_MF_INVERT

This was was first posted at
http://marc.theaimsgroup.com/?l=linux-mm&m=113149240227584&w=2

(Part of this functionality is also contained in the direct migration
pathset. The functionality here is more generic and independent of that
patchset.)

- Add internal flags MPOL_MF_INVERT to control check_range() behavior.

- Replace the pagelist passed through by check_range by a general
  private pointer that may be used for other purposes.
  (The following patches will use that to merge numa_maps into
  mempolicy.c and to better group the page migration code in
  the policy layer)

- Improve some comments.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mempolicy.c