Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make MemoryInit and MemoryShutdown Platform APIs threadsafe #18854

Conversation

harsha-rajendran
Copy link
Contributor

Problem

Fix #18675

Change overview

Lock the memory alloc/shutdown platform APIs properly to prevent race conditions as stated in 18675.

Testing

Sanity testing by ensuring OTA transfer works on Linux

@github-actions
Copy link

github-actions bot commented May 26, 2022

PR #18854: Size comparison from 8338f25 to 4ce1415

Increases above 0.2%:

platform target config section 8338f25 4ce1415 change % change
linux chip-tool-no-interactive-ipv6only arm64 .init_array 184 192 8 4.3
thermostat-no-ble arm64 .init_array 376 384 8 2.1
p6 all-clusters-app default .data 2800 2808 8 0.3
Increases (24 builds for cc13x2_26x2, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 8338f25 4ce1415 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 644979 645035 56 0.0
(read/write) 159144 159232 88 0.1
.bss 74828 74916 88 0.1
.text 560996 561056 60 0.0
lock-ftd LP_CC2652R7 (read only) 679295 679351 56 0.0
(read/write) 163776 163808 32 0.0
.bss 72852 72940 88 0.1
.text 582756 582816 60 0.0
lock-mtd LP_CC2652R7 (read only) 628695 628751 56 0.0
(read/write) 145968 146056 88 0.1
.bss 68588 68676 88 0.1
.text 532268 532328 60 0.0
pump-app LP_CC2652R7 (read only) 675715 675771 56 0.0
(read/write) 168524 168556 32 0.0
.bss 73252 73340 88 0.1
.text 586700 586760 60 0.0
pump-controller-app LP_CC2652R7 (read only) 653643 653707 64 0.0
(read/write) 190452 190476 24 0.0
.bss 73108 73196 88 0.1
.text 569888 569948 60 0.0
shell LP_CC2652R7 (read only) 637986 638050 64 0.0
(read/write) 154708 154796 88 0.1
.bss 77188 77276 88 0.1
.text 557032 557092 60 0.0
efr32 lighting-app BRD4161A (read only) 913880 913960 80 0.0
(read/write) 133448 133536 88 0.1
.bss 131352 131440 88 0.1
.data 2092 2096 4 0.2
.text 913872 913952 80 0.0
BRD4161A+rpc (read only) 948052 948132 80 0.0
(read/write) 150136 150228 92 0.1
.bss 147840 147928 88 0.1
.data 2296 2300 4 0.2
.text 948044 948124 80 0.0
BRD4161A+rs911x (read only) 788508 788588 80 0.0
(read/write) 129712 129804 92 0.1
.bss 127612 127700 88 0.1
.data 2100 2104 4 0.2
.text 788500 788580 80 0.0
lock-app BRD4161A+wf200 (read only) 953864 953912 48 0.0
(read/write) 128484 128580 96 0.1
.bss 126420 126508 88 0.1
.data 2064 2068 4 0.2
.text 953856 953904 48 0.0
window-app BRD4161A (read only) 898824 898904 80 0.0
(read/write) 133504 133600 96 0.1
.bss 131416 131504 88 0.1
.data 2088 2092 4 0.2
.text 898816 898896 80 0.0
esp32 all-clusters-app c3devkit (read only) 1002224 1002272 48 0.0
(read/write) 1479314 1479402 88 0.0
.dram0.bss 69400 69488 88 0.1
.flash.rodata 209840 209848 8 0.0
.flash.text 1002224 1002272 48 0.0
m5stack (read only) 1057135 1057187 52 0.0
(read/write) 481288 481388 100 0.0
.dram0.bss 74912 75008 96 0.1
.flash.rodata 240172 240176 4 0.0
.flash.text 1051751 1051803 52 0.0
k32w light k32w061+release (read/write) 680744 680804 60 0.0
.bss 80424 80432 8 0.0
.data 2008 2012 4 0.2
.text 596608 596656 48 0.0
lock k32w061+release (read/write) 732084 732128 44 0.0
.bss 80856 80864 8 0.0
.data 1976 1980 4 0.2
.text 647548 647580 32 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9376100 9376260 160 0.0
(read/write) 662145 662225 80 0.0
.bss 42225 42273 48 0.1
.data.rel.ro 599960 599984 24 0.0
.got 14936 14944 8 0.1
.init_array 184 192 8 4.3
.text 7405588 7405684 96 0.0
thermostat-no-ble arm64 (read only) 2359708 2359884 176 0.0
(read/write) 177377 177457 80 0.0
.bss 88177 88225 48 0.1
.data.rel.ro 79872 79896 24 0.0
.got 4768 4776 8 0.2
.init_array 376 384 8 2.1
.text 1983344 1983456 112 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2423816 2423880 64 0.0
.bss 202868 202908 40 0.0
.data 5872 5880 8 0.1
.text 1386460 1386524 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1181375 1181407 32 0.0
bss 139532 139552 20 0.0
text 810288 810320 32 0.0
p6 all-clusters-app default (read/write) 2536592 2536688 96 0.0
.bss 137352 137440 88 0.1
.data 2800 2808 8 0.3
.text 1494856 1494952 96 0.0
light-app default (read/write) 2419880 2419960 80 0.0
.bss 129688 129776 88 0.1
.text 1378144 1378224 80 0.0
lock-app default (read/write) 2437912 2437992 80 0.0
.bss 129496 129584 88 0.1
.text 1396176 1396256 80 0.0
telink light-switch-app tlsr9518adk80d (read/write) 779400 779508 108 0.0
bss 70824 70844 20 0.0
text 551116 551194 78 0.0
lighting-app tlsr9518adk80d (read/write) 799424 799524 100 0.0
bss 71076 71096 20 0.0
text 567850 567928 78 0.0
Decreases (3 builds for cyw30739)
platform target config section 8338f25 4ce1415 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 621510 621486 -24 -0.0
.app_xip_area 524788 524764 -24 -0.0
lock cyw930739m2evb_01 (read/write) 630210 630186 -24 -0.0
.app_xip_area 534960 534936 -24 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570614 570590 -24 -0.0
.app_xip_area 465684 465660 -24 -0.0
Full report (27 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 8338f25 4ce1415 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 644979 645035 56 0.0
(read/write) 159144 159232 88 0.1
.bss 74828 74916 88 0.1
.data 3400 3400 0 0.0
.rodata 83747 83747 0 0.0
.text 560996 561056 60 0.0
lock-ftd LP_CC2652R7 (read only) 679295 679351 56 0.0
(read/write) 163776 163808 32 0.0
.bss 72852 72940 88 0.1
.data 3264 3264 0 0.0
.rodata 96055 96055 0 0.0
.text 582756 582816 60 0.0
lock-mtd LP_CC2652R7 (read only) 628695 628751 56 0.0
(read/write) 145968 146056 88 0.1
.bss 68588 68676 88 0.1
.data 3264 3264 0 0.0
.rodata 95935 95935 0 0.0
.text 532268 532328 60 0.0
pump-app LP_CC2652R7 (read only) 675715 675771 56 0.0
(read/write) 168524 168556 32 0.0
.bss 73252 73340 88 0.1
.data 3300 3300 0 0.0
.rodata 88531 88531 0 0.0
.text 586700 586760 60 0.0
pump-controller-app LP_CC2652R7 (read only) 653643 653707 64 0.0
(read/write) 190452 190476 24 0.0
.bss 73108 73196 88 0.1
.data 3260 3260 0 0.0
.rodata 83275 83275 0 0.0
.text 569888 569948 60 0.0
shell LP_CC2652R7 (read only) 637986 638050 64 0.0
(read/write) 154708 154796 88 0.1
.bss 77188 77276 88 0.1
.data 3404 3404 0 0.0
.rodata 80722 80722 0 0.0
.text 557032 557092 60 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 621510 621486 -24 -0.0
.app_xip_area 524788 524764 -24 -0.0
.bss 79364 79364 0 0.0
.data 704 704 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 630210 630186 -24 -0.0
.app_xip_area 534960 534936 -24 -0.0
.bss 77924 77924 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570614 570590 -24 -0.0
.app_xip_area 465684 465660 -24 -0.0
.bss 87284 87284 0 0.0
.data 612 612 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 913880 913960 80 0.0
(read/write) 133448 133536 88 0.1
.bss 131352 131440 88 0.1
.data 2092 2096 4 0.2
.text 913872 913952 80 0.0
BRD4161A+rpc (read only) 948052 948132 80 0.0
(read/write) 150136 150228 92 0.1
.bss 147840 147928 88 0.1
.data 2296 2300 4 0.2
.text 948044 948124 80 0.0
BRD4161A+rs911x (read only) 788508 788588 80 0.0
(read/write) 129712 129804 92 0.1
.bss 127612 127700 88 0.1
.data 2100 2104 4 0.2
.text 788500 788580 80 0.0
lock-app BRD4161A+wf200 (read only) 953864 953912 48 0.0
(read/write) 128484 128580 96 0.1
.bss 126420 126508 88 0.1
.data 2064 2068 4 0.2
.text 953856 953904 48 0.0
window-app BRD4161A (read only) 898824 898904 80 0.0
(read/write) 133504 133600 96 0.1
.bss 131416 131504 88 0.1
.data 2088 2092 4 0.2
.text 898816 898896 80 0.0
esp32 all-clusters-app c3devkit (read only) 1002224 1002272 48 0.0
(read/write) 1479314 1479402 88 0.0
.dram0.bss 69400 69488 88 0.1
.dram0.data 14640 14640 0 0.0
.flash.rodata 209840 209848 8 0.0
.flash.text 1002224 1002272 48 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1057135 1057187 52 0.0
(read/write) 481288 481388 100 0.0
.dram0.bss 74912 75008 96 0.1
.dram0.data 34208 34208 0 0.0
.flash.rodata 240172 240176 4 0.0
.flash.text 1051751 1051803 52 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 680744 680804 60 0.0
.bss 80424 80432 8 0.0
.data 2008 2012 4 0.2
.text 596608 596656 48 0.0
lock k32w061+release (read/write) 732084 732128 44 0.0
.bss 80856 80864 8 0.0
.data 1976 1980 4 0.2
.text 647548 647580 32 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9376100 9376260 160 0.0
(read/write) 662145 662225 80 0.0
.bss 42225 42273 48 0.1
.data 1176 1176 0 0.0
.data.rel.ro 599960 599984 24 0.0
.dynamic 560 560 0 0.0
.got 14936 14944 8 0.1
.init 24 24 0 0.0
.init_array 184 192 8 4.3
.rodata 457932 457932 0 0.0
.text 7405588 7405684 96 0.0
thermostat-no-ble arm64 (read only) 2359708 2359884 176 0.0
(read/write) 177377 177457 80 0.0
.bss 88177 88225 48 0.1
.data 1520 1520 0 0.0
.data.rel.ro 79872 79896 24 0.0
.dynamic 560 560 0 0.0
.got 4768 4776 8 0.2
.init 24 24 0 0.0
.init_array 376 384 8 2.1
.rodata 147404 147404 0 0.0
.text 1983344 1983456 112 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2423816 2423880 64 0.0
.bss 202868 202908 40 0.0
.data 5872 5880 8 0.1
.text 1386460 1386524 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1181375 1181407 32 0.0
bss 139532 139552 20 0.0
rodata 152656 152656 0 0.0
text 810288 810320 32 0.0
p6 all-clusters-app default (read/write) 2536592 2536688 96 0.0
.bss 137352 137440 88 0.1
.data 2800 2808 8 0.3
.text 1494856 1494952 96 0.0
light-app default (read/write) 2419880 2419960 80 0.0
.bss 129688 129776 88 0.1
.data 2600 2600 0 0.0
.text 1378144 1378224 80 0.0
lock-app default (read/write) 2437912 2437992 80 0.0
.bss 129496 129584 88 0.1
.data 2568 2568 0 0.0
.text 1396176 1396256 80 0.0
telink light-switch-app tlsr9518adk80d (read/write) 779400 779508 108 0.0
bss 70824 70844 20 0.0
noinit 40416 40416 0 0.0
text 551116 551194 78 0.0
lighting-app tlsr9518adk80d (read/write) 799424 799524 100 0.0
bss 71076 71096 20 0.0
noinit 40416 40416 0 0.0
text 567850 567928 78 0.0

@harsha-rajendran harsha-rajendran force-pushed the Make-MemoryInit-and-MemoryShutdown-APIs-threadsafe branch from 4ce1415 to 791c81e Compare May 26, 2022 20:12
@github-actions
Copy link

github-actions bot commented May 26, 2022

PR #18854: Size comparison from 3956a9d to 791c81e

Increases above 0.2%:

platform target config section 3956a9d 791c81e change % change
linux all-clusters-app debug .init_array 1016 1024 8 0.8
bridge-app debug+rpc .init_array 688 696 8 1.2
chip-tool debug .bss 23936 24000 64 0.3
.init_array 648 656 8 1.2
chip-tool-no-interactive-ipv6only arm64 .init_array 184 192 8 4.3
lighting-app debug+rpc .init_array 792 800 8 1.0
lock-app debug .init_array 752 760 8 1.1
ota-provider-app debug .init_array 648 656 8 1.2
ota-requestor-app debug .init_array 672 680 8 1.2
shell debug .init_array 928 936 8 0.9
thermostat-no-ble arm64 .init_array 376 384 8 2.1
tv-app debug .init_array 928 936 8 0.9
tv-casting-app debug .init_array 864 872 8 0.9
p6 all-clusters-app default .data 2800 2808 8 0.3
Increases (34 builds for cc13x2_26x2, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 3956a9d 791c81e change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 644979 645035 56 0.0
(read/write) 159144 159232 88 0.1
.bss 74828 74916 88 0.1
.text 560996 561056 60 0.0
lock-ftd LP_CC2652R7 (read only) 679295 679351 56 0.0
(read/write) 163776 163808 32 0.0
.bss 72852 72940 88 0.1
.text 582756 582816 60 0.0
lock-mtd LP_CC2652R7 (read only) 628695 628751 56 0.0
(read/write) 145968 146056 88 0.1
.bss 68588 68676 88 0.1
.text 532268 532328 60 0.0
pump-app LP_CC2652R7 (read only) 675715 675771 56 0.0
(read/write) 168524 168556 32 0.0
.bss 73252 73340 88 0.1
.text 586700 586760 60 0.0
pump-controller-app LP_CC2652R7 (read only) 653643 653707 64 0.0
(read/write) 190452 190476 24 0.0
.bss 73108 73196 88 0.1
.text 569888 569948 60 0.0
shell LP_CC2652R7 (read only) 637986 638050 64 0.0
(read/write) 154708 154796 88 0.1
.bss 77188 77276 88 0.1
.text 557032 557092 60 0.0
efr32 lighting-app BRD4161A (read only) 913936 914016 80 0.0
(read/write) 133448 133536 88 0.1
.bss 131352 131440 88 0.1
.data 2092 2096 4 0.2
.text 913928 914008 80 0.0
BRD4161A+rpc (read only) 948108 948188 80 0.0
(read/write) 150136 150228 92 0.1
.bss 147840 147928 88 0.1
.data 2296 2300 4 0.2
.text 948100 948180 80 0.0
BRD4161A+rs911x (read only) 788508 788588 80 0.0
(read/write) 129712 129804 92 0.1
.bss 127612 127700 88 0.1
.data 2100 2104 4 0.2
.text 788500 788580 80 0.0
lock-app BRD4161A+wf200 (read only) 953864 953912 48 0.0
(read/write) 128484 128580 96 0.1
.bss 126420 126508 88 0.1
.data 2064 2068 4 0.2
.text 953856 953904 48 0.0
window-app BRD4161A (read only) 898880 898960 80 0.0
(read/write) 133504 133600 96 0.1
.bss 131416 131504 88 0.1
.data 2088 2092 4 0.2
.text 898872 898952 80 0.0
esp32 all-clusters-app c3devkit (read only) 1002224 1002272 48 0.0
(read/write) 1479314 1479402 88 0.0
.dram0.bss 69400 69488 88 0.1
.flash.rodata 209840 209848 8 0.0
.flash.text 1002224 1002272 48 0.0
m5stack (read only) 1057135 1057187 52 0.0
(read/write) 481288 481388 100 0.0
.dram0.bss 74912 75008 96 0.1
.flash.rodata 240172 240176 4 0.0
.flash.text 1051751 1051803 52 0.0
k32w light k32w061+release (read/write) 680744 680804 60 0.0
.bss 80424 80432 8 0.0
.data 2008 2012 4 0.2
.text 596608 596656 48 0.0
lock k32w061+release (read/write) 732084 732128 44 0.0
.bss 80856 80864 8 0.0
.data 1976 1980 4 0.2
.text 647548 647580 32 0.0
linux all-clusters-app debug (read only) 2751177 2751329 152 0.0
(read/write) 178240 178312 72 0.0
.bss 86496 86560 64 0.1
.init_array 1016 1024 8 0.8
.text 2335570 2335698 128 0.0
bridge-app debug+rpc (read only) 2023745 2023881 136 0.0
(read/write) 147896 147968 72 0.0
.bss 73120 73184 64 0.1
.init_array 688 696 8 1.2
.text 1699490 1699602 112 0.0
chip-tool debug (read only) 9633029 9633149 120 0.0
(read/write) 596016 596088 72 0.0
.bss 23936 24000 64 0.3
.init_array 648 656 8 1.2
.text 7761269 7761365 96 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9376100 9376260 160 0.0
(read/write) 662145 662225 80 0.0
.bss 42225 42273 48 0.1
.data.rel.ro 599960 599984 24 0.0
.got 14936 14944 8 0.1
.init_array 184 192 8 4.3
.text 7405588 7405684 96 0.0
lighting-app debug+rpc (read only) 2314097 2314233 136 0.0
(read/write) 153536 153608 72 0.0
.bss 74944 75008 64 0.1
.init_array 792 800 8 1.0
.text 1961970 1962082 112 0.0
lock-app debug (read only) 2253241 2253377 136 0.0
(read/write) 148600 148672 72 0.0
.bss 73632 73696 64 0.1
.init_array 752 760 8 1.1
.text 1893138 1893250 112 0.0
ota-provider-app debug (read only) 2066369 2066521 152 0.0
(read/write) 141360 141432 72 0.1
.bss 73024 73088 64 0.1
.init_array 648 656 8 1.2
.text 1728034 1728162 128 0.0
ota-requestor-app debug (read only) 2095585 2095737 152 0.0
(read/write) 144200 144272 72 0.0
.bss 73728 73792 64 0.1
.init_array 672 680 8 1.2
.text 1759778 1759906 128 0.0
shell debug (read only) 2555537 2555689 152 0.0
(read/write) 201744 201816 72 0.0
.bss 117416 117480 64 0.1
.init_array 928 936 8 0.9
.text 2174258 2174386 128 0.0
thermostat-no-ble arm64 (read only) 2359708 2359884 176 0.0
(read/write) 177377 177457 80 0.0
.bss 88177 88225 48 0.1
.data.rel.ro 79872 79896 24 0.0
.got 4768 4776 8 0.2
.init_array 376 384 8 2.1
.text 1983344 1983456 112 0.0
tv-app debug (read only) 2875017 2875169 152 0.0
(read/write) 280368 280440 72 0.0
.bss 191304 191368 64 0.0
.init_array 928 936 8 0.9
.text 2470802 2470930 128 0.0
tv-casting-app debug (read only) 5432729 5432849 120 0.0
(read/write) 226256 226328 72 0.0
.bss 78888 78952 64 0.1
.init_array 864 872 8 0.9
.text 4734114 4734210 96 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2423816 2423880 64 0.0
.bss 202868 202908 40 0.0
.data 5872 5880 8 0.1
.text 1386460 1386524 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1181375 1181407 32 0.0
bss 139532 139552 20 0.0
text 810288 810320 32 0.0
p6 all-clusters-app default (read/write) 2536592 2536688 96 0.0
.bss 137352 137440 88 0.1
.data 2800 2808 8 0.3
.text 1494856 1494952 96 0.0
light-app default (read/write) 2419880 2419960 80 0.0
.bss 129688 129776 88 0.1
.text 1378144 1378224 80 0.0
lock-app default (read/write) 2437912 2437992 80 0.0
.bss 129496 129584 88 0.1
.text 1396176 1396256 80 0.0
telink light-switch-app tlsr9518adk80d (read/write) 779400 779508 108 0.0
bss 70824 70844 20 0.0
text 551116 551194 78 0.0
lighting-app tlsr9518adk80d (read/write) 799424 799524 100 0.0
bss 71076 71096 20 0.0
text 567850 567928 78 0.0
Decreases (3 builds for cyw30739)
platform target config section 3956a9d 791c81e change % change
cyw30739 light cyw930739m2evb_01 (read/write) 621510 621486 -24 -0.0
.app_xip_area 524788 524764 -24 -0.0
lock cyw930739m2evb_01 (read/write) 630210 630186 -24 -0.0
.app_xip_area 534960 534936 -24 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570614 570590 -24 -0.0
.app_xip_area 465684 465660 -24 -0.0
Full report (37 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 3956a9d 791c81e change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 644979 645035 56 0.0
(read/write) 159144 159232 88 0.1
.bss 74828 74916 88 0.1
.data 3400 3400 0 0.0
.rodata 83747 83747 0 0.0
.text 560996 561056 60 0.0
lock-ftd LP_CC2652R7 (read only) 679295 679351 56 0.0
(read/write) 163776 163808 32 0.0
.bss 72852 72940 88 0.1
.data 3264 3264 0 0.0
.rodata 96055 96055 0 0.0
.text 582756 582816 60 0.0
lock-mtd LP_CC2652R7 (read only) 628695 628751 56 0.0
(read/write) 145968 146056 88 0.1
.bss 68588 68676 88 0.1
.data 3264 3264 0 0.0
.rodata 95935 95935 0 0.0
.text 532268 532328 60 0.0
pump-app LP_CC2652R7 (read only) 675715 675771 56 0.0
(read/write) 168524 168556 32 0.0
.bss 73252 73340 88 0.1
.data 3300 3300 0 0.0
.rodata 88531 88531 0 0.0
.text 586700 586760 60 0.0
pump-controller-app LP_CC2652R7 (read only) 653643 653707 64 0.0
(read/write) 190452 190476 24 0.0
.bss 73108 73196 88 0.1
.data 3260 3260 0 0.0
.rodata 83275 83275 0 0.0
.text 569888 569948 60 0.0
shell LP_CC2652R7 (read only) 637986 638050 64 0.0
(read/write) 154708 154796 88 0.1
.bss 77188 77276 88 0.1
.data 3404 3404 0 0.0
.rodata 80722 80722 0 0.0
.text 557032 557092 60 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 621510 621486 -24 -0.0
.app_xip_area 524788 524764 -24 -0.0
.bss 79364 79364 0 0.0
.data 704 704 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 630210 630186 -24 -0.0
.app_xip_area 534960 534936 -24 -0.0
.bss 77924 77924 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570614 570590 -24 -0.0
.app_xip_area 465684 465660 -24 -0.0
.bss 87284 87284 0 0.0
.data 612 612 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 913936 914016 80 0.0
(read/write) 133448 133536 88 0.1
.bss 131352 131440 88 0.1
.data 2092 2096 4 0.2
.text 913928 914008 80 0.0
BRD4161A+rpc (read only) 948108 948188 80 0.0
(read/write) 150136 150228 92 0.1
.bss 147840 147928 88 0.1
.data 2296 2300 4 0.2
.text 948100 948180 80 0.0
BRD4161A+rs911x (read only) 788508 788588 80 0.0
(read/write) 129712 129804 92 0.1
.bss 127612 127700 88 0.1
.data 2100 2104 4 0.2
.text 788500 788580 80 0.0
lock-app BRD4161A+wf200 (read only) 953864 953912 48 0.0
(read/write) 128484 128580 96 0.1
.bss 126420 126508 88 0.1
.data 2064 2068 4 0.2
.text 953856 953904 48 0.0
window-app BRD4161A (read only) 898880 898960 80 0.0
(read/write) 133504 133600 96 0.1
.bss 131416 131504 88 0.1
.data 2088 2092 4 0.2
.text 898872 898952 80 0.0
esp32 all-clusters-app c3devkit (read only) 1002224 1002272 48 0.0
(read/write) 1479314 1479402 88 0.0
.dram0.bss 69400 69488 88 0.1
.dram0.data 14640 14640 0 0.0
.flash.rodata 209840 209848 8 0.0
.flash.text 1002224 1002272 48 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1057135 1057187 52 0.0
(read/write) 481288 481388 100 0.0
.dram0.bss 74912 75008 96 0.1
.dram0.data 34208 34208 0 0.0
.flash.rodata 240172 240176 4 0.0
.flash.text 1051751 1051803 52 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 680744 680804 60 0.0
.bss 80424 80432 8 0.0
.data 2008 2012 4 0.2
.text 596608 596656 48 0.0
lock k32w061+release (read/write) 732084 732128 44 0.0
.bss 80856 80864 8 0.0
.data 1976 1980 4 0.2
.text 647548 647580 32 0.0
linux all-clusters-app debug (read only) 2751177 2751329 152 0.0
(read/write) 178240 178312 72 0.0
.bss 86496 86560 64 0.1
.data 2032 2032 0 0.0
.data.rel.ro 83560 83560 0 0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 1016 1024 8 0.8
.rodata 242013 242013 0 0.0
.text 2335570 2335698 128 0.0
bridge-app debug+rpc (read only) 2023745 2023881 136 0.0
(read/write) 147896 147968 72 0.0
.bss 73120 73184 64 0.1
.data 3936 3936 0 0.0
.data.rel.ro 65272 65272 0 0.0
.dynamic 592 592 0 0.0
.got 4272 4272 0 0.0
.init 27 27 0 0.0
.init_array 688 696 8 1.2
.rodata 168096 168096 0 0.0
.text 1699490 1699602 112 0.0
chip-tool debug (read only) 9633029 9633149 120 0.0
(read/write) 596016 596088 72 0.0
.bss 23936 24000 64 0.3
.data 1120 1120 0 0.0
.data.rel.ro 564656 564656 0 0.0
.dynamic 624 624 0 0.0
.got 5008 5008 0 0.0
.init 27 27 0 0.0
.init_array 648 656 8 1.2
.rodata 494141 494141 0 0.0
.text 7761269 7761365 96 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9376100 9376260 160 0.0
(read/write) 662145 662225 80 0.0
.bss 42225 42273 48 0.1
.data 1176 1176 0 0.0
.data.rel.ro 599960 599984 24 0.0
.dynamic 560 560 0 0.0
.got 14936 14944 8 0.1
.init 24 24 0 0.0
.init_array 184 192 8 4.3
.rodata 457932 457932 0 0.0
.text 7405588 7405684 96 0.0
lighting-app debug+rpc (read only) 2314097 2314233 136 0.0
(read/write) 153536 153608 72 0.0
.bss 74944 75008 64 0.1
.data 2048 2048 0 0.0
.data.rel.ro 70776 70776 0 0.0
.dynamic 608 608 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 792 800 8 1.0
.rodata 186760 186760 0 0.0
.text 1961970 1962082 112 0.0
lock-app debug (read only) 2253241 2253377 136 0.0
(read/write) 148600 148672 72 0.0
.bss 73632 73696 64 0.1
.data 1568 1568 0 0.0
.data.rel.ro 67704 67704 0 0.0
.dynamic 592 592 0 0.0
.got 4336 4336 0 0.0
.init 27 27 0 0.0
.init_array 752 760 8 1.1
.rodata 200168 200168 0 0.0
.text 1893138 1893250 112 0.0
ota-provider-app debug (read only) 2066369 2066521 152 0.0
(read/write) 141360 141432 72 0.1
.bss 73024 73088 64 0.1
.data 1768 1768 0 0.0
.data.rel.ro 60776 60776 0 0.0
.dynamic 608 608 0 0.0
.got 4504 4504 0 0.0
.init 27 27 0 0.0
.init_array 648 656 8 1.2
.rodata 179768 179768 0 0.0
.text 1728034 1728162 128 0.0
ota-requestor-app debug (read only) 2095585 2095737 152 0.0
(read/write) 144200 144272 72 0.0
.bss 73728 73792 64 0.1
.data 1960 1960 0 0.0
.data.rel.ro 62872 62872 0 0.0
.dynamic 592 592 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 672 680 8 1.2
.rodata 175776 175776 0 0.0
.text 1759778 1759906 128 0.0
shell debug (read only) 2555537 2555689 152 0.0
(read/write) 201744 201816 72 0.0
.bss 117416 117480 64 0.1
.data 1376 1376 0 0.0
.data.rel.ro 77208 77208 0 0.0
.dynamic 608 608 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 928 936 8 0.9
.rodata 222194 222194 0 0.0
.text 2174258 2174386 128 0.0
thermostat-no-ble arm64 (read only) 2359708 2359884 176 0.0
(read/write) 177377 177457 80 0.0
.bss 88177 88225 48 0.1
.data 1520 1520 0 0.0
.data.rel.ro 79872 79896 24 0.0
.dynamic 560 560 0 0.0
.got 4768 4776 8 0.2
.init 24 24 0 0.0
.init_array 376 384 8 2.1
.rodata 147404 147404 0 0.0
.text 1983344 1983456 112 0.0
tv-app debug (read only) 2875017 2875169 152 0.0
(read/write) 280368 280440 72 0.0
.bss 191304 191368 64 0.0
.data 4672 4672 0 0.0
.data.rel.ro 78120 78120 0 0.0
.dynamic 592 592 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 928 936 8 0.9
.rodata 221728 221728 0 0.0
.text 2470802 2470930 128 0.0
tv-casting-app debug (read only) 5432729 5432849 120 0.0
(read/write) 226256 226328 72 0.0
.bss 78888 78952 64 0.1
.data 2400 2400 0 0.0
.data.rel.ro 138736 138736 0 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 864 872 8 0.9
.rodata 339264 339264 0 0.0
.text 4734114 4734210 96 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2423816 2423880 64 0.0
.bss 202868 202908 40 0.0
.data 5872 5880 8 0.1
.text 1386460 1386524 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1181375 1181407 32 0.0
bss 139532 139552 20 0.0
rodata 152656 152656 0 0.0
text 810288 810320 32 0.0
p6 all-clusters-app default (read/write) 2536592 2536688 96 0.0
.bss 137352 137440 88 0.1
.data 2800 2808 8 0.3
.text 1494856 1494952 96 0.0
light-app default (read/write) 2419880 2419960 80 0.0
.bss 129688 129776 88 0.1
.data 2600 2600 0 0.0
.text 1378144 1378224 80 0.0
lock-app default (read/write) 2437912 2437992 80 0.0
.bss 129496 129584 88 0.1
.data 2568 2568 0 0.0
.text 1396176 1396256 80 0.0
telink light-switch-app tlsr9518adk80d (read/write) 779400 779508 108 0.0
bss 70824 70844 20 0.0
noinit 40416 40416 0 0.0
text 551116 551194 78 0.0
lighting-app tlsr9518adk80d (read/write) 799424 799524 100 0.0
bss 71076 71096 20 0.0
noinit 40416 40416 0 0.0
text 567850 567928 78 0.0

@woody-apple woody-apple merged commit 19d826a into project-chip:master Jun 2, 2022
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request Jun 3, 2022
andy31415 pushed a commit that referenced this pull request Jun 3, 2022
…18854)" (#19143)

This reverts commit 19d826a.

The PR causes esp32 to boot-loop.

Fixes #19142
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Platform::MemoryInit pretends to be threadsafe but is not
4 participants