Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1884528lqb; Mon, 27 May 2024 00:04:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWs7XT3KwllwI+H2QFbRphLbQHud/m2BTcHtx7EGo4o4ozkYY+gOTev4ieSW7tZYjqdabUC52ItbP16+oIKhb8k7roxbgm6VD2PAyjsuA== X-Google-Smtp-Source: AGHT+IE94NWZmOCPpZPBhUNRhlwXGKYjCKfM7M/iLBEws9m34pcd5E4z8z0Jv+30EryrL3sepBcn X-Received: by 2002:a05:6870:5491:b0:24f:d4fc:d77 with SMTP id 586e51a60fabf-24fd4fc34aemr5660020fac.47.1716793440939; Mon, 27 May 2024 00:04:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716793440; cv=pass; d=google.com; s=arc-20160816; b=MYpcVmxQ/uyxyUrenHEU5JF++a0myLkGxrlw6Cv+kai2d0CaApqBJCxvHCgyJSJqJz a6nvn+Npfuv4ucP/WgVaE6WBUpm+3zo0n/TykxoudYGczSd4Ojy0tgzKZ1fiUsNYvsep LegtKWjcf7t5OzoQ/ZKnnMjwM3xTlQeSnHXc5LR1MiVD22f+zZpC3Qj+xCQZxKzvD/j0 VDt5beW8a8AIEE8uHDkLD2vSngpp1G5fyGhSXLCFIl+GhAosBXK1eel/yTgMRBvkBW9W CFHoQBCgGa3xZ/ekdpwMPvuOPP4rUC8zVoTEdtWqU6fC48CVRB16Tssrk4r2QAVKS7b3 zjrw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=bct6c0vCnjCiSvoyrJQ6tyt+rPOePPM43Yq6AWBOsyM=; fh=IbTto131N6/P8QkkZb5oXXX1ueTg1+aHHgKKzbqL1xU=; b=wCM+PH8DQYUXp2/FMjCM7cvSdUqp4vSHTNiJtxZ43Tlgy+ZoFtXMR59gg4c7Z8Ip0Y An18q4/GzmwXE2deGr48YEe7iQD4x57zW1d5gxBsUf+SVhWezxE7iJIDqtKjPU7p1fYX lNUmgfwvWh02Sam/XVJwuBxfVuQh/sU5y6AChbfzbq/ymUFQFTlhu4qUnfFYAnufTG/5 reBWdzwdGMNYD2snvBa1tGkyLEJE5iu3JfTlLywvss7AzP+QSc9HiGHUsuuNY5ib5ZTe rAeOat9Ebrz9yCyNsMnzf44cZBMqKGgJHJvxnMUDRC7FLSI1Zoib9Bm6U3Rh6iQDAXeF hy2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=molgen.mpg.de); spf=pass (google.com: domain of linux-kernel+bounces-190117-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190117-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-68222db0ebdsi5956555a12.207.2024.05.27.00.04.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 00:04:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190117-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=molgen.mpg.de); spf=pass (google.com: domain of linux-kernel+bounces-190117-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190117-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id AB47B281664 for ; Mon, 27 May 2024 07:03:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E40BF17BBE; Mon, 27 May 2024 07:03:51 +0000 (UTC) Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2EEB922079; Mon, 27 May 2024 07:03:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=141.14.17.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716793431; cv=none; b=Pm0UGbv08WBAYuXVqzs+8k4l+lQv5nvwC92N3edOx0pdnjMVRJucYiGAZmu4WFq5Y++zoil++t3WBSaSd/c/76jmQ0WZ+iX6e32nBYBQ5fH47anTTPDppBYLePg/0rSde0HE1wi3BnyUiQivJVdBGl8PQf/tr7idmugJPQ/Y6XU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716793431; c=relaxed/simple; bh=DLTFTO+ElmWnW2H0wkkUZ5YSFq5X29MkEh1ulLg/k6s=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=HSRg02mK+kFwvrt8YMLCjI7T1sT7Y8PQPV8mZ6y9UF9MUaeO2J5WlS4hXW84G8pIrMYpg25m3VqLuauleljwEaLiFjBeim+gj0vuM8eawSxceflx+DF3ulKMTJNGhY+D4Kl60u4+OhufQYYKZC32VG0ahVhbqbiFEpTLWzzPOBg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de; spf=pass smtp.mailfrom=molgen.mpg.de; arc=none smtp.client-ip=141.14.17.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=molgen.mpg.de Received: from [192.168.0.53] (ip5f5aeec2.dynamic.kabel-deutschland.de [95.90.238.194]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id F287261E5FE01; Mon, 27 May 2024 09:03:12 +0200 (CEST) Message-ID: <68cd93d3-eb34-4ccd-89c0-4fec449b52fd@molgen.mpg.de> Date: Mon, 27 May 2024 09:03:12 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] Bluetooth: 6lowpan: use DEV_STAT_INC() to avoid races To: jiangyunshui@kylinos.cn Cc: linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com References: <20240527065258.1014049-1-jiangyunshui@kylinos.cn> Content-Language: en-US From: Paul Menzel In-Reply-To: <20240527065258.1014049-1-jiangyunshui@kylinos.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Dear yunshui, Thank you for your patch. One formal request: Am 27.05.24 um 08:52 schrieb yunshui: > syzbot/KCSAN reported that races happen when multiple cpus > updating dev->stats.tx_error concurrently. > > Adopt SMP safe DEV_STATS_INC() to update dev->stats fields. > > Signed-off-by: yunshui Could you please use your full name? Maybe: $ git config --global user.name "Jiang Yunshui" $ git commit --amend --author="Jiang Yunshui " […] Kind regards, Paul