From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout.efficios.com (smtpout.efficios.com [158.69.130.18]) (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 C1047274FD0 for ; Thu, 10 Jul 2025 16:43:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=158.69.130.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752165789; cv=none; b=ECVp56LabaLQJelv1rSeAEPodE2umSkcxV7oaRayvqgbqMm14G63kG34rDILT9+c1UPRuxr6r2JMsMN/AATmTIQQL4rbCKC8P2ydS7hGPYZqLrs9yQpvGM7HqapMO2WS1KTXeP6MM5kF2HJzYDSHgMz0cp85KMYbrCUyuuHu4Gs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752165789; c=relaxed/simple; bh=u7y7SDVfmxSF/pRXg/y1w8n3UBzv76AaGhTfMy1t0PQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Wuog5FSyeOVpQAEuLUD/UeeG3RRS/8z3FR8rD0nneWC7v0f4w6TtIzxAlG188JFNvhrt4j09i85WLWYAFqMZ8Qr12S/cns8YmqOZsPm0LnlzkdVyYZuHhbkmzrkqhAtte6KwTJ5dsssxMTwFaPI1uDZeOGCkZfG94wkgnISj350= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=efficios.com; spf=pass smtp.mailfrom=efficios.com; dkim=pass (2048-bit key) header.d=efficios.com header.i=@efficios.com header.b=OCldayib; arc=none smtp.client-ip=158.69.130.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=efficios.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=efficios.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=efficios.com header.i=@efficios.com header.b="OCldayib" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1752165786; bh=u7y7SDVfmxSF/pRXg/y1w8n3UBzv76AaGhTfMy1t0PQ=; h=From:To:Cc:Subject:Date:From; b=OCldayibHImcD9vs7uWJ/sVcjkux6rro4Lme4bX5wPQgEREPoaqwrShY6vqFTtbcf 3/rZOF7R+YmMr/HfCoc+MOb447wjcDQsCIyv7sudAHMM1ryvP2kKxjSmniKyPBLh5R Q29pDmP6f33QpzkhEW1jx3rj8OUDtYd/5RiUzomTivyUdqC9E74i0eTk+PbTtwNLqv KFkPqRnKYHLGqzCcrxgdMR2uXup9k0fHZWE+kFE8r6S4gVSUDdpPm4F4RyBJwxteTZ Zgz5DVccMxEcFzCXb1K40++GfzocD4Y2MDf9v4E6ysSHp1FWg3ALSUozvV6DC7feF4 tsEmeZjSQheQQ== Received: from compudjdev.. (192-222-132-26.qc.cable.ebox.net [192.222.132.26]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4bdLHt2DHRzpqn; Thu, 10 Jul 2025 12:43:06 -0400 (EDT) From: Mathieu Desnoyers To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Mathieu Desnoyers , Josh Poimboeuf , Masami Hiramatsu , Peter Zijlstra , Ingo Molnar , Jiri Olsa , Namhyung Kim , Thomas Gleixner , Andrii Nakryiko , Indu Bhagat , "Jose E. Marchesi" , Beau Belgrave , Jens Remus , Linus Torvalds , Andrew Morton Subject: [RFC PATCH v2 0/3] Improvements to unwind user Date: Thu, 10 Jul 2025 12:42:55 -0400 Message-ID: <20250710164301.3094-1-mathieu.desnoyers@efficios.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Here are a few improvements to unwind user for feedback. Thanks, Mathieu Cc: Steven Rostedt (Google) Cc: Josh Poimboeuf Cc: Masami Hiramatsu Cc: Mathieu Desnoyers Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Thomas Gleixner Cc: Andrii Nakryiko Cc: Indu Bhagat Cc: "Jose E. Marchesi" Cc: Beau Belgrave Cc: Jens Remus Cc: Linus Torvalds Cc: Andrew Morton Mathieu Desnoyers (3): unwind_user: Fix userspace unwind iterator 32-bit compat handling unwind: Export unwind_user symbol to GPL modules unwind deferred: Introduce unwind_user_trace_cached arch/x86/include/asm/unwind_user.h | 6 +- arch/x86/kernel/stacktrace.c | 2 +- include/asm-generic/unwind_user.h | 4 + include/linux/unwind_deferred.h | 2 + include/linux/unwind_user.h | 9 -- include/linux/unwind_user_types.h | 25 ++++-- kernel/unwind/deferred.c | 31 +++++++ kernel/unwind/user.c | 140 +++++++++++++++++------------ 8 files changed, 144 insertions(+), 75 deletions(-) -- 2.43.0