Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74C70C636CC for ; Mon, 13 Feb 2023 10:36:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229734AbjBMKgh (ORCPT ); Mon, 13 Feb 2023 05:36:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229934AbjBMKgd (ORCPT ); Mon, 13 Feb 2023 05:36:33 -0500 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7813217CD2 for ; Mon, 13 Feb 2023 02:36:09 -0800 (PST) Received: by mail-io1-xd30.google.com with SMTP id d16so4293939ioz.12 for ; Mon, 13 Feb 2023 02:36:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=MB6QgxzH0xV/jeUMQj67Vw4mnLp5zoDu0fxoHPLQUaA=; b=IG2IretlOcw+z4pwWWM5lSZI848RIW7S4QEelsNLH0uDw+n6Ns7ANXKOUPM0VMwtT+ FzgirQFCKjkU2mMLnK/7GAqSNJm+6PH8vnL3FY9QrVag+MDyOxs60zYhNzkxMPhP/n0C 62w2svDn85cJQraYhO2HLkuCeEiSfhT+yyBe4X9dJlkDLqoxYoHVogY17Svp7/HaQgUo uoQZn08BjjI2Hkq6ne85hJbK5MEqRfSOUXPyEK/UdwNS9p3TcsQxe0KML2Uq9a7DXjbM s5B0CfTNOG7Pj9x1yup/qcDVQvAlXmjrNSU1/5M7hPKwcTXQTURJ2b7RJzjxvEjpcEe+ xa/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MB6QgxzH0xV/jeUMQj67Vw4mnLp5zoDu0fxoHPLQUaA=; b=3cMHtjSc4MSbxm0DBTMVda8XL5bwV6r1htwBeOdJKXI2sEuvHDukDRXZH9+bLHKhQp QuuibDNO2uSTXhFdEO6Ez5fm03yFfc7vcVf6SImhSsPu2z5VZPDLycUivM4UNPfXXE3T PJ8yrmXOxpihqMbCwZP22y+U3bTW2f7jR5plEJE3M08S5E1AIJsxJx61IMOBnNsCE1yH Y6CeGfRB3vwQJGOAZ85W1Jthm7WjYuR1daSubVaRP2+ZxJMyd/xGSLmb8VIuDt6CjFhX y6NdQ/eU/TK/Zt82gl99VVI5iaVygQ9PwLEOwQ0WQ8QVwzAfxJNv3783ylP4yyZRRkQO dSbA== X-Gm-Message-State: AO0yUKWPfYSALCOcdftub9bpQciNWTpNZ+Nnp2N6XSuPLlFthjfZLrzc uwLk+UPrTktVEhJTNS61NHWR4bOACqoWMmdYSu8Xlg== X-Google-Smtp-Source: AK7set+xYzi0y7mls5yH064yKj0n1VIpNRvrSBS212i/X19YyD1Tom5PcHDLJ4Gey/fWP9Ef0SQi8iqB24Ns7fnVDIA= X-Received: by 2002:a02:a794:0:b0:3ad:3cae:6378 with SMTP id e20-20020a02a794000000b003ad3cae6378mr12237646jaj.16.1676284567286; Mon, 13 Feb 2023 02:36:07 -0800 (PST) MIME-Version: 1.0 References: <923c507edb350c3b6ef85860f36be489dfc0ad21.1676063693.git.andreyknvl@google.com> <2085e953-ff9d-4d2e-cb35-24383592f2c4@suse.cz> In-Reply-To: <2085e953-ff9d-4d2e-cb35-24383592f2c4@suse.cz> From: Alexander Potapenko Date: Mon, 13 Feb 2023 11:35:28 +0100 Message-ID: Subject: Re: [PATCH v2 09/18] lib/stackdepot: rename slab to pool To: Vlastimil Babka Cc: andrey.konovalov@linux.dev, Marco Elver , Andrey Konovalov , kasan-dev@googlegroups.com, Evgenii Stepanov , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 13, 2023 at 11:20 AM Vlastimil Babka wrote: > > On 2/10/23 22:15, andrey.konovalov@linux.dev wrote: > > From: Andrey Konovalov > > > > Use "pool" instead of "slab" for naming memory regions stack depot > > uses to store stack traces. Using "slab" is confusing, as stack depot > > pools have nothing to do with the slab allocator. > > > > Also give better names to pool-related global variables: change > > "depot_" prefix to "pool_" to point out that these variables are > > related to stack depot pools. > > > > Also rename the slabindex (poolindex) field in handle_parts to pool_index > > to align its name with the pool_index global variable. > > > > No functional changes. > > > > Signed-off-by: Andrey Konovalov > > Acked-by: Vlastimil Babka Reviewed-by: Alexander Potapenko