diff options
| author | Jinjiang Tu <[email protected]> | 2024-04-02 10:49:34 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-04-25 20:56:41 -0700 |
| commit | 7edea4c6fdf23754c77582a0377791e1aa9d2700 (patch) | |
| tree | ad81eda233c0d60d2cc938b2c418cfe97b06d18b /tools/perf/scripts/python/task-analyzer.py | |
| parent | 0ae0b2b3255339827d9e04017874dfc93f1491c9 (diff) | |
mm/ksm: remove redundant code in ksm_fork
Since commit 3c6f33b7273a ("mm/ksm: support fork/exec for prctl"), when a
child process is forked, the MMF_VM_MERGE_ANY flag will be inherited in
mm_init(). So, it's unnecessary to set the flag in ksm_fork().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jinjiang Tu <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Kefeng Wang <[email protected]>
Cc: Nanyong Sun <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Stefan Roesch <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions