From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-178.mta1.migadu.com (out-178.mta1.migadu.com [95.215.58.178]) (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 753781E7657 for ; Mon, 18 Nov 2024 21:39:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731965980; cv=none; b=VKUVZTXtXuYGyXcySGfjuBa5KBl9h2R3e8lmqrDMA8efAjJIhFEhGCpNt9xKanKGNglBd450fUkYc9L1DQrSJMxlfw4fihJ/9W6GY4LsKV0vMfEvEsfYCKTqs57hz4lGNbvVqBe/EwzCfe6LmxoxvAGOe+I2NifOjp1vxohJ2I0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731965980; c=relaxed/simple; bh=VozJIrDceJq4zgppU8iRDiha9kXDC6EVUdlJkNnNnBg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cNZmb4w/alLCLodrqdxVNnPwLbjuVjpwpnFgPwJFMEHyhkO7Wr1RLIWZc/38e+NE29PUw48cN5HNGQeHxQGrml+229AuY7q96S680lHEX8U0efuHhdZZBIPuHgdW82SFusdJ5IISvq9UBpYl1bADWrryys817KaxU8qHgUtkUNg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=arPwm1sD; arc=none smtp.client-ip=95.215.58.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="arPwm1sD" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1731965971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NfkamGQY47DZR9G8xLHyPYfbW34L0/79y4mIancRHDQ=; b=arPwm1sDNXI47rNpmsXiVNGRTa3+wVnwbKvsMavZG7g4bMP8cGjGQnTk+ixlpFpn6fMf+9 KQ2zGVdaJ3AQS9O4j5EDrpzfBKnqZh16YfwGW4Wc9DH6Zat3sBnCtnXE/YhMGS//TAzZdD +vEDPgyltTw1AldiRoeUmVcow5N0D+g= Date: Mon, 18 Nov 2024 13:39:16 -0800 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf v4 0/2] bpf: fix recursive lock and add test To: Jiayuan Chen , Jakub Kicinski Cc: edumazet@google.com, jakub@cloudflare.com, davem@davemloft.net, dsahern@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, horms@kernel.org, daniel@iogearbox.net, mykolal@fb.com, ast@kernel.org, kpsingh@kernel.org, jolsa@kernel.org, eddyz87@gmail.com, shuah@kernel.org, sdf@fomichev.me, linux-kselftest@vger.kernel.org, haoluo@google.com, song@kernel.org, john.fastabend@gmail.com, andrii@kernel.org, mhal@rbox.co, yonghong.song@linux.dev References: <20241118030910.36230-1-mrpre@163.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Martin KaFai Lau Content-Language: en-US In-Reply-To: <20241118030910.36230-1-mrpre@163.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 11/17/24 7:09 PM, Jiayuan Chen wrote: > 1. fix recursive lock when ebpf prog return SK_PASS. > 2. add selftest to reproduce recursive lock. > > Note that the test code can reproduce the 'dead-lock' and if just > the selftest merged without first patch, the test case will > definitely fail, because the issue of deadlock is inevitable. Acked-by: Martin KaFai Lau Jakub, please help to land it to the net tree. Thanks!