diff options
author | Peter Zijlstra <[email protected]> | 2022-10-25 21:38:21 +0200 |
---|---|---|
committer | Dave Hansen <[email protected]> | 2022-12-15 10:37:26 -0800 |
commit | 3f4c8211d982099be693be9aa7d6fc4607dff290 (patch) | |
tree | 73952d2029b3801e0930e16cd5494443d2e3b5b0 /tools/perf/scripts/python/libxed.py | |
parent | af80602799681c78f14fbe20b6185a56020dedee (diff) |
x86/mm: Use mm_alloc() in poking_init()
Instead of duplicating init_mm, allocate a fresh mm. The advantage is
that mm_alloc() has much simpler dependencies. Additionally it makes
more conceptual sense, init_mm has no (and must not have) user state
to duplicate.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions