Re: [PATCH v4 2/4] zram: implement deduplication in zram

From: Sergey Senozhatsky
Date: Tue Apr 25 2017 - 22:37:48 EST


On (04/26/17 09:52), js1304@xxxxxxxxx wrote:
[..]
> struct zram_entry {
> + struct rb_node rb_node;
> + u32 len;
> + u32 checksum;
> + unsigned long refcount;

use refcount_t? what do you think?

-ss