diff options
Diffstat (limited to 'include/linux/shrinker.h')
| -rw-r--r-- | include/linux/shrinker.h | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/include/linux/shrinker.h b/include/linux/shrinker.h index 4fcacd915d45..51d189615bda 100644 --- a/include/linux/shrinker.h +++ b/include/linux/shrinker.h @@ -18,6 +18,13 @@ struct shrink_control {  	 */  	unsigned long nr_to_scan; +	/* +	 * How many objects did scan_objects process? +	 * This defaults to nr_to_scan before every call, but the callee +	 * should track its actual progress. +	 */ +	unsigned long nr_scanned; +  	/* current node being shrunk (for NUMA aware shrinkers) */  	int nid; |