linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v1] zsmalloc: use correct types in _first_obj_offset functions
       [not found] <20220909083722.85024-1-avromanov@sberdevices.ru>
@ 2022-09-09  8:50 ` Sergey Senozhatsky
  0 siblings, 0 replies; only message in thread
From: Sergey Senozhatsky @ 2022-09-09  8:50 UTC (permalink / raw)
  To: Alexey Romanov
  Cc: minchan, senozhatsky, ngupta, akpm, linux-mm, linux-kernel, kernel

On (22/09/09 11:37), Alexey Romanov wrote:
> 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.
> 
> Fixes: ffedd09fa9b0 ("zsmalloc: Stop using slab fields in struct page")
> Signed-off-by: Alexey Romanov <avromanov@sberdevices.ru>

Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-09  8:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220909083722.85024-1-avromanov@sberdevices.ru>
2022-09-09  8:50 ` [PATCH v1] zsmalloc: use correct types in _first_obj_offset functions Sergey Senozhatsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox