]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDER
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 28 Dec 2023 14:47:04 +0000 (17:47 +0300)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 8 Jan 2024 23:27:15 +0000 (15:27 -0800)
commit5e0a760b44417f7cadd79de2204d6247109558a0
tree5f93b6d09d15cb11b0d92e8e4b98dedf1d9ab5b6
parentfd37721803c6e73619108f76ad2e12a9aa5fafaf
mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDER

commit 23baf831a32c ("mm, treewide: redefine MAX_ORDER sanely") has
changed the definition of MAX_ORDER to be inclusive.  This has caused
issues with code that was not yet upstream and depended on the previous
definition.

To draw attention to the altered meaning of the define, rename MAX_ORDER
to MAX_PAGE_ORDER.

Link: https://lkml.kernel.org/r/20231228144704.14033-2-kirill.shutemov@linux.intel.com
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
76 files changed:
Documentation/admin-guide/kdump/vmcoreinfo.rst
Documentation/admin-guide/kernel-parameters.txt
Documentation/networking/packet_mmap.rst
arch/arm/Kconfig
arch/arm64/Kconfig
arch/arm64/include/asm/sparsemem.h
arch/arm64/kvm/hyp/nvhe/page_alloc.c
arch/arm64/mm/hugetlbpage.c
arch/m68k/Kconfig.cpu
arch/nios2/Kconfig
arch/powerpc/Kconfig
arch/powerpc/mm/book3s64/iommu_api.c
arch/powerpc/mm/hugetlbpage.c
arch/powerpc/platforms/powernv/pci-ioda.c
arch/sh/mm/Kconfig
arch/sparc/Kconfig
arch/sparc/kernel/pci_sun4v.c
arch/sparc/mm/tsb.c
arch/um/kernel/um_arch.c
arch/xtensa/Kconfig
drivers/accel/qaic/qaic_data.c
drivers/base/regmap/regmap-debugfs.c
drivers/block/floppy.c
drivers/crypto/ccp/sev-dev.c
drivers/crypto/hisilicon/sgl.c
drivers/gpu/drm/i915/gem/i915_gem_internal.c
drivers/gpu/drm/i915/gem/selftests/huge_pages.c
drivers/gpu/drm/ttm/tests/ttm_pool_test.c
drivers/gpu/drm/ttm/ttm_pool.c
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h
drivers/iommu/dma-iommu.c
drivers/irqchip/irq-gic-v3-its.c
drivers/md/dm-bufio.c
drivers/md/dm-crypt.c
drivers/md/dm-flakey.c
drivers/misc/genwqe/card_dev.c
drivers/misc/genwqe/card_utils.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/ibm/ibmvnic.h
drivers/video/fbdev/hyperv_fb.c
drivers/video/fbdev/vermilion/vermilion.c
drivers/virtio/virtio_balloon.c
drivers/virtio/virtio_mem.c
fs/ramfs/file-nommu.c
include/linux/hugetlb.h
include/linux/mmzone.h
include/linux/pageblock-flags.h
include/linux/slab.h
kernel/dma/pool.c
kernel/dma/swiotlb.c
kernel/events/ring_buffer.c
mm/Kconfig
mm/compaction.c
mm/debug_page_alloc.c
mm/debug_vm_pgtable.c
mm/huge_memory.c
mm/hugetlb.c
mm/internal.h
mm/kmsan/init.c
mm/memblock.c
mm/memory_hotplug.c
mm/mm_init.c
mm/page_alloc.c
mm/page_isolation.c
mm/page_owner.c
mm/page_reporting.c
mm/shuffle.h
mm/slab.c
mm/slub.c
mm/vmscan.c
mm/vmstat.c
net/smc/smc_ib.c
security/integrity/ima/ima_crypto.c
tools/perf/Documentation/perf-intel-pt.txt
tools/testing/memblock/linux/mmzone.h
tools/testing/selftests/mm/thuge-gen.c