On (02/17/16 11:29), xuyiping wrote: [..] > > if (off + class->size <= PAGE_SIZE) { > > for huge object, the code will get into this branch, there is no more huge > object process in __zs_map_object.
correct, well, techically, it's not about huge objects, but objects that span page boundaries. we can have objects of pretty small sizes being split between pages, for example size:1536 and offset:3072, etc. -ss