diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2023-04-18 23:53:49 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-18 23:53:49 +0200 |
commit | f8f238ffe5e96a924a2ddbbaa872231fbf2c0d7b (patch) | |
tree | 6d1a2fc13d6d1e0737888bd3a7a8387097fbeb05 /kernel/fork.c | |
parent | sync mm-stable with mm-hotfixes-stable to pick up depended-upon upstream changes (diff) | |
parent | nilfs2: initialize unused bytes in segment summary blocks (diff) | |
download | linux-f8f238ffe5e96a924a2ddbbaa872231fbf2c0d7b.tar.xz linux-f8f238ffe5e96a924a2ddbbaa872231fbf2c0d7b.zip |
sync mm-stable with mm-hotfixes-stable to pick up depended-upon upstream changes
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 9051bc07b600..639228be0115 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1308,6 +1308,7 @@ static struct mm_struct *mm_init(struct mm_struct *mm, struct task_struct *p, fail_pcpu: while (i > 0) percpu_counter_destroy(&mm->rss_stat[--i]); + destroy_context(mm); fail_nocontext: mm_free_pgd(mm); fail_nopgd: |