Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2318618rdb; Mon, 20 Nov 2023 07:57:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IEyewbGwulfn7MzPhUbYo5Vuz5i7luBgdHJ7UoOtzBCLXaeJIQSeVlLkpCzakhKOtQrpl0U X-Received: by 2002:a05:6a20:748e:b0:187:e646:4faf with SMTP id p14-20020a056a20748e00b00187e6464fafmr6444829pzd.14.1700495844531; Mon, 20 Nov 2023 07:57:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700495844; cv=none; d=google.com; s=arc-20160816; b=J+xBfBEba/37iXVcR8ixH3Q1JLpEZdsXD7odh2pX9Fl/gjWEgrbv4LFilcH7FAk9hY QPSAxv6eUgWo1lWggiBkuJQWvhgiCjSTEIC08EW9E4GWRDDh8syuosCUfIxySHBtNb1z N/MCtp/ZYC+ooHCV9eyNa8aF5naU5crIY2KN9/dGT4W1kHDz/QJ6O+2RLQBHlxdMgzFC rwN5XYWLpLEAzPuQl6DHZyRqT4zwQw4/KKI8m5F1vWuZUmuUs4kFdjqGkEAIqyYo+7Pl y/s7hYP/+BviD6mLlEemcT99B6WHccol1DJZo1Js9h9S25jN+V5TOkegeIPr95Lr475f qSdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=F7PHDpnVy2lTG03bseJP/V2+jncktgxQQFaSuIPkBLk=; fh=b7nBntYU+82hD6vq/ci4iZh3sfVFPgLbfJiMd13p4YA=; b=mAJOVSMmoVKb0I7XRFivl1g7VYXRGmzzhmiJJQZXSUZWSEhX3Khc7infsAYrfweOp2 gNnbeM1eB8Sweivjq0S9bcQHwZcOQXAEr7CwZDJ59PnFPjAoNlY/4HYyWaUETcr0oZB7 PqP19mWLw0BwtfOU9NZ5WTQURQ8R5c3reAxpMQsDZgI0mLtQKOlsYMvrLwMbcP+U8SP6 t4VsQy72Gi77kBs4LzByyEnK+1ZGgt9AlR7MLlDbZMHnQOWXz/Csr1opFsVj0ZPAfn+f x09HONj84zX8FBGV4M+vRIsAEuPLJBM/h/Hl6RvEOGptQ4nhUJpSEBqekAVCR57xzV4Q QOxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=w587o13F; dkim=neutral (no key) header.i=@suse.de header.b=T0YT1AJB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id bi12-20020a056a02024c00b005ad727cfd10si6071533pgb.132.2023.11.20.07.57.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 07:57:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=w587o13F; dkim=neutral (no key) header.i=@suse.de header.b=T0YT1AJB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id A8DAC8062DDD; Mon, 20 Nov 2023 07:57:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232186AbjKTP5Q (ORCPT + 99 others); Mon, 20 Nov 2023 10:57:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229823AbjKTP5P (ORCPT ); Mon, 20 Nov 2023 10:57:15 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 614139F; Mon, 20 Nov 2023 07:57:12 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id B65E721910; Mon, 20 Nov 2023 15:57:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1700495830; 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=F7PHDpnVy2lTG03bseJP/V2+jncktgxQQFaSuIPkBLk=; b=w587o13FK81/QgJpA3yBbGce9j7RBg0tucqm7mquwIwtcAZKcXRZsRTx+xfohbeXVQMjol 5rRx1mMOTTrdhQxw2cqFJvSV6na1ofukBnpgBDH/R6mnLLAmUi/ZBwaCsPedCdz96Z9fJ4 N+K2sO2TnX3T00B7UzkiVdDSvhX+yAg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1700495830; 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=F7PHDpnVy2lTG03bseJP/V2+jncktgxQQFaSuIPkBLk=; b=T0YT1AJBtw9kX1YM4GoSpd7lH71ue+bwhpIBHLhaseE00YMdulNbNahoIZAeNDv5JIFSuJ eqXrUidF0/NL8sDQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 518D4134AD; Mon, 20 Nov 2023 15:57:10 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id bR32EtaBW2XmWQAAMHmgww (envelope-from ); Mon, 20 Nov 2023 15:57:10 +0000 Date: Mon, 20 Nov 2023 16:57:09 +0100 Message-ID: <877cmcpgdm.wl-tiwai@suse.de> From: Takashi Iwai To: Yury Norov Cc: linux-kernel@vger.kernel.org, Jaroslav Kysela , Takashi Iwai , Daniel Mack , Cezary Rojewski , Kai Vehmanen , Kees Cook , linux-sound@vger.kernel.org, alsa-devel@alsa-project.org, Jan Kara , Mirsad Todorovac , Matthew Wilcox , Rasmus Villemoes , Andy Shevchenko , Maxim Kuvyrkov , Alexey Klimov Subject: Re: [PATCH 30/34] ALSA: use atomic find_bit() functions where applicable In-Reply-To: <20231118155105.25678-31-yury.norov@gmail.com> References: <20231118155105.25678-1-yury.norov@gmail.com> <20231118155105.25678-31-yury.norov@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Authentication-Results: smtp-out1.suse.de; none X-Spam-Score: 1.20 X-Spamd-Result: default: False [1.20 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; BAYES_HAM(-0.00)[21.87%]; 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)[17]; MID_CONTAINS_FROM(1.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[vger.kernel.org,perex.cz,suse.com,gmail.com,intel.com,linux.intel.com,chromium.org,alsa-project.org,suse.cz,alu.unizg.hr,infradead.org,rasmusvillemoes.dk,linaro.org]; RCVD_COUNT_TWO(0.00)[2]; SUSPICIOUS_RECIPS(1.50)[] X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Mon, 20 Nov 2023 07:57:21 -0800 (PST) On Sat, 18 Nov 2023 16:51:01 +0100, Yury Norov wrote: > > ALSA code tests each bit in bitmaps in a for() loop. Switch it to > dedicated atomic find_bit() API. > > Signed-off-by: Yury Norov Through a quick glance, both changes look OK. Feel free to take my ack Acked-by: Takashi Iwai thanks, Takashi