mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
mm: process_reclaim: consider compound pages
Avoid passing tail pages to isolate_lru_page. In the case process reclaim, since only lru pages are considered, this is just to avoid a warning from isolate_lru_page. Change-Id: I1f54dcec15f8c2d5ba16738657e79d2793d36c77 Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
This commit is contained in:
parent
bbc7f2d3ed
commit
f7baca8ee5
1 changed files with 1 additions and 1 deletions
|
|
@ -1736,7 +1736,7 @@ cont:
|
|||
if (!page)
|
||||
continue;
|
||||
|
||||
if (isolate_lru_page(page))
|
||||
if (isolate_lru_page(compound_head(page)))
|
||||
continue;
|
||||
|
||||
list_add(&page->lru, &page_list);
|
||||
|
|
|
|||
Loading…
Reference in a new issue