OpenCloudOS-Kernel/arch/sh/configs
Kirill A. Shutemov 23baf831a3 mm, treewide: redefine MAX_ORDER sanely
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>
2023-04-05 19:42:46 -07:00
..
ap325rxa_defconfig arch: Remove references to CONFIG_NFSD_V3 in the default configs 2022-03-11 10:25:16 -05:00
apsh4a3a_defconfig treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
apsh4ad0a_defconfig treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
dreamcast_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
ecovec24-romimage_defconfig sh: configs: Remove useless UEVENT_HELPER_PATH 2019-06-10 15:49:20 +09:00
ecovec24_defconfig mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
edosk7705_defconfig drivers/char: remove /dev/kmem for good 2021-05-07 00:26:34 -07:00
edosk7760_defconfig treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
espt_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
hp6xx_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
j2_defconfig sh: add earlycon support to j2_defconfig 2016-10-18 18:54:56 -04:00
kfr2r09-romimage_defconfig sh: configs: Remove useless UEVENT_HELPER_PATH 2019-06-10 15:49:20 +09:00
kfr2r09_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
landisk_defconfig USB: sisusbvga: remove console support 2022-12-08 10:44:24 +01:00
lboxre2_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
magicpanelr2_defconfig treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
microdev_defconfig sh: remove CONFIG_IDE from most defconfig 2021-01-06 19:55:25 -05:00
migor_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
polaris_defconfig treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
r7780mp_defconfig treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
r7785rp_defconfig treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
rsk7201_defconfig mm, slob: rename CONFIG_SLOB to CONFIG_SLOB_DEPRECATED 2022-12-01 00:09:20 +01:00
rsk7203_defconfig mm, slob: rename CONFIG_SLOB to CONFIG_SLOB_DEPRECATED 2022-12-01 00:09:20 +01:00
rsk7264_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
rsk7269_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
rts7751r2d1_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
rts7751r2dplus_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
sdk7780_defconfig treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
sdk7786_defconfig mm: memcontrol: drop dead CONFIG_MEMCG_SWAP config symbol 2022-10-03 14:03:36 -07:00
se7206_defconfig mm, slob: rename CONFIG_SLOB to CONFIG_SLOB_DEPRECATED 2022-12-01 00:09:20 +01:00
se7343_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
se7619_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
se7705_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
se7712_defconfig treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
se7721_defconfig treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
se7722_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
se7724_defconfig arch: Remove references to CONFIG_NFSD_V3 in the default configs 2022-03-11 10:25:16 -05:00
se7750_defconfig sh: remove CONFIG_IDE from most defconfig 2021-01-06 19:55:25 -05:00
se7751_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
se7780_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
secureedge5410_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
sh03_defconfig arch: Remove references to CONFIG_NFSD_V3 in the default configs 2022-03-11 10:25:16 -05:00
sh2007_defconfig treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
sh7710voipgw_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
sh7724_generic_defconfig drivers/char: remove /dev/kmem for good 2021-05-07 00:26:34 -07:00
sh7757lcr_defconfig treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
sh7763rdp_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
sh7770_generic_defconfig drivers/char: remove /dev/kmem for good 2021-05-07 00:26:34 -07:00
sh7785lcr_32bit_defconfig treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
sh7785lcr_defconfig sh: configs: Remove useless UEVENT_HELPER_PATH 2019-06-10 15:49:20 +09:00
shmin_defconfig mm, slob: rename CONFIG_SLOB to CONFIG_SLOB_DEPRECATED 2022-12-01 00:09:20 +01:00
shx3_defconfig mm, slob: rename CONFIG_SLOB to CONFIG_SLOB_DEPRECATED 2022-12-01 00:09:20 +01:00
titan_defconfig arch: Remove references to CONFIG_NFSD_V3 in the default configs 2022-03-11 10:25:16 -05:00
ul2_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
urquell_defconfig - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00