diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2022-02-17 11:24:03 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2022-02-22 22:25:01 +0100 |
commit | f1c1a9ee00e4c53c9ccc03ec1aff4792948a25eb (patch) | |
tree | 4aa7ee5151dc0add64993ae773b97f33a92fa427 /include/linux/sched | |
parent | 7865aba3ade4cf30f0ac08e015550084a50d9afb (diff) |
fork: Move memcg_charge_kernel_stack() into CONFIG_VMAP_STACK
memcg_charge_kernel_stack() is only used in the CONFIG_VMAP_STACK case.
Move memcg_charge_kernel_stack() into the CONFIG_VMAP_STACK block and
invoke it from within alloc_thread_stack_node().
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/20220217102406.3697941-6-bigeasy@linutronix.de
Diffstat (limited to 'include/linux/sched')
0 files changed, 0 insertions, 0 deletions