diff options
| author | Mel Gorman <mgorman@techsingularity.net> | 2022-11-22 13:12:29 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2022-11-30 15:59:01 -0800 |
| commit | a4bafffb5dc5be6c7a3b77b2de0cbaf6776a3c8b (patch) | |
| tree | 04cf1f17fdbbe496d109fbeb331f5a12ef88e17b /net/lapb/lapb_timer.c | |
| parent | 5749077415994eb02d660b2559b9d8278521e73d (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/20221122131229.5263-3-mgorman@techsingularity.net
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
