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> |
||
---|---|---|
.. | ||
ap325rxa_defconfig | ||
apsh4a3a_defconfig | ||
apsh4ad0a_defconfig | ||
dreamcast_defconfig | ||
ecovec24_defconfig | ||
ecovec24-romimage_defconfig | ||
edosk7705_defconfig | ||
edosk7760_defconfig | ||
espt_defconfig | ||
hp6xx_defconfig | ||
j2_defconfig | ||
kfr2r09_defconfig | ||
kfr2r09-romimage_defconfig | ||
landisk_defconfig | ||
lboxre2_defconfig | ||
magicpanelr2_defconfig | ||
microdev_defconfig | ||
migor_defconfig | ||
polaris_defconfig | ||
r7780mp_defconfig | ||
r7785rp_defconfig | ||
rsk7201_defconfig | ||
rsk7203_defconfig | ||
rsk7264_defconfig | ||
rsk7269_defconfig | ||
rts7751r2d1_defconfig | ||
rts7751r2dplus_defconfig | ||
sdk7780_defconfig | ||
sdk7786_defconfig | ||
se7206_defconfig | ||
se7343_defconfig | ||
se7619_defconfig | ||
se7705_defconfig | ||
se7712_defconfig | ||
se7721_defconfig | ||
se7722_defconfig | ||
se7724_defconfig | ||
se7750_defconfig | ||
se7751_defconfig | ||
se7780_defconfig | ||
secureedge5410_defconfig | ||
sh03_defconfig | ||
sh2007_defconfig | ||
sh7710voipgw_defconfig | ||
sh7724_generic_defconfig | ||
sh7757lcr_defconfig | ||
sh7763rdp_defconfig | ||
sh7770_generic_defconfig | ||
sh7785lcr_32bit_defconfig | ||
sh7785lcr_defconfig | ||
shmin_defconfig | ||
shx3_defconfig | ||
titan_defconfig | ||
ul2_defconfig | ||
urquell_defconfig |