Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7009636rdb; Wed, 3 Jan 2024 01:06:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IGQsKzimvbxG8sJAWRuqtEXH9BWQWoAO+ESITBFk2qFHWky0kzABSLbIKlooboCbQWndMTE X-Received: by 2002:a50:d5d6:0:b0:553:620c:89b6 with SMTP id g22-20020a50d5d6000000b00553620c89b6mr10909114edj.10.1704272767974; Wed, 03 Jan 2024 01:06:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704272767; cv=none; d=google.com; s=arc-20160816; b=O3PyiZMGb9e9XMndRXX4XD3IhMMCZGWVAP/EVUXyuIs3X4UyJYFXchmxNN7gyO5buk FvetuU2zqkmHllIO4feV6p/N+Lg+EFd36Zzt+8tvoE8PTwDjyVgAcl0aGIQnJP4qhpO3 CjP+dmJgC6V3eD2jUN5eXWMZR7GF+ZuUqLfSjR8ge7tAwTPXMyyxwPEOJaRpFD9XRDle OP0bIQLxnq3rVfjgzbGhAgIVpZoJjbQuxbxF+o3SNrx1uAw6j7tu3NiqSKRkx/ZiTBUF 1yBqNUqeLEr9bSSzWe6CGAh5b+gJ/rLa/dhuSbyyWN9iHYsmfB5xUGJ/eK+IjQpHWgaO 3PXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature:dkim-signature :dkim-signature; bh=9YHgEMpLm7folf5G8Ij+ZasKgK+9OLJsmoPBAUvLJ/8=; fh=uYnjiVNxbW5kI0u75v8U/Y/ao7NQ4m8EfWg99NPaynw=; b=mMV7qJ7DGQ2gDce4m+Zw09dqSS0CthwlW2AlslFRVBgRXPtNugRIbDacd7aSMgOuqz hDJQ54ZP4b9B/4ygkd8C6f6u3t6At/f5WbIslEHxZ9oQGSzTXafiwx9NDavtmwr16pJ0 awsq04LrdQyma/lZH1JAIQ2dFDwVOCvMnDw9axbIfTQLNEeyl4flCQegJJSiUgr54mIO GqSk86s/af+fk1yL2TO5SGsA8KThv5TNOzR9lc9O8gups0DOiZjT1pSq1KTTbvQXuHCm CYoTbl6c7D67B5lFPB5B2un3APmOL0dIyu+R3hI23GuY4fx95dZ1p/MPxcGtcm+tKkie 4wlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=OXxrEElr; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=OXxrEElr; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel+bounces-15301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15301-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u28-20020a50951c000000b0054360376dbasi12090255eda.613.2024.01.03.01.06.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 01:06:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=OXxrEElr; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=OXxrEElr; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel+bounces-15301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15301-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B56E01F23E4F for ; Wed, 3 Jan 2024 09:06:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 46F21182B3; Wed, 3 Jan 2024 09:06:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="OXxrEElr"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="eiUS5Rvv"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="OXxrEElr"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="eiUS5Rvv" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1457818043 for ; Wed, 3 Jan 2024 09:05:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 0712821C64; Wed, 3 Jan 2024 09:05:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704272756; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9YHgEMpLm7folf5G8Ij+ZasKgK+9OLJsmoPBAUvLJ/8=; b=OXxrEElrNfC+/T5mY1izxFruu35404m0j3OipElyrHhk70EhEVSjlrTgu1vHsM7m2zzddg wfDLOFu0uHl2077tXTxU2DOG2tMOxxzwt6Ejg3BoTFg8fbvshfCghQeO5fMoiJP4SejDlv 6bKYK1+hsT557oQjts72D0rfr15YI6E= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704272756; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9YHgEMpLm7folf5G8Ij+ZasKgK+9OLJsmoPBAUvLJ/8=; b=eiUS5Rvvpde2p9gy0tfi2VBTJMrDVIqjkFif9iFzaiZJR1Yf74nJIgN+sL4NhjL8LSRVN1 J6Y5ZmX1tSoldzDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704272756; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9YHgEMpLm7folf5G8Ij+ZasKgK+9OLJsmoPBAUvLJ/8=; b=OXxrEElrNfC+/T5mY1izxFruu35404m0j3OipElyrHhk70EhEVSjlrTgu1vHsM7m2zzddg wfDLOFu0uHl2077tXTxU2DOG2tMOxxzwt6Ejg3BoTFg8fbvshfCghQeO5fMoiJP4SejDlv 6bKYK1+hsT557oQjts72D0rfr15YI6E= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704272756; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9YHgEMpLm7folf5G8Ij+ZasKgK+9OLJsmoPBAUvLJ/8=; b=eiUS5Rvvpde2p9gy0tfi2VBTJMrDVIqjkFif9iFzaiZJR1Yf74nJIgN+sL4NhjL8LSRVN1 J6Y5ZmX1tSoldzDQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 3C2421340C; Wed, 3 Jan 2024 09:05:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id 2UebC3MjlWUEaQAAD6G6ig (envelope-from ); Wed, 03 Jan 2024 09:05:55 +0000 Date: Wed, 3 Jan 2024 10:06:46 +0100 From: Oscar Salvador To: andrey.konovalov@linux.dev Cc: Andrew Morton , Andrey Konovalov , Marco Elver , Alexander Potapenko , Dmitry Vyukov , Vlastimil Babka , kasan-dev@googlegroups.com, Evgenii Stepanov , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov Subject: Re: [PATCH v4 10/22] lib/stackdepot: store next pool pointer in new_pool Message-ID: References: <448bc18296c16bef95cb3167697be6583dcc8ce3.1700502145.git.andreyknvl@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <448bc18296c16bef95cb3167697be6583dcc8ce3.1700502145.git.andreyknvl@google.com> X-Spam-Level: Authentication-Results: smtp-out1.suse.de; none X-Spam-Level: X-Spam-Score: -3.71 X-Spamd-Result: default: False [-3.71 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; RCPT_COUNT_TWELVE(0.00)[12]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[linux-foundation.org,gmail.com,google.com,suse.cz,googlegroups.com,kvack.org,vger.kernel.org]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-2.41)[97.30%] X-Spam-Flag: NO On Mon, Nov 20, 2023 at 06:47:08PM +0100, andrey.konovalov@linux.dev 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. > > Reviewed-by: Alexander Potapenko > Signed-off-by: Andrey Konovalov Reviewed-by: Oscar Salvador -- Oscar Salvador SUSE Labs