File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ CONFIG_ILLEGAL_POINTER_VALUE=0x5deadbeef0000000
356
356
# CONFIG_PPC_4K_PAGES is not set
357
357
CONFIG_PPC_64K_PAGES=y
358
358
CONFIG_PPC_PAGE_SHIFT=16
359
- CONFIG_THREAD_SHIFT=14
359
+ CONFIG_THREAD_SHIFT=15
360
360
CONFIG_DATA_SHIFT=16
361
361
CONFIG_FORCE_MAX_ZONEORDER=9
362
362
# CONFIG_PPC_SUBPAGE_PROT is not set
@@ -1581,8 +1581,8 @@ CONFIG_RUNTIME_TESTING_MENU=y
1581
1581
#
1582
1582
CONFIG_RUST_DEBUG_ASSERTIONS=y
1583
1583
CONFIG_RUST_OVERFLOW_CHECKS=y
1584
- CONFIG_RUST_OPT_LEVEL_SIMILAR_AS_CHOSEN_FOR_C=y
1585
- # CONFIG_RUST_OPT_LEVEL_0 is not set
1584
+ # CONFIG_RUST_OPT_LEVEL_SIMILAR_AS_CHOSEN_FOR_C is not set
1585
+ CONFIG_RUST_OPT_LEVEL_0=y
1586
1586
# CONFIG_RUST_OPT_LEVEL_1 is not set
1587
1587
# CONFIG_RUST_OPT_LEVEL_2 is not set
1588
1588
# CONFIG_RUST_OPT_LEVEL_3 is not set
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ support corresponds to ``S`` values in the ``MAINTAINERS`` file.
26
26
- None
27
27
* - ``powerpc ``
28
28
- Maintained
29
- - ``ppc64le `` only, ``RUST_OPT_LEVEL >= 2 ``
29
+ - ``ppc64le `` only, ``RUST_OPT_LEVEL < 2 `` requires `` CONFIG_THREAD_SHIFT=15 ``
30
30
* - ``x86 ``
31
31
- Maintained
32
32
- ``x86_64 `` only
Original file line number Diff line number Diff line change @@ -2607,12 +2607,18 @@ config RUST_OPT_LEVEL_0
2607
2607
directly). Use the corresponding configuration options to control
2608
2608
that instead, orthogonally.
2609
2609
2610
+ Note this level may cause excessive stack usage, which can lead to stack
2611
+ overflow and subsequent crashes.
2612
+
2610
2613
config RUST_OPT_LEVEL_1
2611
2614
bool "Basic optimizations (-Copt-level=1)"
2612
2615
help
2613
2616
Useful for debugging without getting too lost, but without
2614
2617
the overhead and boilerplate of no optimizations at all.
2615
2618
2619
+ Note this level may cause excessive stack usage, which can lead to stack
2620
+ overflow and subsequent crashes.
2621
+
2616
2622
config RUST_OPT_LEVEL_2
2617
2623
bool "Some optimizations (-Copt-level=2)"
2618
2624
help
You can’t perform that action at this time.
0 commit comments