Bug 28344 - Batch flusing user memory encrytion status change
Summary: Batch flusing user memory encrytion status change
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: mm (show other bugs) mm
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: baolinwang
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-22 10:57 UTC by nizhiguang
Modified: 2025-12-22 11:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nizhiguang hygon_group 2025-12-22 10:57:20 UTC
Description of problem:

Each time when a user page encryption status changes, invoking hypercall to map/unmap the page from iommu page table is expensive as to performance, besides, on CSV3 platform, changing the page between private and shared is very expensive.

The patch enables batch operation of pages should change their encryption status, optimize the perfromance.
Comment 1 小龙 admin 2025-12-22 11:04:04 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/6238