diff options
author | 2025-01-14 01:57:30 +0800 | |
---|---|---|
committer | 2025-01-25 20:22:37 -0800 | |
commit | 3f641cf938e6a3d5ad2e219c3ad1638b6886a291 (patch) | |
tree | 64a12f6446f602b639f1119d85576d4d0ef36259 /scripts/gcc-plugins/structleak_plugin.c | |
parent | mm, swap: simplify percpu cluster updating (diff) | |
download | wireguard-linux-3f641cf938e6a3d5ad2e219c3ad1638b6886a291.tar.xz wireguard-linux-3f641cf938e6a3d5ad2e219c3ad1638b6886a291.zip |
mm, swap: introduce a helper for retrieving cluster from offset
It's a common operation to retrieve the cluster info from offset,
introduce a helper for this.
Link: https://lkml.kernel.org/r/20250113175732.48099-12-ryncsn@gmail.com
Signed-off-by: Kairui Song <kasong@tencent.com>
Suggested-by: Chris Li <chrisl@kernel.org>
Cc: Baoquan He <bhe@redhat.com>
Cc: Barry Song <v-songbaohua@oppo.com>
Cc: "Huang, Ying" <ying.huang@linux.alibaba.com>
Cc: Hugh Dickens <hughd@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Nhat Pham <nphamcs@gmail.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Yosry Ahmed <yosryahmed@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions