Commit 2f35a92a authored by Yang Yanchao's avatar Yang Yanchao Committed by Ma Wupeng
Browse files

mm: gmem: Introduce gmem related madvise opcode

euleros inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7WLVX



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

Introduce new madvise opcode in preparation for hmadvise:

  MADV_PREFETCH: prefetch pages for hNUMA node
  MADV_PINNED: pin pages

In order to avoid conflict to existing or new madvise opcode, make the
new one begin with 0x1000.

Signed-off-by: default avatarYang Yanchao <yangyanchao@huawei.com>
parent afdebb5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment