Re: [PATCH] modules: page-align module section allocations only for arches supporting strict module rwx

2019-08-21 Thread Jessica Yu
+++ zhe...@windriver.com [20/08/19 22:53 +0800]: From: He Zhe We should keep the case of "#define debug_align(X) (X)" for all arches without CONFIG_HAS_STRICT_MODULE_RWX ability, which would save people, who are sensitive to system size, a lot of memory when using modules, especially for

[PATCH] modules: page-align module section allocations only for arches supporting strict module rwx

2019-08-20 Thread zhe.he
From: He Zhe We should keep the case of "#define debug_align(X) (X)" for all arches without CONFIG_HAS_STRICT_MODULE_RWX ability, which would save people, who are sensitive to system size, a lot of memory when using modules, especially for embedded systems. This is also the intention of the