Messages in this thread Patch in this message | | | Subject | [RFC][PATCH 14/20] mm: Update vmscan to work with pspaces. | From | (Eric W. Biederman) | Date | Mon, 06 Feb 2006 12:59:15 -0700 |
| |
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
---
mm/vmscan.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
c38033f8c948f7fccb92c290f66d3a757c5cec04 diff --git a/mm/vmscan.c b/mm/vmscan.c index 5a61080..ca5fceb 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1802,7 +1802,8 @@ static int __init kswapd_init(void) swap_setup(); for_each_pgdat(pgdat) pgdat->kswapd - = find_task_by_pid(kernel_thread(kswapd, pgdat, CLONE_KERNEL)); + = find_task_by_pid(current->pspace, + kernel_thread(kswapd, pgdat, CLONE_KERNEL)); total_memory = nr_free_pagecache_pages(); hotcpu_notifier(cpu_callback, 0); return 0; -- 1.1.5.g3480 - 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/
| |