linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Sergey Senozhatsky <senozhatsky@chromium.org>
To: Alexey Romanov <avromanov@sberdevices.ru>
Cc: minchan@kernel.org, senozhatsky@chromium.org, ngupta@vflare.org,
	akpm@linux-foundation.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org, kernel@sberdevices.ru
Subject: Re: [PATCH v1] zsmalloc: use correct types in _first_obj_offset functions
Date: Fri, 9 Sep 2022 17:50:36 +0900	[thread overview]
Message-ID: <Yxr+XNIoR3e3T84R@google.com> (raw)
In-Reply-To: <20220909083722.85024-1-avromanov@sberdevices.ru>

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>


           reply	other threads:[~2022-09-09  8:50 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20220909083722.85024-1-avromanov@sberdevices.ru>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yxr+XNIoR3e3T84R@google.com \
    --to=senozhatsky@chromium.org \
    --cc=akpm@linux-foundation.org \
    --cc=avromanov@sberdevices.ru \
    --cc=kernel@sberdevices.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=minchan@kernel.org \
    --cc=ngupta@vflare.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox