summaryrefslogtreecommitdiff
path: root/kernel/livepatch/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2025-09-10 15:29:17 +0100
committerAndrew Morton <akpm@linux-foundation.org>2025-09-21 14:22:32 -0700
commit3a37469e5ac004905e4125bf60b43cc5216e83dc (patch)
treed468969d2c3a0641f4f2cd1299bc4aa75f63ec87 /kernel/livepatch/git@git.tavy.me:linux.git
parentb33939383b6439cb90cebf8df301cd2cbed0b980 (diff)
mm: constify compound_order() and page_size()
Patch series "Small cleanups". These small cleanups can be applied now to reduce conflicts during the next merge window. They're all from various efforts to split struct page from other memdescs. Thanks to Vlastimil for the suggestion. This patch (of 3): These functions do not modify their arguments. Telling the compiler this may improve code generation, and allows us to pass const arguments from other functions. Link: https://lkml.kernel.org/r/20250910142923.2465470-1-willy@infradead.org Link: https://lkml.kernel.org/r/20250910142923.2465470-2-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Zi Yan <ziy@nvidia.com> Acked-by: David Hildenbrand <david@redhat.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel/livepatch/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions