Files
Centos-kernel-stream-9/mm
Radostin Stoyanov 79b0243403 mm: memcg: add NULL check to obj_cgroup_put()
JIRA: https://issues.redhat.com/browse/RHEL-113275

commit 91b71e78b8e478e1a9af36b15ff1d38810572866
Author: Yosry Ahmed <yosryahmed@google.com>
Date:   Sat Mar 16 01:58:03 2024 +0000

    mm: memcg: add NULL check to obj_cgroup_put()

    9 out of 16 callers perform a NULL check before calling obj_cgroup_put().
    Move the NULL check in the function, similar to mem_cgroup_put().  The
    unlikely() NULL check in current_objcg_update() was left alone to avoid
    dropping the unlikey() annotation as this a fast path.

    Link: https://lkml.kernel.org/r/20240316015803.2777252-1-yosryahmed@google.com
    Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
    Acked-by: Johannes Weiner <hannes@cmpxchg.org>
    Acked-by: Roman Gushchin <roman.gushchin@linux.dev>
    Cc: Michal Hocko <mhocko@kernel.org>
    Cc: Muchun Song <muchun.song@linux.dev>
    Cc: Shakeel Butt <shakeel.butt@linux.dev>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Radostin Stoyanov <rstoyano@redhat.com>
2026-01-23 08:32:52 +00:00
..
2025-04-29 18:49:26 -03:00
2024-04-30 17:51:24 -06:00
2024-07-12 12:34:59 -04:00
2024-09-05 20:36:52 -04:00
2024-10-01 11:22:31 -04:00
2025-04-28 19:13:10 +01:00
2025-04-28 19:12:47 +01:00
2025-11-04 10:13:02 -05:00
2024-12-09 12:22:58 -05:00
2025-11-04 10:13:02 -05:00