diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2022-02-17 11:24:03 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2022-02-22 22:25:01 +0100 |
commit | f1c1a9ee00e4c53c9ccc03ec1aff4792948a25eb (patch) | |
tree | 4aa7ee5151dc0add64993ae773b97f33a92fa427 /net/unix/af_unix.c | |
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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions