Skip to content

Commit 794d382

Browse files
Andrew Boienashif
authored andcommitted
userspace: increase gperf text areas
128 already gets exceeded in a lot of cases, and the binaries with the new SDK are very slightly larger. Just kick this up to 256 and get rid of all the exceptions. Fixes: #13594 Signed-off-by: Andrew Boie <[email protected]>
1 parent 662b44e commit 794d382

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

arch/Kconfig

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,19 +190,16 @@ config PRIVILEGED_STACK_SIZE
190190

191191
config PRIVILEGED_STACK_TEXT_AREA
192192
int "Privileged stacks text area"
193-
default 256 if (DEBUG || STACK_CANARIES || CODE_DATA_RELOCATION)
194193
default 512 if COVERAGE_GCOV
195-
default 128
194+
default 256
196195
depends on ARCH_HAS_USERSPACE
197196
help
198197
Stack text area size for privileged stacks.
199198

200199
config KOBJECT_TEXT_AREA
201200
int "Size if kobject text area"
202201
default 512 if COVERAGE_GCOV
203-
default 256 if (!SIZE_OPTIMIZATIONS || STACK_CANARIES || ARC)
204-
default 256 if CODE_DATA_RELOCATION
205-
default 128
202+
default 256
206203
depends on ARCH_HAS_USERSPACE
207204
help
208205
Size of kernel object text area. Used in linker script.

0 commit comments

Comments
 (0)