Re: [PATCH] mm/zsmalloc: don't need to save tag bit in handle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On (24/02/27 03:00), chengming.zhou@xxxxxxxxx wrote:
> 
> We only need to save the position (pfn + obj_idx) in the handle, don't
> need to save tag bit in handle. So one more bit can be used as obj_idx.

[..]

> mm/zsmalloc: don't need to save tag bit in handle

Does this mean "don't need to reserve LSB for tag"?
We still save allocated tag in the handle, that's what

	handle |= OBJ_ALLOCATED_TAG;

does.

> Actually, the tag bit is only useful in zspage's memory space, to tell
> if an object is allocated or not.

I'm not completely sure if I follow this sentence.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux