diff options
| author | Chengming Zhou <[email protected]> | 2024-02-28 02:38:54 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-03-04 17:01:28 -0800 |
| commit | 26e93839d6d9d9c6169fa7559b8d1577e42d4ace (patch) | |
| tree | 8e900da028b540bbd953b1061d99cb02141755ab /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 6c1b748ebf27befffec83b77ca1960bf70ed6ac9 (diff) | |
mm/zsmalloc: don't need to reserve LSB in handle
We will save allocated tag in the object header to indicate that it's
allocated.
handle |= OBJ_ALLOCATED_TAG;
So the object header needs to reserve LSB for this tag bit.
But the handle itself doesn't need to reserve LSB to save tag, since it's
only used to find the position of object, by (pfn + obj_idx). So remove
LSB reserve from handle, one more bit can be used as obj_idx.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Chengming Zhou <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Nhat Pham <[email protected]>
Cc: Yosry Ahmed <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions