|
@@ -3482,7 +3482,7 @@ static unsigned long deferred_split_scan(struct shrinker *shrink,
|
|
|
|
|
|
spin_lock_irqsave(&pgdata->split_queue_lock, flags);
|
|
|
/* Take pin on all head pages to avoid freeing them under us */
|
|
|
- list_for_each_safe(pos, next, &list) {
|
|
|
+ list_for_each_safe(pos, next, &pgdata->split_queue) {
|
|
|
page = list_entry((void *)pos, struct page, mapping);
|
|
|
page = compound_head(page);
|
|
|
if (get_page_unless_zero(page)) {
|