Skip to content

Conversation

@bullhh
Copy link

@bullhh bullhh commented Sep 28, 2025

No description provided.

size,
MappingFlags::empty(),
false,
true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is ok to use 2MB paging in map_linear

BUT in map_alloc, how to handle 2MB page fault for mappings without populated flag?

I believe that there is a way, BUT not well supported in current page_table_multiarch

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree. I think a co-design is necessary.

Copy link

@shilei-massclouds shilei-massclouds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如hky说的那个关于populated 的问题,咱们提交的修改还是尽量考虑覆盖之前的不同情况;如果有目前确实不易处理的分支情况,至少先暂时给出个临时的处理方式,后续在逐步解决。另外,提交时最好还是写一下总的意图和想法,或者给一个指向Issue的链接。

@bullhh
Copy link
Author

bullhh commented Oct 9, 2025

后期周睿将会对内存进行重构一并解决该问题

@bullhh bullhh closed this Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants