Skip to content

Conversation

luodeb
Copy link
Contributor

@luodeb luodeb commented Mar 13, 2025

[  0.007195 0 axruntime::lang_items:5] panicked at /bitmap-allocator-0.2.0/src/lib.rs:200:9:
assertion failed: end <= Self::CAP

The default page allocator cannot support this size without FEATURES=page-alloc-64g enabled.

@luodeb luodeb requested a review from ZR233 March 13, 2025 06:52
@ZR233
Copy link
Contributor

ZR233 commented Mar 13, 2025

是否可将FEATURES=page-alloc-64g作为默认make配置项,因为加载linux示例,文件系统占用超过了128m。@luodeb @aarkegz

@luodeb luodeb requested review from aarkegz and hky1999 March 13, 2025 07:53
@luodeb
Copy link
Contributor Author

luodeb commented Mar 13, 2025

是否可将FEATURES=page-alloc-64g作为默认make配置项,因为加载linux示例,文件系统占用超过了128m。@luodeb @aarkegz

如果要改的话,最好三个架构都改了,设置为默认项会有什么负面的影响吗? @hky1999

@ZR233
Copy link
Contributor

ZR233 commented Mar 13, 2025

是否可将FEATURES=page-alloc-64g作为默认make配置项,因为加载linux示例,文件系统占用超过了128m。@luodeb @aarkegz

如果要改的话,最好三个架构都改了,设置为默认项会有什么负面的影响吗? @hky1999

page-alloc-4g 应该比较常见

@hky1999
Copy link
Contributor

hky1999 commented Mar 13, 2025

是否可将FEATURES=page-alloc-64g作为默认make配置项,因为加载linux示例,文件系统占用超过了128m。@luodeb @aarkegz

如果要改的话,最好三个架构都改了,设置为默认项会有什么负面的影响吗? @hky1999

page-alloc-4g 应该比较常见

用 4G 吧,256m 有点小了

@hky1999
Copy link
Contributor

hky1999 commented Mar 13, 2025

是否可将FEATURES=page-alloc-64g作为默认make配置项,因为加载linux示例,文件系统占用超过了128m。@luodeb @aarkegz

如果要改的话,最好三个架构都改了,设置为默认项会有什么负面的影响吗? @hky1999

不会的,先搞成4G

- Set `page-alloc-64g` as the default memory feature configuration
- Increase default memory size from 128M to 4G for QEMU
@luodeb
Copy link
Contributor Author

luodeb commented Mar 13, 2025

是否可将FEATURES=page-alloc-64g作为默认make配置项,因为加载linux示例,文件系统占用超过了128m。@luodeb @aarkegz

如果要改的话,最好三个架构都改了,设置为默认项会有什么负面的影响吗? @hky1999

不会的,先搞成4G

ok, 已经改了

- Update the Makefile to correctly expand MEM_FEATURES variable
- Ensure that FEATURES includes MEM_FEATURES as a default configuration
@luodeb luodeb requested a review from buhenxihuan March 14, 2025 05:39
@luodeb luodeb merged commit fab4bbe into master Mar 14, 2025
40 checks passed
@hky1999
Copy link
Contributor

hky1999 commented Mar 14, 2025

indeed, this is not a BUG.

@luodeb luodeb deleted the luodeb-patch-1 branch March 17, 2025 02:18
ZCShou pushed a commit that referenced this pull request Mar 27, 2025
* build: update default memory configuration and QEMU options

- Set `page-alloc-64g` as the default memory feature configuration
- Increase default memory size from 128M to 4G for QEMU

* build: fix default memory feature selection

- Update the Makefile to correctly expand MEM_FEATURES variable
- Ensure that FEATURES includes MEM_FEATURES as a default configuration
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