Commit 4f4042f1 authored by Wang Wensheng's avatar Wang Wensheng
Browse files

mm: Extend mmap assocated functions to accept mm_struct

ascend inclusion
category: Feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8LNGH



---------------------------------------------

The do_mmap/mmap_region/__mm_populate/do_mbind could only be used to handle
the current process, now the share pool need to handle the other process
and create memory mmaping, so need to export new function to distinguish
different process and handle it, it would not break the current logic
and only valid for share pool.

Signed-off-by: default avatarWang Wensheng <wangwensheng4@huawei.com>
parent 9b1283f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment