File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2870,7 +2870,7 @@ static unsigned long deferred_split_scan(struct shrinker *shrink,
28702870 spin_lock_irqsave (& ds_queue -> split_queue_lock , flags );
28712871 /* Take pin on all head pages to avoid freeing them under us */
28722872 list_for_each_safe (pos , next , & ds_queue -> split_queue ) {
2873- page = list_entry ((void * )pos , struct page , mapping );
2873+ page = list_entry ((void * )pos , struct page , deferred_list );
28742874 page = compound_head (page );
28752875 if (get_page_unless_zero (page )) {
28762876 list_move (page_deferred_list (page ), & list );
@@ -2885,7 +2885,7 @@ static unsigned long deferred_split_scan(struct shrinker *shrink,
28852885 spin_unlock_irqrestore (& ds_queue -> split_queue_lock , flags );
28862886
28872887 list_for_each_safe (pos , next , & list ) {
2888- page = list_entry ((void * )pos , struct page , mapping );
2888+ page = list_entry ((void * )pos , struct page , deferred_list );
28892889 if (!trylock_page (page ))
28902890 goto next ;
28912891 /* split_huge_page() removes page from list on success */
You can’t perform that action at this time.
0 commit comments