diff options
| author | Alexey Romanov <[email protected]> | 2022-09-09 11:37:22 +0300 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-10-03 14:03:07 -0700 |
| commit | 671f2fa8a2b2d15940d80be4a2baf22758724647 (patch) | |
| tree | 60af1e4ec7d1a2410efb4efdf5180329bddb677a /tools/perf/scripts/python/bin | |
| parent | 85a34107eba913a2cb7c7c47c49f50073bfb67dd (diff) | |
zsmalloc: use correct types in _first_obj_offset functions
Since commit ffedd09fa9b0 ("zsmalloc: Stop using slab fields in struct
page") we are using page->page_type (unsigned int) field instead of
page->units (int) as first object offset in a subpage of zspage. So
get_first_obj_offset() and set_first_obj_offset() functions should work
with unsigned int type.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: ffedd09fa9b0 ("zsmalloc: Stop using slab fields in struct page")
Signed-off-by: Alexey Romanov <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Cc: Alexey Romanov <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Nitin Gupta <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions