Commit 6989680f authored by Ma Wupeng's avatar Ma Wupeng Committed by Wupeng Ma
Browse files

arm64: mm: Introduce procfs interface to update PBHA0 bit

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7ZC0H



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

Introduce /proc/<pid>/pbha_bit0 to update PBHA bit0.

Value 0/1 can be accepted by this procfs:
- 0: iter all vmas of this task, clear VM_PBHA_BIT0 for all vmas.
  New vma will stop bring VM_PBHA_BIT0 if exists. clear PTE 59 bit for
  all pte entries.
- 1: iter all vmas of this task, set VM_PBHA_BIT0 for all vmas.
  New vma will bring VM_PBHA_BIT0 by default. set PTE 59 bit for
  all pte entries.

Signed-off-by: default avatarMa Wupeng <mawupeng1@huawei.com>
parent 46f07926
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment