aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorMel Gorman <[email protected]>2022-11-22 13:12:29 +0000
committerAndrew Morton <[email protected]>2022-11-30 15:59:01 -0800
commita4bafffb5dc5be6c7a3b77b2de0cbaf6776a3c8b (patch)
tree04cf1f17fdbbe496d109fbeb331f5a12ef88e17b /scripts/gdb/vmlinux-gdb.py
parent5749077415994eb02d660b2559b9d8278521e73d (diff)
mm/page_alloc: simplify locking during free_unref_page_list
While freeing a large list, the zone lock will be released and reacquired to avoid long hold times since commit c24ad77d962c ("mm/page_alloc.c: avoid excessive IRQ disabled times in free_unref_page_list()"). As suggested by Vlastimil Babka, the lockrelease/reacquire logic can be simplified by reusing the logic that acquires a different lock when changing zones. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Mel Gorman <[email protected]> Reviewed-by: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions