Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1640603pxx; Fri, 30 Oct 2020 15:18:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw83qnTQnOPtfcnu9wKmyshC7HXFQY0VQV/bIOdckpWFkFCQzA3Pb6U1hntStiTnwFnNYAj X-Received: by 2002:a50:9f03:: with SMTP id b3mr4573651edf.268.1604096338720; Fri, 30 Oct 2020 15:18:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604096338; cv=none; d=google.com; s=arc-20160816; b=hFkYDE0uq9EviM9BKvRReoVI1bg79lfnmdfMBirTGBx/P7plQNMd5A7nJGyRhEb2ff W7XpS6M1LM3omJjT3CEeIKgqB1nvYQO9F5m4D60kdMAbVCcmGOryjwPsRFC/fnaJdBSl 0FuGNW2e62429ImtDfkDD96IeAkjdavASFFAS6p4sDAHPGguDBMd6FiaEQmegmks0skj 8IBSrx+QRwOdliMD+Ikvbo3VAmCdA1C1pEleiFbZFETNGIzOAP0hDpkVpVCEVsWUENP1 Jwhlz0td9YQpa0+sqAoyJFumh2lQM3noa0YID29+ZccfaZfaJTg2VYgPa7617T5P0GW4 A5Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=zIgCECG34REYC6LVslxI9xTCHzmaTLZn/hPr5Sb937w=; b=TnUu3tnMM2NoZ03GJ548GOM057ZsS50z6F2j1BeOJMOKHrc1rV2RFN/EaBgwvJSvfD JvbcJmz7qF4LNSgswzJTLWbKgxNogvzcQpOnN6Qjo45qiRueZsrcN0t1QFh2oIySOQ1q ZQwiIerd+P8fXbkAudYdgU/56lK1J7BB4ZqqJkd5khnTnAoaY6Mp6inNqNMV/ipElW+e vRQfGATWWyffRrFIPaE2bR4dzuL7jDFA2YthgtChSb1iGfAEASBowNiOK5FuMjkb+cQI qeuoT3R4v2aSc+yz+FuRNQJS2k/RKXJfaEApr1Y9w5XVrLRT+4kNx8EhCFOq80FAkeBx 63XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=fmkzs5ze; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i23si5783356ejj.284.2020.10.30.15.18.33; Fri, 30 Oct 2020 15:18:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=fmkzs5ze; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725815AbgJ3WOU (ORCPT + 99 others); Fri, 30 Oct 2020 18:14:20 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:45198 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725791AbgJ3WOU (ORCPT ); Fri, 30 Oct 2020 18:14:20 -0400 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1604096058; 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: in-reply-to:in-reply-to:references:references; bh=zIgCECG34REYC6LVslxI9xTCHzmaTLZn/hPr5Sb937w=; b=fmkzs5zeistuEEaSiqJ7Si0xIKCi6xAmGfatgNh5gT61d7GCU6gnc0d5ZWZK43U2DW6KWz DLkQQBilHiCvne6fjAglx8cTbPsfyJKpHbAgnAeftPZrOZdkI17ZmatWX8RqholfCIVYhq Ckl1mKPWtcCzBJEO9LAqnstgIGHWAyQaVf+IurX/X9bTte1/J2aJ290G9JrrOZQWmY19Cf DI5pQqt7z6EjPuKm+I7vNTINAITvARUuXT/Bc/SltExU7lJZeUyf9eQ99IiBIWJSig5tua kCzR2/QKA/384PVJlmpF5BQys4PheMTZV8ic2QXLgt9WDXJLUwGe/a/xj4cMgQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1604096058; 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: in-reply-to:in-reply-to:references:references; bh=zIgCECG34REYC6LVslxI9xTCHzmaTLZn/hPr5Sb937w=; b=GJHn9ma1EEKdVbV3fRB4+lpol/Xsxp/1f8Yx2BH0c8bCV5uNZBaoYM4dqy8/9GWopuPz+O QBstph6pRJdp9YDQ== To: Steven Rostedt , Jesper Dangaard Brouer Cc: Peter Zijlstra , mingo@kernel.org, linux-kernel@vger.kernel.org, kan.liang@linux.intel.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, ak@linux.intel.com, eranian@google.com Subject: Re: [PATCH 4/6] perf: Optimize get_recursion_context() In-Reply-To: <20201030162248.58e388f0@oasis.local.home> References: <20201030151345.540479897@infradead.org> <20201030151955.187580298@infradead.org> <20201030181138.215b2b6a@carbon> <20201030162248.58e388f0@oasis.local.home> Date: Fri, 30 Oct 2020 23:14:18 +0100 Message-ID: <87v9erl5tx.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 30 2020 at 16:22, Steven Rostedt wrote: > As this is something that ftrace recursion also does, perhaps we should > move this into interrupt.h so that anyone that needs a counter can get Not in interrupt.h please. We should create kernel/include/ for stuff which really should only be available in the core kernel code. Thanks, tglx