Messages in this thread | | | Date | Wed, 17 Feb 2016 12:55:58 +0900 | From | Sergey Senozhatsky <> | Subject | Re: [PATCH] zsmalloc: drop unused member 'mapping_area->huge' |
| |
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
| |