[PATCH v3 1/4] zsmalloc: move pages_allocated to zs_pool

2014-08-20 Thread Minchan Kim
Pages_allocated has counted in size_class structure and when user want to see total_size_bytes, it gathers all of value from each size_class to report the sum. It's not bad if user don't see the value often but if user start to see the value frequently, it would be not a good deal for performance

[PATCH v3 1/4] zsmalloc: move pages_allocated to zs_pool

2014-08-20 Thread Minchan Kim
Pages_allocated has counted in size_class structure and when user want to see total_size_bytes, it gathers all of value from each size_class to report the sum. It's not bad if user don't see the value often but if user start to see the value frequently, it would be not a good deal for performance