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 9199AC636CC for ; Tue, 31 Jan 2023 12:12:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231454AbjAaMMK (ORCPT ); Tue, 31 Jan 2023 07:12:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229680AbjAaMMI (ORCPT ); Tue, 31 Jan 2023 07:12:08 -0500 Received: from mail-vs1-xe31.google.com (mail-vs1-xe31.google.com [IPv6:2607:f8b0:4864:20::e31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53EA428850 for ; Tue, 31 Jan 2023 04:12:07 -0800 (PST) Received: by mail-vs1-xe31.google.com with SMTP id k4so15832990vsc.4 for ; Tue, 31 Jan 2023 04:12:07 -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=xwKtXvIpXGYzIeHgL+KLVHN88KKoCUct+MmNeO+2FwU=; b=cXTGjj9hz82FI7LsZRvgQ4QoPzXdp6g6kta2a0Yz5aoj3hfjGZuCa8uO3OibwzyvIY Ao3uoC50OSMqj9bNe0/jO9YG1DEOlmhUXtBdlG7e7Vbxqrh1QyaCAyBsX/+ffUbV5sPd EJLcpmLmqU6/Mf88gOtPWd6TUNX7jaHgYANJx19Z6qGXG+cn5wHU1k+kdknHnT5zBUZn xvvWvkIDyYs1ma8EyTNfpEf068g8tmBE+fiJ/xxxUa+ZO5vmrL8VP7WqA/BR9mTF5BPW 3AWVffCcIJhJA8w3gRwQSa4lruB6GgLq18n/EW/JfA95dd3B5tHdEumCclDCEIJ6X1/5 uFVA== 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=xwKtXvIpXGYzIeHgL+KLVHN88KKoCUct+MmNeO+2FwU=; b=Z24D7+FuYVM7TOX+oRgOmAsvTqlzlXyLrdK0kSuZzglpFHpbyQvFZpt82iztXJ2oB/ kXNKYWZ5ClzJciJDiNEknO+oJjhXhL9xj3xXFQHf22ZsvdZIz+l0rcZXqPPyKTn8CkbO Bvv6zxo8YiZYRahLN/hLanPGdsjgZPGYhu+o1gsj3lEstscsn14NhGqARph/2v3b0+sX TMc/bL2iJl2fjfKXz5t/gkOXXhCK31cIVK5bMLuT1avLhbFpBaeuW6ZXI8syIppHQAlt MEICgjGnbG1Z3MfCGkTc0WKfR5i4568GtIIMzgigk0tY/vSkwPa1dSFHc4B0xF1Wv7Mo woWQ== X-Gm-Message-State: AO0yUKVYJ2NsgwSTyFs/H1QAquXXlYV8cF+Sdzryr/7Bj/4Ks6NfquNt H1nCcHREvqNsSADCmlDqhbRVnElp3C5dRZ6WGRFwZw== X-Google-Smtp-Source: AK7set/mFcDjxeWaqyuAxnPCpi1I8kiD2k3zh/lyipwuTfGuJc0AZnWRXW7F+vNuv/o89K3kxbvZNsMQoqa3NEfePgA= X-Received: by 2002:a67:c31e:0:b0:3ed:1e92:a87f with SMTP id r30-20020a67c31e000000b003ed1e92a87fmr2324410vsj.1.1675167126314; Tue, 31 Jan 2023 04:12:06 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Alexander Potapenko Date: Tue, 31 Jan 2023 13:11:30 +0100 Message-ID: Subject: Re: [PATCH 12/18] lib/stackdepot: rename handle and slab constants To: andrey.konovalov@linux.dev Cc: Marco Elver , Andrey Konovalov , Vlastimil Babka , 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, Jan 30, 2023 at 9:51 PM wrote: > > From: Andrey Konovalov > > Change the "STACK_ALLOC_" prefix to "DEPOT_" for the constants that > define the number of bits in stack depot handles and the maximum number > of slabs. > > The old prefix is unclear and makes wonder about how these constants > are related to stack allocations. The new prefix is also shorter. > > Also simplify the comment for DEPOT_SLAB_ORDER. > > No functional changes. > > Signed-off-by: Andrey Konovalov Reviewed-by: Alexander Potapenko