Loading mm/zsmalloc.c +2 −1 Original line number Diff line number Diff line Loading @@ -731,7 +731,8 @@ static enum fullness_group fix_fullness_group(struct size_class *class, * to form a zspage for each size class. This is important * to reduce wastage due to unusable space left at end of * each zspage which is given as: * wastage = Zp - Zp % size_class * wastage = Zp % class_size * usage = Zp - wastage * where Zp = zspage size = k * PAGE_SIZE where k = 1, 2, ... * * For example, for size class of 3/8 * PAGE_SIZE, we should Loading Loading
mm/zsmalloc.c +2 −1 Original line number Diff line number Diff line Loading @@ -731,7 +731,8 @@ static enum fullness_group fix_fullness_group(struct size_class *class, * to form a zspage for each size class. This is important * to reduce wastage due to unusable space left at end of * each zspage which is given as: * wastage = Zp - Zp % size_class * wastage = Zp % class_size * usage = Zp - wastage * where Zp = zspage size = k * PAGE_SIZE where k = 1, 2, ... * * For example, for size class of 3/8 * PAGE_SIZE, we should Loading