projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: move zone->pages_scanned into a vmstat counter
[firefly-linux-kernel-4.4.55.git]
/
mm
/
filemap.c
diff --git
a/mm/filemap.c
b/mm/filemap.c
index 65d44fd88c7850c5f1ae23d5d2e46b40ce831317..7e85c8147e1b739f9d3c7eb82240b1a49b35da22 100644
(file)
--- a/
mm/filemap.c
+++ b/
mm/filemap.c
@@
-1091,9
+1091,9
@@
no_page:
if (WARN_ON_ONCE(!(fgp_flags & FGP_LOCK)))
fgp_flags |= FGP_LOCK;
if (WARN_ON_ONCE(!(fgp_flags & FGP_LOCK)))
fgp_flags |= FGP_LOCK;
- /* Init accessed so avoi
t
atomic mark_page_accessed later */
+ /* Init accessed so avoi
d
atomic mark_page_accessed later */
if (fgp_flags & FGP_ACCESSED)
if (fgp_flags & FGP_ACCESSED)
-
init_page_access
ed(page);
+
__SetPageReferenc
ed(page);
err = add_to_page_cache_lru(page, mapping, offset, radix_gfp_mask);
if (unlikely(err)) {
err = add_to_page_cache_lru(page, mapping, offset, radix_gfp_mask);
if (unlikely(err)) {