Re: [PATCH v3 3/5] handle zcache_[eph|pers]_zpages for zero-filled page

2013-03-16 Thread Konrad Rzeszutek Wilk
On Fri, Mar 15, 2013 at 10:34:18AM +0800, Wanpeng Li wrote: > Increment/decrement zcache_[eph|pers]_zpages for zero-filled pages, > the main point of the counters for zpages and pageframes is to be > able to calculate density == zpages/pageframes. A zero-filled page > becomes a zpage that

Re: [PATCH v3 3/5] handle zcache_[eph|pers]_zpages for zero-filled page

2013-03-16 Thread Konrad Rzeszutek Wilk
On Fri, Mar 15, 2013 at 10:34:18AM +0800, Wanpeng Li wrote: Increment/decrement zcache_[eph|pers]_zpages for zero-filled pages, the main point of the counters for zpages and pageframes is to be able to calculate density == zpages/pageframes. A zero-filled page becomes a zpage that compresses

[PATCH v3 3/5] handle zcache_[eph|pers]_zpages for zero-filled page

2013-03-14 Thread Wanpeng Li
Increment/decrement zcache_[eph|pers]_zpages for zero-filled pages, the main point of the counters for zpages and pageframes is to be able to calculate density == zpages/pageframes. A zero-filled page becomes a zpage that "compresses" to zero bytes and, as a result, requires zero pageframes for

[PATCH v3 3/5] handle zcache_[eph|pers]_zpages for zero-filled page

2013-03-14 Thread Wanpeng Li
Increment/decrement zcache_[eph|pers]_zpages for zero-filled pages, the main point of the counters for zpages and pageframes is to be able to calculate density == zpages/pageframes. A zero-filled page becomes a zpage that compresses to zero bytes and, as a result, requires zero pageframes for