Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp946719rdb; Tue, 19 Sep 2023 15:32:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IECcfDJ72Rx+OtM7lee+HTxdBtNZsMY1K4p+VG6TSaUKp2aM3Ez/8cdunHJiE8urbUZebZo X-Received: by 2002:a05:6a20:7493:b0:15a:290:d82e with SMTP id p19-20020a056a20749300b0015a0290d82emr927215pzd.52.1695162731507; Tue, 19 Sep 2023 15:32:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695162731; cv=none; d=google.com; s=arc-20160816; b=PYc80HEDneZkTcjGEYKjnV83GTLBwgGftEN30iCLFyCCEQPSuZUipBo3ZNMTchCyHN f728NedwmCduxllQg0v4EV34/NTOFAPp9iCfHeCMagx8yNn8aL4PCzWSrMDVa7UDQftz QivTTAXONNRwvVBXdGXKs5KhxPEcepXdlYDSc/GV3PbjRHZu2Nshb+s9k8gkrbmNvy29 I6aGbloBLvdlfqA1FTBLS54vmQDOTz6WBqRooM0PFeGYN5d5e9GUZ2ePBT6qklHva3ec 0I86AQSyIM6W+y8O0NPns4FSudPF0QecZXSnRXaCZqs93gldpW0fCefP0l5psLZB4zxj Wu7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=wCIcJHAWFPOLBSbECabbg7duQStJvSvwou+mFA2mS48=; fh=D7uhrQnmQG6xf11gbvfi3iQ1A4p/6GZN4OQA8frEvwo=; b=ev+J7Gts5JkUf6QGpRAgwWJnNTodQecSVz1jrsUUUY/spl1AR1gvr0PhS2NOaEVKIy ZTsY1jIW0Mp10kZMOjE2Xy88yNtZnPHv2GCau5RkhPTwbJBSzbFR9GMf12nDhXJ22tNY slzf4j+wR6cgxCRe8dOg6jVpMh558m7fOMXqA8oN4rkCCNzT1MPnV5iVPjVm6V/stl2p yizgH77PsBRkqT0HSx46gw0GWKb1orGByYK7ZKlmrgpq5c2eAUT/ThfBQMygag3smXH0 0GJX2noko9qgE57tzTZYi272aEfNTGnRSiEQsTeQcXyByZURWxYW8suMe4ZFS+6RSMEg DVHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=SDUix1AL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id bt8-20020a632908000000b0057744d09d2fsi10274948pgb.18.2023.09.19.15.32.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 15:32:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=SDUix1AL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 897EC801B39B; Tue, 19 Sep 2023 09:14:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231255AbjISQOn (ORCPT + 99 others); Tue, 19 Sep 2023 12:14:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231518AbjISQOj (ORCPT ); Tue, 19 Sep 2023 12:14:39 -0400 Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6379B6 for ; Tue, 19 Sep 2023 09:14:31 -0700 (PDT) Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-7927952ca67so202761139f.2 for ; Tue, 19 Sep 2023 09:14:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1695140071; x=1695744871; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wCIcJHAWFPOLBSbECabbg7duQStJvSvwou+mFA2mS48=; b=SDUix1ALmdNyYCWtpAVtZXaXiIgqkTSBP5c9sSVembi9iDrnc9N6TpvFq/vcDvF4Kw 94Jzb8VZuuyvATGwZ9TK9eNw0vHZe2AMzmSf+pPAC6hFMxOBuqA9+yZfcT/wysrba5t/ 7hS0TPYHJ3EExsP1Hu7gT23uFXqw7nsX0benaRU5u00ULeEigvRQN7pBwzF6mJRZ8Rtq 17vZsVtOaNAFeYUYvSCcue+6Pnn09U5Oqb4j+lDdLqrMPhqcrWjPWv4Jf0HMHxK56Yug S8ryEnefZzOOFKXm5hvltYIqYZxFgx+uNjA6cxfcBH45UhuF3jA3yRQne1nb/zEle9fS xNJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695140071; x=1695744871; h=content-transfer-encoding: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=wCIcJHAWFPOLBSbECabbg7duQStJvSvwou+mFA2mS48=; b=Qx+aKl5tqBZCYZPtAMugNfo823KuAcTZgMq/rhsU8oXw5N/mr1Fx9SOcySl0UUxP18 889RqDTjO8kfFO8sUXktfhwPRqdVrN1oJmuXRnObGTLHpqPAYpNLsCzF3wvBPxlweWje j9T5lPnIAjeTxqU2H9Lm7W7lMVolWfYUT/mCudfQNvs5xlc9hL/rBfjO1/ZObb89yGN0 XDkv0kjC3FQATvtB/dz+ZCeTvbzOMpuMQSk5XrmsOY+oPdCdQQQ1Jqq1VA6zxIfztCvC S7lqd9PK2QWdATGRrc0n4l5Q+j7qUruo7Db5GM4oMPguPnY2WO3kSdLj2y4oBRdoK8A4 LPjA== X-Gm-Message-State: AOJu0YxrsThTkwlUZfUguGmNxOo2LF5sAWGSZN3cZNHmQX4FcMYrn9z1 cFpfAkCX9GyEBFSlyZnN9Em5+euMd/2PrsMHu2ccwg== X-Received: by 2002:a6b:7111:0:b0:790:f866:d717 with SMTP id q17-20020a6b7111000000b00790f866d717mr323374iog.10.1695140071037; Tue, 19 Sep 2023 09:14:31 -0700 (PDT) MIME-Version: 1.0 References: <3a7056408e391ff0c66b5f50c460a7b9f796228f.1694625260.git.andreyknvl@google.com> In-Reply-To: <3a7056408e391ff0c66b5f50c460a7b9f796228f.1694625260.git.andreyknvl@google.com> From: Alexander Potapenko Date: Tue, 19 Sep 2023 18:13:51 +0200 Message-ID: Subject: Re: [PATCH v2 09/19] lib/stackdepot: store next pool pointer in new_pool To: andrey.konovalov@linux.dev Cc: Marco Elver , Andrey Konovalov , Dmitry Vyukov , Vlastimil Babka , kasan-dev@googlegroups.com, Evgenii Stepanov , Oscar Salvador , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 19 Sep 2023 09:14:44 -0700 (PDT) On Wed, Sep 13, 2023 at 7:15=E2=80=AFPM wrote: > > From: Andrey Konovalov > > Instead of using the last pointer in stack_pools for storing the pointer > to a new pool (which does not yet store any stack records), use a new > new_pool variable. > > This a purely code readability change: it seems more logical to store > the pointer to a pool with a special meaning in a dedicated variable. > > Signed-off-by: Andrey Konovalov Reviewed-by: Alexander Potapenko