Signed-off-by: Eric W. Biederman <[email protected]> --- 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [RFC][PATCH 15/20] posix-timers: Update posix timers to work with pspaces.
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 15/20] posix-timers: Update posix timers to work with pspaces.
- References:
- [RFC][PATCH 0/20] Multiple instances of the process id namespace
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 01/20] pid: Intoduce the concept of a wid (wait id)
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 02/20] pspace: The parent process id of pid 1 is always 0.
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 03/20] pid: Introduce a generic helper to test for init.
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 04/20] pspace: Allow multiple instaces of the process id namespace
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 05/20] sched: Fixup the scheduler syscalls to deal with pspaces.
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 06/20] cad_pid: Fixup the cad_pid users to assume it is in the initial process id namespace.
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 07/20] tty: Update the tty layer to work with pspaces.
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 08/20] vt: Update the virtual console to handle pspaces.
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 09/20] ptrace: Update ptrace handle pspaces.
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 10/20] capabilities: Update the capabilities code to handle pspaces.
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 11/20] ioprio: Update ioprio to handle pspaces.
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 12/20] fcntl: Update fcntl to work with pspaces.
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 13/20] kthread: Update kthread to work with pspaces.
- From: [email protected] (Eric W. Biederman)
- [RFC][PATCH 0/20] Multiple instances of the process id namespace
- Prev by Date: Re: [PATCH 1/5] cpuset memory spread basic implementation
- Next by Date: [patch] x86: print out early faults via early_printk()
- Previous by thread: [RFC][PATCH 13/20] kthread: Update kthread to work with pspaces.
- Next by thread: [RFC][PATCH 15/20] posix-timers: Update posix timers to work with pspaces.
- Index(es):