]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/zsmalloc.h
zsmalloc: account the number of compacted pages
[mirror_ubuntu-bionic-kernel.git] / include / linux / zsmalloc.h
index ad3d23239043c8800143aeffcca708f74cccd1f3..6398dfae53f103200a38b39c2a00cf89c4d12448 100644 (file)
@@ -35,8 +35,8 @@ enum zs_mapmode {
 };
 
 struct zs_pool_stats {
-       /* How many objects were migrated */
-       unsigned long num_migrated;
+       /* How many pages were migrated (freed) */
+       unsigned long pages_compacted;
 };
 
 struct zs_pool;