mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + mm-kmem-properly-initialize-local-objcg-variable-in-current_obj_cgroup-fix.patch added to mm-hotfixes-unstable branch
@ 2023-11-16 15:02 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-11-16 15:02 UTC (permalink / raw)
  To: mm-commits, shakeelb, roman.gushchin, rientjes, muchun.song,
	mhocko, hannes, erhard_f, dennis, vbabka, akpm


The patch titled
     Subject: mm-kmem-properly-initialize-local-objcg-variable-in-current_obj_cgroup-fix
has been added to the -mm mm-hotfixes-unstable branch.  Its filename is
     mm-kmem-properly-initialize-local-objcg-variable-in-current_obj_cgroup-fix.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-kmem-properly-initialize-local-objcg-variable-in-current_obj_cgroup-fix.patch

This patch will later appear in the mm-hotfixes-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: Vlastimil Babka <vbabka@suse.cz>
Subject: mm-kmem-properly-initialize-local-objcg-variable-in-current_obj_cgroup-fix
Date: Thu, 16 Nov 2023 08:04:18 +0100

remove redundant assignment

Link: https://lkml.kernel.org/r/4bd106d5-c3e3-6731-9a74-cff81e2392de@suse.cz
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Cc: David Rientjes <rientjes@google.com>
Cc: Dennis Zhou <dennis@kernel.org>
Cc: Erhard Furtner <erhard_f@mailbox.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin (Cruise) <roman.gushchin@linux.dev>
Cc: Shakeel Butt <shakeelb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/memcontrol.c |    1 -
 1 file changed, 1 deletion(-)

--- a/mm/memcontrol.c~mm-kmem-properly-initialize-local-objcg-variable-in-current_obj_cgroup-fix
+++ a/mm/memcontrol.c
@@ -3177,7 +3177,6 @@ from_memcg:
 		objcg = rcu_dereference_check(memcg->objcg, 1);
 		if (likely(objcg))
 			break;
-		objcg = NULL;
 	}
 
 	return objcg;
_

Patches currently in -mm which might be from vbabka@suse.cz are

mm-kmem-properly-initialize-local-objcg-variable-in-current_obj_cgroup-fix.patch


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

only message in thread, other threads:[~2023-11-16 15:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-16 15:02 + mm-kmem-properly-initialize-local-objcg-variable-in-current_obj_cgroup-fix.patch added to mm-hotfixes-unstable branch Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).