Skip to content

Commit de07706

Browse files
akpm00hnaz
authored andcommitted
mm-move-madv_free-pages-into-lru_inactive_file-list-checkpatch-fixes
WARNING: line over 80 characters torvalds#127: FILE: mm/swap.c:571: + del_page_from_lru_list(page, lruvec, LRU_INACTIVE_ANON + active); WARNING: please, no spaces at the start of a line torvalds#177: FILE: mm/swap.c:654: + {$ total: 0 errors, 2 warnings, 133 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. ./patches/mm-move-madv_free-pages-into-lru_inactive_file-list.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Shaohua Li <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 116660b commit de07706

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mm/swap.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,8 @@ static void lru_lazyfree_fn(struct page *page, struct lruvec *lruvec,
568568
!PageUnevictable(page)) {
569569
bool active = PageActive(page);
570570

571-
del_page_from_lru_list(page, lruvec, LRU_INACTIVE_ANON + active);
571+
del_page_from_lru_list(page, lruvec,
572+
LRU_INACTIVE_ANON + active);
572573
ClearPageActive(page);
573574
ClearPageReferenced(page);
574575
/*
@@ -651,7 +652,7 @@ void deactivate_file_page(struct page *page)
651652
* This is done to accelerate the reclaim of @page.
652653
*/
653654
void mark_page_lazyfree(struct page *page)
654-
{
655+
{
655656
if (PageLRU(page) && PageAnon(page) && PageSwapBacked(page) &&
656657
!PageUnevictable(page)) {
657658
struct pagevec *pvec = &get_cpu_var(lru_lazyfree_pvecs);

0 commit comments

Comments
 (0)