On 11/6/23 22:55, Vasily Averin wrote: > 'element' and 'handle' are union in struct zram_table_entry. struct zram_table_entry { union { unsigned long handle; unsigned long element; }; I do not understand the sense of this union. >From my POV it just makes it harder to check the code because an reviewer doesn't expect that the zram element can't be used together. Can I remove this union at all and replace zram_get/set_element calls by zram_get/set_handle instead? Thank you, Vasily Averin