Files
openharmony_kernel_liteos_a/kernel/Kconfig
zhushengle 20782299ce feat: 支持pid容器
BREAKING CHANGE:
支持pid容器对外变更描述:
1.支持pid容器,使用clone(CLONE_NEWPID)创建
2.shell命令 task -a 不再显示线程信息,只显示系统所有进程信息
3.task命令新增参数-p, task -p pid 可查看改进程下的所有线程信息
4.使用LOS_TaskCreateOnly创建任务时, TSK_INIT_PARAM_S中的processID由原来的记录进程ID修改为记录进程控制块PCB
Close #I68LVW
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I0895da9099cb285b3195af5e383d0fdeaf5c0087

Change-Id: I46a7642eeee73a4531c241e3ba6290dd302600a7
2023-01-11 11:13:34 +08:00

91 lines
2.1 KiB
Plaintext

menu "Kernel"
config KERNEL_SMP
bool "Enable Kernel SMP"
default n
help
This option will enable smp support of LiteOS.
config KERNEL_SMP_CORE_NUM
int "Multi-processing Core Numbers"
default 2
depends on KERNEL_SMP
help
This represents the number of multi-processing cores.
config KERNEL_SMP_LOCKDEP
bool "Enable Spinlock Lockdep Check"
default n
depends on KERNEL_SMP
help
This option will enable spinlock lockdep check.
config KERNEL_SMP_TASK_SYNC
bool "Enable Synchronized Task Operations"
default n
depends on KERNEL_SMP
help
This option will enable task synchronized operate task across cores.
config KERNEL_SMP_CALL
bool "Enable Function call cross Multi-core"
default n
depends on KERNEL_SMP
help
This option will enable function call on multi-core.
config KERNEL_SCHED_STATISTICS
bool "Enable Scheduler statistics"
default n
depends on KERNEL_SMP
help
This option will enable scheduler statistics.
config KERNEL_MMU
bool "Enable MMU"
default y
help
This option will enable mmu.
config KERNEL_VM
bool "Enable VM"
default y
depends on KERNEL_MMU
help
This option will enable vmm, pmm, page fault, etc.
config KERNEL_SYSCALL
bool "Enable Syscall"
default y
depends on KERNEL_VM
help
This option will enable syscall.
config PAGE_TABLE_FINE_LOCK
bool "Enable fine lock for page table"
default n
depends on KERNEL_VM
help
This option will enable fine lock for page table.
######################### config options of container ####################
config KERNEL_CONTAINER
bool "Enable container Feature"
default n
depends on KERNEL_VM
config PID_CONTAINER
bool "Enable PID container Feature"
default n
depends on KERNEL_CONTAINER
######################### config options of extended #####################
source "kernel/extended/Kconfig"
config ENABLE_KERNEL_TEST
bool "Enable kernel test"
default n
help
This option will enable kernel test.
endmenu