mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-21 10:05:00 +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>
133 lines
3.2 KiB
Plaintext
133 lines
3.2 KiB
Plaintext
# CONFIG_LOCALVERSION_AUTO is not set
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_BSD_PROCESS_ACCT=y
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
# CONFIG_KALLSYMS is not set
|
|
CONFIG_SLAB=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
CONFIG_CPU_SUBTYPE_SH7724=y
|
|
CONFIG_ARCH_FORCE_MAX_ORDER=11
|
|
CONFIG_MEMORY_SIZE=0x10000000
|
|
CONFIG_FLATMEM_MANUAL=y
|
|
CONFIG_SH_ECOVEC=y
|
|
# CONFIG_SH_TIMER_CMT is not set
|
|
CONFIG_HEARTBEAT=y
|
|
CONFIG_SECCOMP=y
|
|
CONFIG_PREEMPT=y
|
|
CONFIG_CMDLINE_OVERWRITE=y
|
|
CONFIG_CMDLINE="console=tty0, console=ttySC0,115200 root=/dev/nfs ip=dhcp mem=248M memchunk.vpu=8m memchunk.veu0=4m"
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_ADVANCED_ROUTER=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_IP_PNP_DHCP=y
|
|
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
|
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
|
# CONFIG_INET_XFRM_MODE_BEET is not set
|
|
# CONFIG_IPV6 is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_CMDLINE_PARTS=y
|
|
CONFIG_MTD_BLOCK=y
|
|
CONFIG_MTD_CFI=y
|
|
CONFIG_MTD_CFI_AMDSTD=y
|
|
CONFIG_MTD_PHYSMAP=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_MTD_UBI=y
|
|
CONFIG_BLK_DEV_RAM=y
|
|
CONFIG_BLK_DEV_RAM_COUNT=4
|
|
CONFIG_SCSI=y
|
|
CONFIG_BLK_DEV_SD=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_SMSC_PHY=y
|
|
CONFIG_NET_ETHERNET=y
|
|
CONFIG_SH_ETH=y
|
|
# CONFIG_INPUT_MOUSEDEV is not set
|
|
CONFIG_INPUT_EVDEV=y
|
|
# CONFIG_KEYBOARD_ATKBD is not set
|
|
CONFIG_KEYBOARD_SH_KEYSC=y
|
|
# CONFIG_INPUT_MOUSE is not set
|
|
CONFIG_INPUT_TOUCHSCREEN=y
|
|
CONFIG_TOUCHSCREEN_TSC2007=y
|
|
# CONFIG_SERIO is not set
|
|
CONFIG_VT_HW_CONSOLE_BINDING=y
|
|
CONFIG_SERIAL_SH_SCI=y
|
|
CONFIG_SERIAL_SH_SCI_NR_UARTS=6
|
|
CONFIG_SERIAL_SH_SCI_CONSOLE=y
|
|
# CONFIG_LEGACY_PTYS is not set
|
|
CONFIG_HW_RANDOM=y
|
|
CONFIG_I2C=y
|
|
CONFIG_I2C_CHARDEV=y
|
|
CONFIG_I2C_SH_MOBILE=y
|
|
CONFIG_SPI=y
|
|
CONFIG_SPI_BITBANG=y
|
|
# CONFIG_HWMON is not set
|
|
CONFIG_MFD_SH_MOBILE_SDHI=y
|
|
CONFIG_MEDIA_SUPPORT=y
|
|
CONFIG_VIDEO_DEV=y
|
|
# CONFIG_MEDIA_TUNER_CUSTOMISE is not set
|
|
CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
|
|
CONFIG_VIDEO_SH_MOBILE_CEU=y
|
|
# CONFIG_V4L_USB_DRIVERS is not set
|
|
CONFIG_FB=y
|
|
CONFIG_FB_SH_MOBILE_LCDC=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_LOGO=y
|
|
# CONFIG_LOGO_LINUX_MONO is not set
|
|
# CONFIG_LOGO_LINUX_VGA16 is not set
|
|
# CONFIG_LOGO_LINUX_CLUT224 is not set
|
|
# CONFIG_LOGO_SUPERH_MONO is not set
|
|
# CONFIG_LOGO_SUPERH_VGA16 is not set
|
|
CONFIG_SOUND=y
|
|
CONFIG_SND=y
|
|
CONFIG_SND_SEQUENCER=y
|
|
CONFIG_SND_SEQ_DUMMY=y
|
|
CONFIG_SND_MIXER_OSS=y
|
|
CONFIG_SND_PCM_OSS=y
|
|
# CONFIG_SND_DRIVERS is not set
|
|
# CONFIG_SND_SPI is not set
|
|
# CONFIG_SND_USB is not set
|
|
CONFIG_SND_SOC=y
|
|
CONFIG_SND_SOC_SH4_FSI=y
|
|
CONFIG_SND_FSI_DA7210=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_MON=y
|
|
CONFIG_USB_R8A66597_HCD=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_MASS_STORAGE=m
|
|
CONFIG_MMC=y
|
|
CONFIG_MMC_SPI=y
|
|
CONFIG_MMC_SDHI=y
|
|
CONFIG_RTC_CLASS=y
|
|
CONFIG_RTC_DRV_RS5C372=y
|
|
CONFIG_UIO=y
|
|
CONFIG_UIO_PDRV_GENIRQ=y
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_EXT2_FS_XATTR=y
|
|
CONFIG_EXT2_FS_POSIX_ACL=y
|
|
CONFIG_EXT2_FS_SECURITY=y
|
|
CONFIG_EXT3_FS=y
|
|
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
|
|
CONFIG_EXT3_FS_POSIX_ACL=y
|
|
CONFIG_EXT3_FS_SECURITY=y
|
|
CONFIG_VFAT_FS=y
|
|
CONFIG_PROC_KCORE=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3=y
|
|
CONFIG_ROOT_NFS=y
|
|
CONFIG_NFSD=y
|
|
CONFIG_NLS_CODEPAGE_437=y
|
|
CONFIG_NLS_CODEPAGE_932=y
|
|
CONFIG_NLS_ISO8859_1=y
|
|
# CONFIG_ENABLE_MUST_CHECK is not set
|
|
CONFIG_DEBUG_FS=y
|
|
CONFIG_CRYPTO=y
|
|
CONFIG_CRYPTO_CBC=y
|
|
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
|
CONFIG_CRC_T10DIF=y
|