Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8198899b authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: deactivate inode page if the inode is evicted



If the inode page is clean during its inode eviction, it'd better drop the page
to reduce further memory pressure.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent d5f66990
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -295,4 +295,5 @@ void f2fs_evict_inode(struct inode *inode)
	sb_end_intwrite(inode->i_sb);
no_delete:
	clear_inode(inode);
	invalidate_mapping_pages(NODE_MAPPING(sbi), inode->i_ino, inode->i_ino);
}