Kirill A. Shutemov fd37721803 mm, treewide: introduce NR_PAGE_ORDERS
NR_PAGE_ORDERS defines the number of page orders supported by the page
allocator, ranging from 0 to MAX_ORDER, MAX_ORDER + 1 in total.

NR_PAGE_ORDERS assists in defining arrays of page orders and allows for
more natural iteration over them.

[kirill.shutemov@linux.intel.com: fixup for kerneldoc warning]
  Link: https://lkml.kernel.org/r/20240101111512.7empzyifq7kxtzk3@box
Link: https://lkml.kernel.org/r/20231228144704.14033-1-kirill.shutemov@linux.intel.com
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-01-08 15:27:15 -08:00
..
2021-07-29 09:12:01 +02:00
2023-09-20 15:27:44 +02:00
2021-08-13 17:50:48 +02:00
2021-11-30 09:41:28 +01:00
2023-05-22 12:23:50 +02:00
2023-02-24 12:58:55 -08:00
2022-06-27 13:45:48 +02:00
2020-07-16 18:16:31 -04:00
2021-10-04 12:06:14 +02:00
2023-06-02 20:05:45 +03:00
2023-10-12 10:48:15 -07:00