Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
dafc2d0f
Commit
dafc2d0f
authored
May 15, 2024
by
Petr Mladek
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-6.10-base-small' into for-linus
parents
e0550222
27021649
Changes
31
Show whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
36 additions
and
43 deletions
+36
-43
arch/arm/configs/collie_defconfig
arch/arm/configs/collie_defconfig
+1
-1
arch/arm/configs/keystone_defconfig
arch/arm/configs/keystone_defconfig
+1
-1
arch/arm/configs/lpc18xx_defconfig
arch/arm/configs/lpc18xx_defconfig
+1
-1
arch/arm/configs/moxart_defconfig
arch/arm/configs/moxart_defconfig
+1
-1
arch/arm/configs/mps2_defconfig
arch/arm/configs/mps2_defconfig
+1
-1
arch/arm/configs/omap1_defconfig
arch/arm/configs/omap1_defconfig
+1
-1
arch/arm/configs/stm32_defconfig
arch/arm/configs/stm32_defconfig
+1
-1
arch/microblaze/configs/mmu_defconfig
arch/microblaze/configs/mmu_defconfig
+1
-1
arch/mips/configs/rs90_defconfig
arch/mips/configs/rs90_defconfig
+1
-1
arch/powerpc/configs/adder875_defconfig
arch/powerpc/configs/adder875_defconfig
+1
-1
arch/powerpc/configs/ep88xc_defconfig
arch/powerpc/configs/ep88xc_defconfig
+1
-1
arch/powerpc/configs/mpc866_ads_defconfig
arch/powerpc/configs/mpc866_ads_defconfig
+1
-1
arch/powerpc/configs/mpc885_ads_defconfig
arch/powerpc/configs/mpc885_ads_defconfig
+1
-1
arch/powerpc/configs/tqm8xx_defconfig
arch/powerpc/configs/tqm8xx_defconfig
+1
-1
arch/riscv/configs/nommu_k210_defconfig
arch/riscv/configs/nommu_k210_defconfig
+1
-1
arch/riscv/configs/nommu_k210_sdcard_defconfig
arch/riscv/configs/nommu_k210_sdcard_defconfig
+1
-1
arch/riscv/configs/nommu_virt_defconfig
arch/riscv/configs/nommu_virt_defconfig
+1
-1
arch/sh/configs/edosk7705_defconfig
arch/sh/configs/edosk7705_defconfig
+1
-1
arch/sh/configs/se7619_defconfig
arch/sh/configs/se7619_defconfig
+1
-1
arch/sh/configs/se7712_defconfig
arch/sh/configs/se7712_defconfig
+1
-1
arch/sh/configs/se7721_defconfig
arch/sh/configs/se7721_defconfig
+1
-1
arch/sh/configs/shmin_defconfig
arch/sh/configs/shmin_defconfig
+1
-1
arch/x86/include/asm/mpspec.h
arch/x86/include/asm/mpspec.h
+3
-3
drivers/tty/vt/vc_screen.c
drivers/tty/vt/vc_screen.c
+1
-1
include/linux/threads.h
include/linux/threads.h
+2
-2
include/linux/udp.h
include/linux/udp.h
+1
-1
include/linux/xarray.h
include/linux/xarray.h
+1
-1
init/Kconfig
init/Kconfig
+4
-10
kernel/futex/core.c
kernel/futex/core.c
+1
-1
kernel/user.c
kernel/user.c
+1
-1
tools/testing/selftests/wireguard/qemu/kernel.config
tools/testing/selftests/wireguard/qemu/kernel.config
+0
-1
No files found.
arch/arm/configs/collie_defconfig
View file @
dafc2d0f
...
...
@@ -3,7 +3,7 @@ CONFIG_LOG_BUF_SHIFT=14
CONFIG_BLK_DEV_INITRD=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_EXPERT=y
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_EPOLL is not set
CONFIG_ARCH_MULTI_V4=y
# CONFIG_ARCH_MULTI_V7 is not set
...
...
arch/arm/configs/keystone_defconfig
View file @
dafc2d0f
...
...
@@ -12,7 +12,7 @@ CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_ELF_CORE is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
CONFIG_KALLSYMS_ALL=y
CONFIG_EXPERT=y
CONFIG_PROFILING=y
...
...
arch/arm/configs/lpc18xx_defconfig
View file @
dafc2d0f
...
...
@@ -8,7 +8,7 @@ CONFIG_BLK_DEV_INITRD=y
# CONFIG_RD_LZ4 is not set
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
# CONFIG_UID16 is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_FUTEX is not set
# CONFIG_EPOLL is not set
# CONFIG_SIGNALFD is not set
...
...
arch/arm/configs/moxart_defconfig
View file @
dafc2d0f
...
...
@@ -6,7 +6,7 @@ CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_EXPERT=y
# CONFIG_ELF_CORE is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_SIGNALFD is not set
# CONFIG_TIMERFD is not set
# CONFIG_EVENTFD is not set
...
...
arch/arm/configs/mps2_defconfig
View file @
dafc2d0f
...
...
@@ -5,7 +5,7 @@ CONFIG_LOG_BUF_SHIFT=16
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_EXPERT=y
# CONFIG_UID16 is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_FUTEX is not set
# CONFIG_EPOLL is not set
# CONFIG_SIGNALFD is not set
...
...
arch/arm/configs/omap1_defconfig
View file @
dafc2d0f
...
...
@@ -9,7 +9,7 @@ CONFIG_LOG_BUF_SHIFT=14
CONFIG_BLK_DEV_INITRD=y
CONFIG_EXPERT=y
# CONFIG_ELF_CORE is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_SHMEM is not set
# CONFIG_KALLSYMS is not set
CONFIG_PROFILING=y
...
...
arch/arm/configs/stm32_defconfig
View file @
dafc2d0f
...
...
@@ -6,7 +6,7 @@ CONFIG_BLK_DEV_INITRD=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_EXPERT=y
# CONFIG_UID16 is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_FUTEX is not set
# CONFIG_EPOLL is not set
# CONFIG_SIGNALFD is not set
...
...
arch/microblaze/configs/mmu_defconfig
View file @
dafc2d0f
...
...
@@ -4,7 +4,7 @@ CONFIG_AUDIT=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_EXPERT=y
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
CONFIG_KALLSYMS_ALL=y
CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1
CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR=1
...
...
arch/mips/configs/rs90_defconfig
View file @
dafc2d0f
...
...
@@ -9,7 +9,7 @@ CONFIG_LD_DEAD_CODE_DATA_ELIMINATION=y
# CONFIG_SGETMASK_SYSCALL is not set
# CONFIG_SYSFS_SYSCALL is not set
# CONFIG_ELF_CORE is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_TIMERFD is not set
# CONFIG_AIO is not set
# CONFIG_IO_URING is not set
...
...
arch/powerpc/configs/adder875_defconfig
View file @
dafc2d0f
...
...
@@ -4,7 +4,7 @@ CONFIG_SYSVIPC=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_EXPERT=y
# CONFIG_ELF_CORE is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_FUTEX is not set
# CONFIG_VM_EVENT_COUNTERS is not set
# CONFIG_BLK_DEV_BSG is not set
...
...
arch/powerpc/configs/ep88xc_defconfig
View file @
dafc2d0f
...
...
@@ -6,7 +6,7 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_EXPERT=y
# CONFIG_ELF_CORE is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_FUTEX is not set
# CONFIG_VM_EVENT_COUNTERS is not set
# CONFIG_BLK_DEV_BSG is not set
...
...
arch/powerpc/configs/mpc866_ads_defconfig
View file @
dafc2d0f
...
...
@@ -6,7 +6,7 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_EXPERT=y
# CONFIG_BUG is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_EPOLL is not set
# CONFIG_VM_EVENT_COUNTERS is not set
# CONFIG_BLK_DEV_BSG is not set
...
...
arch/powerpc/configs/mpc885_ads_defconfig
View file @
dafc2d0f
...
...
@@ -7,7 +7,7 @@ CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_EXPERT=y
# CONFIG_ELF_CORE is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_FUTEX is not set
CONFIG_PERF_EVENTS=y
# CONFIG_VM_EVENT_COUNTERS is not set
...
...
arch/powerpc/configs/tqm8xx_defconfig
View file @
dafc2d0f
...
...
@@ -6,7 +6,7 @@ CONFIG_HIGH_RES_TIMERS=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_EXPERT=y
# CONFIG_ELF_CORE is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_FUTEX is not set
# CONFIG_VM_EVENT_COUNTERS is not set
CONFIG_MODULES=y
...
...
arch/riscv/configs/nommu_k210_defconfig
View file @
dafc2d0f
...
...
@@ -11,7 +11,7 @@ CONFIG_BLK_DEV_INITRD=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
# CONFIG_SYSFS_SYSCALL is not set
# CONFIG_FHANDLE is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_FUTEX is not set
# CONFIG_EPOLL is not set
# CONFIG_SIGNALFD is not set
...
...
arch/riscv/configs/nommu_k210_sdcard_defconfig
View file @
dafc2d0f
...
...
@@ -3,7 +3,7 @@ CONFIG_LOG_BUF_SHIFT=13
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
# CONFIG_SYSFS_SYSCALL is not set
# CONFIG_FHANDLE is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_FUTEX is not set
# CONFIG_EPOLL is not set
# CONFIG_SIGNALFD is not set
...
...
arch/riscv/configs/nommu_virt_defconfig
View file @
dafc2d0f
...
...
@@ -10,7 +10,7 @@ CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_EXPERT=y
# CONFIG_SYSFS_SYSCALL is not set
# CONFIG_FHANDLE is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_EPOLL is not set
# CONFIG_SIGNALFD is not set
# CONFIG_TIMERFD is not set
...
...
arch/sh/configs/edosk7705_defconfig
View file @
dafc2d0f
...
...
@@ -6,7 +6,7 @@
# CONFIG_PRINTK is not set
# CONFIG_BUG is not set
# CONFIG_ELF_CORE is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_FUTEX is not set
# CONFIG_EPOLL is not set
# CONFIG_SIGNALFD is not set
...
...
arch/sh/configs/se7619_defconfig
View file @
dafc2d0f
...
...
@@ -4,7 +4,7 @@ CONFIG_LOG_BUF_SHIFT=14
# CONFIG_KALLSYMS is not set
# CONFIG_HOTPLUG is not set
# CONFIG_ELF_CORE is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_FUTEX is not set
# CONFIG_EPOLL is not set
# CONFIG_VM_EVENT_COUNTERS is not set
...
...
arch/sh/configs/se7712_defconfig
View file @
dafc2d0f
...
...
@@ -7,7 +7,7 @@ CONFIG_LOG_BUF_SHIFT=14
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_KALLSYMS_ALL=y
# CONFIG_BUG is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_SHMEM is not set
CONFIG_MODULES=y
# CONFIG_BLK_DEV_BSG is not set
...
...
arch/sh/configs/se7721_defconfig
View file @
dafc2d0f
...
...
@@ -7,7 +7,7 @@ CONFIG_LOG_BUF_SHIFT=14
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_KALLSYMS_ALL=y
# CONFIG_BUG is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_SHMEM is not set
CONFIG_MODULES=y
# CONFIG_BLK_DEV_BSG is not set
...
...
arch/sh/configs/shmin_defconfig
View file @
dafc2d0f
...
...
@@ -5,7 +5,7 @@ CONFIG_LOG_BUF_SHIFT=14
# CONFIG_HOTPLUG is not set
# CONFIG_BUG is not set
# CONFIG_ELF_CORE is not set
# CONFIG_BASE_FULL is not set
CONFIG_BASE_SMALL=y
# CONFIG_FUTEX is not set
# CONFIG_EPOLL is not set
# CONFIG_SHMEM is not set
...
...
arch/x86/include/asm/mpspec.h
View file @
dafc2d0f
...
...
@@ -16,10 +16,10 @@ extern int pic_mode;
* Summit or generic (i.e. installer) kernels need lots of bus entries.
* Maximum 256 PCI busses, plus 1 ISA bus in each of 4 cabinets.
*/
#if CONFIG_BASE_SMALL == 0
# define MAX_MP_BUSSES 260
#else
#ifdef CONFIG_BASE_SMALL
# define MAX_MP_BUSSES 32
#else
# define MAX_MP_BUSSES 260
#endif
#define MAX_IRQ_SOURCES 256
...
...
drivers/tty/vt/vc_screen.c
View file @
dafc2d0f
...
...
@@ -51,7 +51,7 @@
#include <asm/unaligned.h>
#define HEADER_SIZE 4u
#define CON_BUF_SIZE (
CONFIG_BASE_SMALL
? 256 : PAGE_SIZE)
#define CON_BUF_SIZE (
IS_ENABLED(CONFIG_BASE_SMALL)
? 256 : PAGE_SIZE)
/*
* Our minor space:
...
...
include/linux/threads.h
View file @
dafc2d0f
...
...
@@ -25,13 +25,13 @@
/*
* This controls the default maximum pid allocated to a process
*/
#define PID_MAX_DEFAULT (
CONFIG_BASE_SMALL
? 0x1000 : 0x8000)
#define PID_MAX_DEFAULT (
IS_ENABLED(CONFIG_BASE_SMALL)
? 0x1000 : 0x8000)
/*
* A maximum of 4 million PIDs should be enough for a while.
* [NOTE: PID/TIDs are limited to 2^30 ~= 1 billion, see FUTEX_TID_MASK.]
*/
#define PID_MAX_LIMIT (
CONFIG_BASE_SMALL
? PAGE_SIZE * 8 : \
#define PID_MAX_LIMIT (
IS_ENABLED(CONFIG_BASE_SMALL)
? PAGE_SIZE * 8 : \
(sizeof(long) > 4 ? 4 * 1024 * 1024 : PID_MAX_DEFAULT))
/*
...
...
include/linux/udp.h
View file @
dafc2d0f
...
...
@@ -24,7 +24,7 @@ static inline struct udphdr *udp_hdr(const struct sk_buff *skb)
}
#define UDP_HTABLE_SIZE_MIN_PERNET 128
#define UDP_HTABLE_SIZE_MIN (
CONFIG_BASE_SMALL
? 128 : 256)
#define UDP_HTABLE_SIZE_MIN (
IS_ENABLED(CONFIG_BASE_SMALL)
? 128 : 256)
#define UDP_HTABLE_SIZE_MAX 65536
static
inline
u32
udp_hashfn
(
const
struct
net
*
net
,
u32
num
,
u32
mask
)
...
...
include/linux/xarray.h
View file @
dafc2d0f
...
...
@@ -1141,7 +1141,7 @@ static inline void xa_release(struct xarray *xa, unsigned long index)
* doubled the number of slots per node, we'd get only 3 nodes per 4kB page.
*/
#ifndef XA_CHUNK_SHIFT
#define XA_CHUNK_SHIFT (
CONFIG_BASE_SMALL
? 4 : 6)
#define XA_CHUNK_SHIFT (
IS_ENABLED(CONFIG_BASE_SMALL)
? 4 : 6)
#endif
#define XA_CHUNK_SIZE (1UL << XA_CHUNK_SHIFT)
#define XA_CHUNK_MASK (XA_CHUNK_SIZE - 1)
...
...
init/Kconfig
View file @
dafc2d0f
...
...
@@ -743,8 +743,8 @@ config LOG_CPU_MAX_BUF_SHIFT
int "CPU kernel log buffer size contribution (13 => 8 KB, 17 => 128KB)"
depends on SMP
range 0 21
default 12 if !BASE_SMALL
default 0 if BASE_SMALL
default 12
depends on PRINTK
help
This option allows to increase the default ring buffer size
...
...
@@ -1585,11 +1585,10 @@ config PCSPKR_PLATFORM
This option allows to disable the internal PC-Speaker
support, saving some memory.
config BASE_FULL
default y
bool "Enable full-sized data structures for core" if EXPERT
config BASE_SMALL
bool "Enable smaller-sized data structures for core" if EXPERT
help
Dis
abling this option reduces the size of miscellaneous core
En
abling this option reduces the size of miscellaneous core
kernel data structures. This saves memory on small machines,
but may reduce performance.
...
...
@@ -1944,11 +1943,6 @@ config RT_MUTEXES
bool
default y if PREEMPT_RT
config BASE_SMALL
int
default 0 if BASE_FULL
default 1 if !BASE_FULL
config MODULE_SIG_FORMAT
def_bool n
select SYSTEM_DATA_VERIFICATION
...
...
kernel/futex/core.c
View file @
dafc2d0f
...
...
@@ -1150,7 +1150,7 @@ static int __init futex_init(void)
unsigned
int
futex_shift
;
unsigned
long
i
;
#if CONFIG_BASE_SMALL
#if
def
CONFIG_BASE_SMALL
futex_hashsize
=
16
;
#else
futex_hashsize
=
roundup_pow_of_two
(
256
*
num_possible_cpus
());
...
...
kernel/user.c
View file @
dafc2d0f
...
...
@@ -88,7 +88,7 @@ EXPORT_SYMBOL_GPL(init_user_ns);
* when changing user ID's (ie setuid() and friends).
*/
#define UIDHASH_BITS (
CONFIG_BASE_SMALL
? 3 : 7)
#define UIDHASH_BITS (
IS_ENABLED(CONFIG_BASE_SMALL)
? 3 : 7)
#define UIDHASH_SZ (1 << UIDHASH_BITS)
#define UIDHASH_MASK (UIDHASH_SZ - 1)
#define __uidhashfn(uid) (((uid >> UIDHASH_BITS) + uid) & UIDHASH_MASK)
...
...
tools/testing/selftests/wireguard/qemu/kernel.config
View file @
dafc2d0f
...
...
@@ -41,7 +41,6 @@ CONFIG_KALLSYMS=y
CONFIG_BUG
=
y
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE
=
y
CONFIG_JUMP_LABEL
=
y
CONFIG_BASE_FULL
=
y
CONFIG_FUTEX
=
y
CONFIG_SHMEM
=
y
CONFIG_SLUB
=
y
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment