linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Zhongkun He <hezhongkun.hzk@bytedance.com>
Cc: linux-mm@kvack.org
Subject: Re: [PATCH] mm/z3fold:remove unneeded spinlock in z3fold_alloc
Date: Wed, 21 Feb 2024 14:23:50 -0800	[thread overview]
Message-ID: <20240221142350.f3ed2152a845a6dbc0dc449a@linux-foundation.org> (raw)
In-Reply-To: <20240204131543.1469661-1-hezhongkun.hzk@bytedance.com>

On Sun,  4 Feb 2024 21:15:43 +0800 Zhongkun He <hezhongkun.hzk@bytedance.com> wrote:

> The spinklock in z3fold_alloc() is used to protect page->lru,
> but now it was removed in commit 'e774a7bc7f0ad', so remove
> the spinlock too.
> 

I think I'll drop this patch and "mm/z3fold: remove unneeded spinlock"
pending some more clarity and agreement on whether these are
safe.  Thanks.


  parent reply	other threads:[~2024-02-21 22:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-04 13:15 Zhongkun He
2024-02-08  3:34 ` Johannes Weiner
2024-02-08 17:29   ` [External] " Zhongkun He
2024-02-21 22:23 ` Andrew Morton [this message]
2024-02-22  2:40   ` Zhongkun He

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=20240221142350.f3ed2152a845a6dbc0dc449a@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=hezhongkun.hzk@bytedance.com \
    --cc=linux-mm@kvack.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