You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.2 KiB
1.2 KiB
Precautions
- The LMS is a commissioning feature. When the product is released, the tailoring switch of the LMS module LOSCFG_KERNEL_LMS needs to be disabled, the LMS compilation check option -fsanitize=kernel-address needs to be deleted, and other configuration items enabled for enabling the LMS feature need to be restored. For details, see Usage Process.
- If a large number of read and write operations are performed on the heap memory of the detected module, increase the size of the task stack.
- The LMS compilation check option -fsanitize=kernel-address does not need to be added to the memory and LMS modules.
- To check whether memory problems are introduced when the memcpy, memmove, strcat, strcpy, memcpy_s, memmove_s, strcat_s, and strcpy_s functions are used, include the header file los_lms.h.
- The LMS does not support overflow detection of the stack memory and global variables, which requires the support of the compiler.
- The LMS supports only the bestfit memory algorithms and does not support the SLAB algorithms.