config: enable some useful features on !SMALL_FLASH devices
enable kernel features needed for procd-ujail, procd-seccomp, lxc and more on devices with big enough flash. Those packages are currently useless in binary builds due to missing kernel features. Enable the features on devices which can bare with the extra space consumption. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
38b22b1e70
commit
fcb41decf6
@ -198,15 +198,15 @@ config KERNEL_KPROBE_EVENTS
|
|||||||
|
|
||||||
config KERNEL_AIO
|
config KERNEL_AIO
|
||||||
bool "Compile the kernel with asynchronous IO support"
|
bool "Compile the kernel with asynchronous IO support"
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
|
|
||||||
config KERNEL_FHANDLE
|
config KERNEL_FHANDLE
|
||||||
bool "Compile the kernel with support for fhandle syscalls"
|
bool "Compile the kernel with support for fhandle syscalls"
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
|
|
||||||
config KERNEL_FANOTIFY
|
config KERNEL_FANOTIFY
|
||||||
bool "Compile the kernel with modern file notification support"
|
bool "Compile the kernel with modern file notification support"
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
|
|
||||||
config KERNEL_BLK_DEV_BSG
|
config KERNEL_BLK_DEV_BSG
|
||||||
bool "Compile the kernel with SCSI generic v4 support for any block device"
|
bool "Compile the kernel with SCSI generic v4 support for any block device"
|
||||||
@ -320,7 +320,7 @@ config KERNEL_ENCRYPTED_KEYS
|
|||||||
|
|
||||||
config KERNEL_CGROUPS
|
config KERNEL_CGROUPS
|
||||||
bool "Enable kernel cgroups"
|
bool "Enable kernel cgroups"
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
|
|
||||||
if KERNEL_CGROUPS
|
if KERNEL_CGROUPS
|
||||||
|
|
||||||
@ -359,7 +359,7 @@ if KERNEL_CGROUPS
|
|||||||
|
|
||||||
config KERNEL_CPUSETS
|
config KERNEL_CPUSETS
|
||||||
bool "Cpuset support"
|
bool "Cpuset support"
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
help
|
help
|
||||||
This option will let you create and manage CPUSETs which
|
This option will let you create and manage CPUSETs which
|
||||||
allow dynamically partitioning a system into sets of CPUs and
|
allow dynamically partitioning a system into sets of CPUs and
|
||||||
@ -373,14 +373,14 @@ if KERNEL_CGROUPS
|
|||||||
|
|
||||||
config KERNEL_CGROUP_CPUACCT
|
config KERNEL_CGROUP_CPUACCT
|
||||||
bool "Simple CPU accounting cgroup subsystem"
|
bool "Simple CPU accounting cgroup subsystem"
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
help
|
help
|
||||||
Provides a simple Resource Controller for monitoring the
|
Provides a simple Resource Controller for monitoring the
|
||||||
total CPU consumed by the tasks in a cgroup.
|
total CPU consumed by the tasks in a cgroup.
|
||||||
|
|
||||||
config KERNEL_RESOURCE_COUNTERS
|
config KERNEL_RESOURCE_COUNTERS
|
||||||
bool "Resource counters"
|
bool "Resource counters"
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
help
|
help
|
||||||
This option enables controller independent resource accounting
|
This option enables controller independent resource accounting
|
||||||
infrastructure that works with cgroups.
|
infrastructure that works with cgroups.
|
||||||
@ -391,7 +391,7 @@ if KERNEL_CGROUPS
|
|||||||
|
|
||||||
config KERNEL_MEMCG
|
config KERNEL_MEMCG
|
||||||
bool "Memory Resource Controller for Control Groups"
|
bool "Memory Resource Controller for Control Groups"
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
depends on KERNEL_RESOURCE_COUNTERS || !LINUX_3_18
|
depends on KERNEL_RESOURCE_COUNTERS || !LINUX_3_18
|
||||||
help
|
help
|
||||||
Provides a memory resource controller that manages both anonymous
|
Provides a memory resource controller that manages both anonymous
|
||||||
@ -449,7 +449,7 @@ if KERNEL_CGROUPS
|
|||||||
|
|
||||||
config KERNEL_MEMCG_KMEM
|
config KERNEL_MEMCG_KMEM
|
||||||
bool "Memory Resource Controller Kernel Memory accounting (EXPERIMENTAL)"
|
bool "Memory Resource Controller Kernel Memory accounting (EXPERIMENTAL)"
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
depends on KERNEL_MEMCG
|
depends on KERNEL_MEMCG
|
||||||
help
|
help
|
||||||
The Kernel Memory extension for Memory Resource Controller can limit
|
The Kernel Memory extension for Memory Resource Controller can limit
|
||||||
@ -470,7 +470,7 @@ if KERNEL_CGROUPS
|
|||||||
|
|
||||||
menuconfig KERNEL_CGROUP_SCHED
|
menuconfig KERNEL_CGROUP_SCHED
|
||||||
bool "Group CPU scheduler"
|
bool "Group CPU scheduler"
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
help
|
help
|
||||||
This feature lets CPU scheduler recognize task groups and control CPU
|
This feature lets CPU scheduler recognize task groups and control CPU
|
||||||
bandwidth allocation to such task groups. It uses cgroups to group
|
bandwidth allocation to such task groups. It uses cgroups to group
|
||||||
@ -480,7 +480,7 @@ if KERNEL_CGROUPS
|
|||||||
|
|
||||||
config KERNEL_FAIR_GROUP_SCHED
|
config KERNEL_FAIR_GROUP_SCHED
|
||||||
bool "Group scheduling for SCHED_OTHER"
|
bool "Group scheduling for SCHED_OTHER"
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
|
|
||||||
config KERNEL_CFS_BANDWIDTH
|
config KERNEL_CFS_BANDWIDTH
|
||||||
bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED"
|
bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED"
|
||||||
@ -495,7 +495,7 @@ if KERNEL_CGROUPS
|
|||||||
|
|
||||||
config KERNEL_RT_GROUP_SCHED
|
config KERNEL_RT_GROUP_SCHED
|
||||||
bool "Group scheduling for SCHED_RR/FIFO"
|
bool "Group scheduling for SCHED_RR/FIFO"
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
help
|
help
|
||||||
This feature lets you explicitly allocate real CPU bandwidth
|
This feature lets you explicitly allocate real CPU bandwidth
|
||||||
to task groups. If enabled, it will also make it impossible to
|
to task groups. If enabled, it will also make it impossible to
|
||||||
@ -561,7 +561,7 @@ endif
|
|||||||
|
|
||||||
config KERNEL_NAMESPACES
|
config KERNEL_NAMESPACES
|
||||||
bool "Enable kernel namespaces"
|
bool "Enable kernel namespaces"
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
|
|
||||||
if KERNEL_NAMESPACES
|
if KERNEL_NAMESPACES
|
||||||
|
|
||||||
@ -609,7 +609,7 @@ endif
|
|||||||
|
|
||||||
config KERNEL_LXC_MISC
|
config KERNEL_LXC_MISC
|
||||||
bool "Enable miscellaneous LXC related options"
|
bool "Enable miscellaneous LXC related options"
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
|
|
||||||
if KERNEL_LXC_MISC
|
if KERNEL_LXC_MISC
|
||||||
|
|
||||||
@ -641,13 +641,13 @@ endif
|
|||||||
|
|
||||||
config KERNEL_SECCOMP_FILTER
|
config KERNEL_SECCOMP_FILTER
|
||||||
bool
|
bool
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
|
|
||||||
config KERNEL_SECCOMP
|
config KERNEL_SECCOMP
|
||||||
bool "Enable seccomp support"
|
bool "Enable seccomp support"
|
||||||
depends on !(TARGET_uml)
|
depends on !(TARGET_uml)
|
||||||
select KERNEL_SECCOMP_FILTER
|
select KERNEL_SECCOMP_FILTER
|
||||||
default n
|
default y if !SMALL_FLASH
|
||||||
help
|
help
|
||||||
Build kernel with support for seccomp.
|
Build kernel with support for seccomp.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user