Skip to content

os/mm/: Remove MM_ALLOC_LARGE_FROM_BACK config from RTL8730E defconfigs - #7444

Open
namanjain7 wants to merge 1 commit into
Samsung:masterfrom
namanjain7:allocate_from_back_2
Open

os/mm/: Remove MM_ALLOC_LARGE_FROM_BACK config from RTL8730E defconfigs#7444
namanjain7 wants to merge 1 commit into
Samsung:masterfrom
namanjain7:allocate_from_back_2

Conversation

@namanjain7

Copy link
Copy Markdown
Contributor

Remove CONFIG_MM_ALLOC_LARGE_FROM_BACK and CONFIG_MM_LARGE_ALLOC_THRESHOLD from three RTL8730E defconfig files (loadable_apps, loadable_ext_ddr, loadable_ext_ddr_st7785).

Also fix the help text in Kconfig to reflect the correct default value of 1MB instead of 512KB for MM_LARGE_ALLOC_THRESHOLD.

This change disables the back-allocation feature for large memory chunks on RTL8730E platform builds and only enable in loadable_ext_psram on RTL8730E.

Remove CONFIG_MM_ALLOC_LARGE_FROM_BACK and CONFIG_MM_LARGE_ALLOC_THRESHOLD
from three RTL8730E defconfig files (loadable_apps, loadable_ext_ddr,
loadable_ext_ddr_st7785).

Also fix the help text in Kconfig to reflect the correct default value
of 1MB instead of 512KB for MM_LARGE_ALLOC_THRESHOLD.

This change disables the back-allocation feature for large memory
chunks on RTL8730E platform builds and only enable in loadable_ext_psram
on RTL8730E.
@namanjain7

Copy link
Copy Markdown
Contributor Author

In continuation of PR: #7437
We have also tested malloc and realloc TC for larger memory sizes (>1MB).

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.

1 participant