mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 04:54:41 +08:00
23baf831a3
MAX_ORDER currently defined as number of orders page allocator supports: user can ask buddy allocator for page order between 0 and MAX_ORDER-1. This definition is counter-intuitive and lead to number of bugs all over the kernel. Change the definition of MAX_ORDER to be inclusive: the range of orders user can ask from buddy allocator is 0..MAX_ORDER now. [kirill@shutemov.name: fix min() warning] Link: https://lkml.kernel.org/r/20230315153800.32wib3n5rickolvh@box [akpm@linux-foundation.org: fix another min_t warning] [kirill@shutemov.name: fixups per Zi Yan] Link: https://lkml.kernel.org/r/20230316232144.b7ic4cif4kjiabws@box.shutemov.name [akpm@linux-foundation.org: fix underlining in docs] Link: https://lore.kernel.org/oe-kbuild-all/202303191025.VRCTk6mP-lkp@intel.com/ Link: https://lkml.kernel.org/r/20230315113133.11326-11-kirill.shutemov@linux.intel.com Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Reviewed-by: Michael Ellerman <mpe@ellerman.id.au> [powerpc] Cc: "Kirill A. Shutemov" <kirill@shutemov.name> Cc: Zi Yan <ziy@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
129 lines
2.6 KiB
Plaintext
129 lines
2.6 KiB
Plaintext
CONFIG_ADFS_FS=m
|
|
CONFIG_AFFS_FS=m
|
|
CONFIG_AUDIT=y
|
|
CONFIG_BEFS_FS=m
|
|
CONFIG_BFS_FS=m
|
|
CONFIG_BINFMT_MISC=m
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_BLK_DEV_NBD=y
|
|
CONFIG_BLK_DEV_RAM_SIZE=131072
|
|
CONFIG_BLK_DEV_RAM=y
|
|
CONFIG_BSD_PROCESS_ACCT=y
|
|
CONFIG_CGROUP_CPUACCT=y
|
|
CONFIG_CGROUP_SCHED=y
|
|
CONFIG_CGROUPS=y
|
|
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
|
CONFIG_CRC_T10DIF=y
|
|
CONFIG_CPUSETS=y
|
|
CONFIG_CRAMFS=y
|
|
CONFIG_CRYPTO_MD4=y
|
|
CONFIG_CRYPTO_NULL=y
|
|
CONFIG_CRYPTO_PCBC=m
|
|
CONFIG_CRYPTO_SHA256=y
|
|
CONFIG_CRYPTO_SHA512=y
|
|
CONFIG_DEBUG_FS=y
|
|
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
|
|
CONFIG_DEBUG_KERNEL=y
|
|
CONFIG_DEBUG_SHIRQ=y
|
|
CONFIG_DETECT_HUNG_TASK=y
|
|
CONFIG_DEVTMPFS_MOUNT=y
|
|
CONFIG_DEVTMPFS=y
|
|
CONFIG_DUMMY=y
|
|
CONFIG_EFS_FS=m
|
|
CONFIG_EXPERT=y
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_EXT4_FS=y
|
|
CONFIG_FB=y
|
|
CONFIG_FHANDLE=y
|
|
CONFIG_FIXED_PHY=y
|
|
CONFIG_FONT_8x16=y
|
|
CONFIG_FONT_8x8=y
|
|
CONFIG_FONTS=y
|
|
CONFIG_ARCH_FORCE_MAX_ORDER=12
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_FRAME_WARN=1024
|
|
CONFIG_FTL=y
|
|
CONFIG_GPIO_GENERIC_PLATFORM=y
|
|
CONFIG_HFS_FS=m
|
|
CONFIG_HFSPLUS_FS=m
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_HPFS_FS=m
|
|
CONFIG_HUGETLBFS=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_INET_AH=y
|
|
CONFIG_INET_ESP=y
|
|
CONFIG_INET_IPCOMP=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_ADVANCED_ROUTER=y
|
|
CONFIG_IP_MROUTE=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_IP_MULTIPLE_TABLES=y
|
|
CONFIG_IP_PIMSM_V1=y
|
|
CONFIG_IP_PIMSM_V2=y
|
|
CONFIG_IP_PNP_BOOTP=y
|
|
CONFIG_IP_PNP_DHCP=y
|
|
CONFIG_IP_PNP_RARP=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_IP_ROUTE_MULTIPATH=y
|
|
CONFIG_IP_ROUTE_VERBOSE=y
|
|
CONFIG_IP_SCTP=m
|
|
CONFIG_IPV6=y
|
|
CONFIG_ISO9660_FS=m
|
|
CONFIG_JFFS2_FS_DEBUG=1
|
|
CONFIG_JFFS2_FS=y
|
|
CONFIG_JOLIET=y
|
|
CONFIG_KALLSYMS_ALL=y
|
|
# CONFIG_LEGACY_PTYS is not set
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
CONFIG_MAC_PARTITION=y
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_MODULE_FORCE_UNLOAD=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
CONFIG_MODVERSIONS=y
|
|
CONFIG_MSDOS_FS=m
|
|
CONFIG_MTD_UBI=y
|
|
CONFIG_MTD=y
|
|
CONFIG_NET_IPIP=y
|
|
CONFIG_NET_KEY_MIGRATE=y
|
|
CONFIG_NET_KEY=y
|
|
CONFIG_NET=y
|
|
CONFIG_NFSD=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V4=y
|
|
CONFIG_NLS_CODEPAGE_437=y
|
|
CONFIG_NLS_CODEPAGE_850=y
|
|
CONFIG_NLS_ISO8859_1=y
|
|
CONFIG_NLS_UTF8=m
|
|
CONFIG_NO_HZ=y
|
|
CONFIG_NTFS_FS=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_PARTITION_ADVANCED=y
|
|
CONFIG_PERF_EVENTS=y
|
|
CONFIG_POSIX_MQUEUE=y
|
|
CONFIG_POWER_SUPPLY=y
|
|
CONFIG_POWER_RESET=y
|
|
CONFIG_POWER_RESET_GPIO=y
|
|
CONFIG_POWER_RESET_GPIO_RESTART=y
|
|
CONFIG_QNX4FS_FS=m
|
|
CONFIG_RCU_TRACE=y
|
|
CONFIG_RESET_CONTROLLER=y
|
|
CONFIG_ROOT_NFS=y
|
|
CONFIG_SYSV_FS=m
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_UBIFS_FS=y
|
|
CONFIG_UDF_FS=m
|
|
CONFIG_UFS_FS=m
|
|
CONFIG_UIO=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_VFAT_FS=y
|
|
CONFIG_VXFS_FS=m
|
|
CONFIG_XFRM_STATISTICS=y
|
|
CONFIG_XFRM_SUB_POLICY=y
|
|
CONFIG_XFRM_USER=y
|
|
CONFIG_ZISOFS=y
|