summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-report
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@google.com>2025-08-15 20:16:13 +0000
committerJakub Kicinski <kuba@kernel.org>2025-08-19 19:20:59 -0700
commitbd4aa2337374dd04b8627efd26227ebd49f69285 (patch)
treedbcc31eb4bb5b1d69e5d8191978c0e4abf81d790 /tools/perf/scripts/python/bin/task-analyzer-report
parent9d85c565a7b7c78b732393c02bcaa4d5c275fe58 (diff)
downloadkernel-bd4aa2337374dd04b8627efd26227ebd49f69285.tar.gz
net: Clean up __sk_mem_raise_allocated().
In __sk_mem_raise_allocated(), charged is initialised as true due to the weird condition removed in the previous patch. It makes the variable unreliable by itself, so we have to check another variable, memcg, in advance. Also, we will factorise the common check below for memcg later. if (mem_cgroup_sockets_enabled && sk->sk_memcg) As a prep, let's initialise charged as false and memcg as NULL. Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Shakeel Butt <shakeel.butt@linux.dev> Link: https://patch.msgid.link/20250815201712.1745332-6-kuniyu@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-report')
0 files changed, 0 insertions, 0 deletions
f='/distro/kernel/commit/include/asm-mn10300?h=linux-6.12.y&id=912019572180f287e85b5534fbb1c1e3ca6df6c9'>mn10300: move sg_dma_{address,len}() to asm/scatterlist.hAdrian Bunk 2008-07-24PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architecturesAndrea Righi 2008-07-24Remove asm/semaphore.hMatthew Wilcox 2008-05-28MN10300: Fix typo in header guardVegard Nossum 2008-05-08MN10300: Make cpu_relax() invoke barrier()David Howells 2008-05-02mn10300: types: use <asm-generic/int-*.h> for the mn10300 architectureH. Peter Anvin 2008-05-01rename div64_64 to div64_u64Roman Zippel 2008-04-29kernel: Move arches to use common unaligned accessHarvey Harrison 2008-04-28mm: introduce pte_special pte bitNick Piggin 2008-04-17Generic semaphore implementationMatthew Wilcox 2008-04-02kvm: provide kvm.h for all architecture: fixes headers_installChristian Borntraeger 2008-03-06Really unexport asm/page.hDavid Woodhouse 2008-02-23MN10300: define SO_MARKDavid Howells 2008-02-23MN10300: define HZ as a config optionDavid Howells 2008-02-13Final removal of FASTCALL()/fastcallHarvey Harrison 2008-02-08mn10300: add the MN10300/AM33 architecture to the kernelDavid Howells