* + mm-z3fold-remove-unneeded-spinlock.patch added to mm-unstable branch
@ 2024-02-08 0:03 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-02-08 0:03 UTC (permalink / raw)
To: mm-commits, hannes, cerasuolodomenico, hezhongkun.hzk, akpm
The patch titled
Subject: mm/z3fold: remove unneeded spinlock
has been added to the -mm mm-unstable branch. Its filename is
mm-z3fold-remove-unneeded-spinlock.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-z3fold-remove-unneeded-spinlock.patch
This patch will later appear in the mm-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Zhongkun He <hezhongkun.hzk@bytedance.com>
Subject: mm/z3fold: remove unneeded spinlock
Date: Sun, 4 Feb 2024 20:54:04 +0800
There is no need to use spinlock in this section, so remove it.
Link: https://lkml.kernel.org/r/20240204125404.2112384-1-hezhongkun.hzk@bytedance.com
Signed-off-by: Zhongkun He <hezhongkun.hzk@bytedance.com>
Cc: Domenico Cerasuolo <cerasuolodomenico@gmail.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/z3fold.c | 2 --
1 file changed, 2 deletions(-)
--- a/mm/z3fold.c~mm-z3fold-remove-unneeded-spinlock
+++ a/mm/z3fold.c
@@ -442,8 +442,6 @@ static void __release_z3fold_page(struct
WARN_ON(!list_empty(&zhdr->buddy));
set_bit(PAGE_STALE, &page->private);
clear_bit(NEEDS_COMPACTING, &page->private);
- spin_lock(&pool->lock);
- spin_unlock(&pool->lock);
if (locked)
z3fold_page_unlock(zhdr);
_
Patches currently in -mm which might be from hezhongkun.hzk@bytedance.com are
mm-z3fold-remove-unneeded-spinlock-in-z3fold_alloc.patch
mm-z3fold-remove-unneeded-spinlock.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-08 0:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-08 0:03 + mm-z3fold-remove-unneeded-spinlock.patch added to mm-unstable branch Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.