Loading mm/zsmalloc.c +3 −6 Original line number Diff line number Diff line Loading @@ -281,7 +281,6 @@ struct mapping_area { #endif char *vm_addr; /* address of kmap_atomic()'ed pages */ enum zs_mapmode vm_mm; /* mapping mode */ bool huge; }; static int create_handle_cache(struct zs_pool *pool) Loading Loading @@ -1127,11 +1126,9 @@ static void __zs_unmap_object(struct mapping_area *area, goto out; buf = area->vm_buf; if (!area->huge) { buf = buf + ZS_HANDLE_SIZE; size -= ZS_HANDLE_SIZE; off += ZS_HANDLE_SIZE; } sizes[0] = PAGE_SIZE - off; sizes[1] = size - sizes[0]; Loading Loading
mm/zsmalloc.c +3 −6 Original line number Diff line number Diff line Loading @@ -281,7 +281,6 @@ struct mapping_area { #endif char *vm_addr; /* address of kmap_atomic()'ed pages */ enum zs_mapmode vm_mm; /* mapping mode */ bool huge; }; static int create_handle_cache(struct zs_pool *pool) Loading Loading @@ -1127,11 +1126,9 @@ static void __zs_unmap_object(struct mapping_area *area, goto out; buf = area->vm_buf; if (!area->huge) { buf = buf + ZS_HANDLE_SIZE; size -= ZS_HANDLE_SIZE; off += ZS_HANDLE_SIZE; } sizes[0] = PAGE_SIZE - off; sizes[1] = size - sizes[0]; Loading