Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753410AbdGNI3J (ORCPT ); Fri, 14 Jul 2017 04:29:09 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:34609 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751166AbdGNI3G (ORCPT ); Fri, 14 Jul 2017 04:29:06 -0400 Date: Fri, 14 Jul 2017 10:29:02 +0200 From: Ingo Molnar To: Josh Poimboeuf Cc: Peter Zijlstra , Andres Freund , x86@kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Linus Torvalds , Andy Lutomirski , Jiri Slaby , "H. Peter Anvin" , Mike Galbraith , Jiri Olsa , Arnaldo Carvalho de Melo , Namhyung Kim , Alexander Shishkin Subject: Re: [PATCH v3 00/10] x86: ORC unwinder (previously undwarf) Message-ID: <20170714082902.jhs2ftaxus2445k6@gmail.com> References: <20170712214920.5droainfqjmq7sgu@alap3.anarazel.de> <20170712223225.zkq7tdb7pzgb3wy7@treble> <20170713071253.a3slz3j5tcgy3rkk@hirez.programming.kicks-ass.net> <20170713085015.yjjv5ig2znplx5jl@hirez.programming.kicks-ass.net> <20170713085114.h4vjgg7jjbl6dohb@hirez.programming.kicks-ass.net> <20170713091911.aj7e7dvrbqcyxh7l@gmail.com> <20170713121755.hsuvecrzvyxbdvvk@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170713121755.hsuvecrzvyxbdvvk@treble> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 397 Lines: 13 * Josh Poimboeuf wrote: > For user space stack unwinding, the kernel could emulate what the kernel > 'guess' unwinder does by scanning the user space stack and returning all > the text addresses it finds. User-space stacks tend to be much larger than kernel stacks, the cost of doing such a full scan on every PMI would kill a lot of profiling workloads. Thanks, Ingo