Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6995120rdb; Wed, 3 Jan 2024 00:23:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFKYmC5s8OjGSbGvTOSAcRcI6v58sVHujf81QAx42LOYIqkHVgVL2YOQ54rUVSOVaZ6pCA X-Received: by 2002:a17:906:1954:b0:a23:63a6:8b15 with SMTP id b20-20020a170906195400b00a2363a68b15mr3690057eje.220.1704270216334; Wed, 03 Jan 2024 00:23:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704270216; cv=none; d=google.com; s=arc-20160816; b=EFdHAsrtLEOG9KfWVuDtGUv/0JDGcaJKj0VUF3SCfQj9WKTVjEGeD5i+FHGp4XJGM1 jFbO9/YVOmwKkBocbmYAVW23LsMTPFVuMmPiITPim++FdbZvOxSYCo8DGDTxry486aFZ fR+RGSuP3WsUdHNzCB8yiT8L9ZKnS09l6TCIe65ZEY9F9yYaDDROteVIxpgUlP+bvQnK N7BKPYAldwSu2BaeFo1KADr5XFWDLjKsK/ZAcDYEna1Z7H3fQuQbSor/8lDCcq866W/H Zwkr1gaaWoHjI9csRJAp5sgZLpe1VfHsiJea2etFWDu55vIZM5kWnZcCF+ygg0rp68r+ wyjw== 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=FGbDhAb1VSn1oyT4cWgIeM8OuXxB1azKP8xwd8px58k=; fh=uYnjiVNxbW5kI0u75v8U/Y/ao7NQ4m8EfWg99NPaynw=; b=LlH+A8mOdvRtj9eD8W8VtRblVuTcNd1/tIcF6odQrx75KQ+PkS7iQNwm+GrpRtTAz+ FQGTZvPgpZ7++gf4sh7U18nzM6CjCbLfVb/wZOJ0xRyVLfN1dlIzIQIKFUKfQspPdsd1 /UnmPtYaK1+g7PbEMydocSBx/YVGpAZvCz0crYRiiafSRZJ9k38mQWtjCN0YPwBUggzg hJyx7Ngx08Te4OxWQMPD3Qad1juR7lwheMNQTCWvvT/Srcc43RF+lQq/qbu/MyvXRO6a y8dDQKPvpPV85NcbztPhZGdYEDvg6fOWn3en58C+I3LGU39UzF5xmswsa3sFglwu9QRn mzfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=iHCQVP8Q; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=z70Db0bU; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="j8E1+H/D"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel+bounces-15271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15271-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. [147.75.80.249]) by mx.google.com with ESMTPS id o21-20020a1709062e9500b00a236ba40496si10868989eji.335.2024.01.03.00.23.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 00:23:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=iHCQVP8Q; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=z70Db0bU; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="j8E1+H/D"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel+bounces-15271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15271-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 D4D7F1F239AF for ; Wed, 3 Jan 2024 08:23:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67280182B3; Wed, 3 Jan 2024 08:23:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="iHCQVP8Q"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="z70Db0bU"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="j8E1+H/D"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="85nbN43Q" 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 369FF182A3 for ; Wed, 3 Jan 2024 08:23:25 +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 [IPv6:2a07:de40:b281:104: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 528BD21E6E; Wed, 3 Jan 2024 08:23:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704270204; 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=FGbDhAb1VSn1oyT4cWgIeM8OuXxB1azKP8xwd8px58k=; b=iHCQVP8Qm2QEEtUqkV38EM0jd9K7UpBZMr1dtQlEEx+oMatAUcBVT+oWWsE7LPiI1bTAGQ /fkfFHTk5AA0LJc2uPyCXIZXjnjA8Beh7iT1Oo8OeCeoMi7KBvip8upClnvRWvfxsV1Ok/ 8o2abX6OWcwe3pHVeQ02sDzbtq2qtbw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704270204; 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=FGbDhAb1VSn1oyT4cWgIeM8OuXxB1azKP8xwd8px58k=; b=z70Db0bU2l7rZOH/LhgeiQdOckf0b/vRtQn3BlhhGZrN4vMHzDl7jwSljQs84MtSK3TS1W amn+0BDgi897qRDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704270202; 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=FGbDhAb1VSn1oyT4cWgIeM8OuXxB1azKP8xwd8px58k=; b=j8E1+H/DZhSDIRPrqAKBkfK7dPUnWdoeNG1T532C0UfuD1KiE896lhPSmuaRJfzaI7gD9x c7hNg72bgsc/g+VBYIZHmisoXbDyGtqE34bGwbRv1yB+w2ikPj0KTW1dayYH+yP/FpTbiR 8ekD1IfiCkjeOHakVRtKQ0CEF1CQBFc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704270202; 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=FGbDhAb1VSn1oyT4cWgIeM8OuXxB1azKP8xwd8px58k=; b=85nbN43QbGxFXTP4MX9KcdUnCqgsQRx7LoTJfbX21z283pqh6TfvlN3V2m+caLg8LHLNsp Hsjn1TKTHcln/DCg== 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 A396D1340C; Wed, 3 Jan 2024 08:23:21 +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 Mb0xJXkZlWUvXQAAD6G6ig (envelope-from ); Wed, 03 Jan 2024 08:23:21 +0000 Date: Wed, 3 Jan 2024 09:24:12 +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 05/22] lib/stackdepot: add depot_fetch_stack helper Message-ID: References: <170d8c202f29dc8e3d5491ee074d1e9e029a46db.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: <170d8c202f29dc8e3d5491ee074d1e9e029a46db.1700502145.git.andreyknvl@google.com> X-Spam-Level: X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Level: X-Spamd-Bar: / X-Spam-Flag: NO X-Spamd-Result: default: False [-0.74 / 50.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[suse.de:+]; MX_GOOD(-0.01)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; BAYES_HAM(-0.43)[78.34%]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RCPT_COUNT_TWELVE(0.00)[12]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim,suse.de:email,linux.dev:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; 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)[]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from] Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b="j8E1+H/D"; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=85nbN43Q X-Spam-Score: -0.74 X-Rspamd-Queue-Id: 528BD21E6E On Mon, Nov 20, 2023 at 06:47:03PM +0100, andrey.konovalov@linux.dev wrote: > From: Andrey Konovalov > > Add a helper depot_fetch_stack function that fetches the pointer to > a stack record. > > With this change, all static depot_* functions now operate on stack pools > and the exported stack_depot_* functions operate on the hash table. > > Reviewed-by: Alexander Potapenko > Signed-off-by: Andrey Konovalov Reviewed-by: Oscar Salvador -- Oscar Salvador SUSE Labs