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 37C45C636D4 for ; Mon, 13 Feb 2023 11:04:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229799AbjBMLE1 (ORCPT ); Mon, 13 Feb 2023 06:04:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229984AbjBMLER (ORCPT ); Mon, 13 Feb 2023 06:04:17 -0500 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F33314691 for ; Mon, 13 Feb 2023 03:04:14 -0800 (PST) Received: by mail-io1-xd2c.google.com with SMTP id bl9so4321572iob.7 for ; Mon, 13 Feb 2023 03:04:14 -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=NYx2AyPU7S06WvalHgphXS88wTsCd0bUzbIYrlIqVZc=; b=j4ZA5Qa3HBuJDnuS3BIhYWxTSQ0G8BigeWlM/UGuXFspIEHa/EhA4sD2fdEK3SxEVO 3CjQI6d+pShg6Ai0+dEDidMiB2gOdAUThhaULzgv26CNcZByKNJ6FlnbNi/vMRcBJUAA boECQ5jgiZghhC+otn3eCIkTTl7ROgQAnXTQFWxZD3mi0MHc5rFPyj4wdTvKAa6Pm5Ml 1gMN4iXV5sE/I19Os9vulAX6dZM6Xj7H4Iz7rq/Rw57sOwBOEshJeE9EgkG+meRKHz84 LEZhaEo3yvxRjrh/r1Ve5cQzBBRfn6AnFNmhpMY+WMJwIMR3LDbSrUexjnVg7yRXBU99 kVeA== 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=NYx2AyPU7S06WvalHgphXS88wTsCd0bUzbIYrlIqVZc=; b=3CATENgVzHCQSidSHhg7voV3nh+g9QQFOvWLboSJ6vqAkjIfgW2FpcYhcYvn16cFeR whlNNyc3aDlUa2GTIU1wLUa2OM7UShx4prK7V8Jo9NCXnx28ZOfBp/7rX9EE18cPSXXi aDcBZQk6yfwu/BnH1ThCxEvsK8ooYbdeJtOM4UjArkzzX+TnBlJrZFE3H9JZvNOcI0A6 vceUqCSf0R5Afnht22HVsMbc/6g1hmDBlrAIJPkc0YsAbzvmiyP4Jn1jUVwnfYQ17ny/ iVkWC+1rX5/3Ko4rFdZ6N9qusfnU59ylr7EQuQfHlMiqmGXJhJDF0QnPfAnv0W9fnFOO tzQw== X-Gm-Message-State: AO0yUKW4rLZUX/zqffLYx+583EQ0mXD/P8pwYTNPPvejsCKG7z+pEFUA seO+bHBghoq2twoBV3y+2Bk4wyekQxEV9+RG4H8HIA== X-Google-Smtp-Source: AK7set8Qh/DGdvxd4bpiG1wb/ltPuFD5pb3Sk4w8im377pG5vnagqX8FCB4QXIOQ6F2/ypfqFqOt4n5FPKT92cng2mk= X-Received: by 2002:a02:a794:0:b0:3ad:3cae:6378 with SMTP id e20-20020a02a794000000b003ad3cae6378mr12249003jaj.16.1676286254268; Mon, 13 Feb 2023 03:04:14 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Alexander Potapenko Date: Mon, 13 Feb 2023 12:03:35 +0100 Message-ID: Subject: Re: [PATCH v2 13/18] lib/stackdepot: annotate depot_init_pool and depot_alloc_stack 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 Fri, Feb 10, 2023 at 10:18 PM wrote: > > From: Andrey Konovalov > > Clean up the exisiting comments and add new ones to depot_init_pool and > depot_alloc_stack. > > As a part of the clean-up, remove mentions of which variable is accessed > by smp_store_release and smp_load_acquire: it is clear as is from the > code. > > Signed-off-by: Andrey Konovalov Reviewed-by: Alexander Potapenko Thanks for the cleanup!