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
vfs: make AIO use the proper rw_verify_area() area helpers
[firefly-linux-kernel-4.4.55.git]
/
fs
/
drop_caches.c
diff --git
a/fs/drop_caches.c
b/fs/drop_caches.c
index 440999c24353a9da5763ccbce3d23fd8aab5a44e..c00e055b62820945bef291fa68b145a4d7145667 100644
(file)
--- a/
fs/drop_caches.c
+++ b/
fs/drop_caches.c
@@
-42,11
+42,10
@@
static void drop_slab(void)
int nr_objects;
struct shrink_control shrink = {
.gfp_mask = GFP_KERNEL,
- .nr_scanned = 1000,
};
do {
- nr_objects = shrink_slab(&shrink, 1000);
+ nr_objects = shrink_slab(&shrink, 1000
, 1000
);
} while (nr_objects > 10);
}