diff options
| author | Anshuman Khandual <anshuman.khandual@arm.com> | 2020-06-03 15:59:17 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-03 20:09:45 -0700 |
| commit | ae70eddd5633fc71dccf210f237c5aefc96f4332 (patch) | |
| tree | 9194a759aa0799e2f654340f6a7bfaf7ff5b88d7 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | mm, page_alloc: reset the zone->watermark_boost early (diff) | |
| download | linux-ae70eddd5633fc71dccf210f237c5aefc96f4332.tar.gz linux-ae70eddd5633fc71dccf210f237c5aefc96f4332.zip | |
mm/page_alloc: restrict and formalize compound_page_dtors[]
Restrict elements in compound_page_dtors[] array per NR_COMPOUND_DTORS and
explicitly position them according to enum compound_dtor_id. This
improves protection against possible misalignment between
compound_page_dtors[] and enum compound_dtor_id later on.
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Link: http://lkml.kernel.org/r/1589795958-19317-1-git-send-email-anshuman.khandual@arm.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
