Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp530674rdb; Tue, 16 Jan 2024 07:50:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IGuK+bw4/SNQ+P41KI1iVEklOIOm4lvV8BpagE0+JArtj3sZTe+ByYRCl0bmSk1I0dEr0Jz X-Received: by 2002:ac8:5845:0:b0:429:c7b5:1fc1 with SMTP id h5-20020ac85845000000b00429c7b51fc1mr9768320qth.39.1705420242816; Tue, 16 Jan 2024 07:50:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705420242; cv=none; d=google.com; s=arc-20160816; b=t6Ehs04s2BuB/GqG2My/0ANSbdbMSHQRo4oPOQcN6faEgISpYzjqh5xQb8x9S8PxNK 7m+l5+4NUic2GdLz/aw2SoE/YkQPpU9nkoIDSnDFgAhj8aAli8zCQVlGhFyAhMa2KigK xWTwRBW1NJUnQYrSww27e0VQwshmDJ0QfqcIQsSaVgwvGdZK6cz9xMNW8MfAxOipO8gq F63LRkckSKV9QJ2HLuQ20jYBlehvnPZ80Fcs8YjddZjZBC3w/3UTerL1+jiOe0tAqQEL qK95jc/CCjjrzAVDGCOj+SHhkq3abR1O8PWAoba2crPMaj5wJ5njXIjfvpPEJ47vfbED I/uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=rJKgy1yUXDz5ZzZVV3PjoaKldrEjejAsZSnEOUq81Do=; fh=nVoovwAGuxTq988TIoKWN7IRGiq+lRII6Lq/yzO5DPQ=; b=NR2eTSJYTcUZ2/LLkKysCrYm9U/tpcnpz2mrjfJ7JaX6t7vCSarxartZTsqXFk5zPl FqJUa+nUaRA7KwGeJi2OjFLuanNopxtVh+xFHdfHWWFY19xLVley6pXgh7EOtSFW/15E KmmGzYgv3rcZDQCBRvEJs1CMhpd5BCoVuLqNCaNgmvb9c+IO7anjunMOR3xsa3uUigGW yjlOU1YxRivQ4cuS5GomkKj5zlmINigoq1BmeHuKyRCe09Q7vxLtbUor+FKvTb2haJjM WQzyWDAesz2l58yd47K9E7PwiNMaBwJGWvwCKvy9z/FFaSnRqiW6lo1DiIDiPeuYmk41 fNZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O24WnAlG; spf=pass (google.com: domain of linux-kernel+bounces-27539-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27539-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n13-20020a05622a040d00b00429fc4e7627si2462308qtx.421.2024.01.16.07.50.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 07:50:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27539-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O24WnAlG; spf=pass (google.com: domain of linux-kernel+bounces-27539-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27539-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 929F21C23697 for ; Tue, 16 Jan 2024 15:50:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2FEE21C69D; Tue, 16 Jan 2024 15:50:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="O24WnAlG" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 53A2E1C2B3; Tue, 16 Jan 2024 15:50:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 3007DC433F1; Tue, 16 Jan 2024 15:50:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705420230; bh=ga1BG+TMkJmfQLcIeSqBXVBSKeScehq6FZ56bqEch5g=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=O24WnAlG/yeYkgPVlYk81haJ3Y0TvJwGLpZqXVWkS+8/orlE+b7asI8JLxN+1fWnX HsWgQM72Gk3sdAqJqgi2EKl1zdX18rjKBueoaGfC3Mq1Da72+Q1DkFfM4XuPk+gsF/ 5ieJE47iYmmBbEu5uSpLvanKOTtCFTYdCUinYSlxa4a1fCkTw2nt4IshBSoWEs6xnh slk2OKY5UEpoRXAhblVllP0Ynl1EYSiXevjsVC0zKPykdzgeTr2eQKqzsuoJmwMNbe ALM8IjcQwQcUKxH72mhifeROtDJYAeddX7aP8EPMrJSGF1jjEKK7yKh80XXWy1IsHS /9+HzLeCOkHJw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 1A83AD8C96D; Tue, 16 Jan 2024 15:50:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf-next v2] selftests/bpf: fix potential premature unload in bpf_testmod From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170542023010.19641.12554162884652194073.git-patchwork-notify@kernel.org> Date: Tue, 16 Jan 2024 15:50:30 +0000 References: <20240110085737.8895-1-asavkov@redhat.com> In-Reply-To: <20240110085737.8895-1-asavkov@redhat.com> To: Artem Savkov Cc: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, bpf@vger.kernel.org, netdev@vger.kernel.org, jolsa@kernel.org, linux-kernel@vger.kernel.org, yonghong.song@linux.dev Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann : On Wed, 10 Jan 2024 09:57:37 +0100 you wrote: > It is possible for bpf_kfunc_call_test_release() to be called from > bpf_map_free_deferred() when bpf_testmod is already unloaded and > perf_test_stuct.cnt which it tries to decrease is no longer in memory. > This patch tries to fix the issue by waiting for all references to be > dropped in bpf_testmod_exit(). > > The issue can be triggered by running 'test_progs -t map_kptr' in 6.5, > but is obscured in 6.6 by d119357d07435 ("rcu-tasks: Treat only > synchronous grace periods urgently"). > > [...] Here is the summary with links: - [bpf-next,v2] selftests/bpf: fix potential premature unload in bpf_testmod https://git.kernel.org/bpf/bpf-next/c/6ad61815babf You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html