Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1111148imm; Fri, 5 Oct 2018 19:00:51 -0700 (PDT) X-Google-Smtp-Source: ACcGV61WXEVPkjdKVGOwmfvq07AJxLdpAlv8135cxXOdw2Sz+WY+H8lloqNUcQl9HyfWfCkQl0NZ X-Received: by 2002:a17:902:6bc7:: with SMTP id m7-v6mr13806166plt.274.1538791251132; Fri, 05 Oct 2018 19:00:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538791251; cv=none; d=google.com; s=arc-20160816; b=LLfk/5DHF/DWczAWGzapeqA5jCbNauTgx6SLisa8mlF//an5tZYQUwREauY5pvG9Jb Qxmh8WDV+1NBM52wqIU6AsUSShZ0+RERZEq1A5bIGozhB6fQxDbb9tf7paBvZS4j0w87 WT1gh6epb65jmz7NhZkMpitRkFCONSjBFVNZGFjxtQZHfvhDEK98q5CnsnoJEMukErCE tjApfjQn/Ewb/dIbp2WSuUg8cKJ/wnZBA07JwPtqCVKa2AAVVG/ExhlLwaYf65Q4MdmX xYnk8e7kGvjHKo/yfizAMlLYKZk2FlXDCeBXt5C55w1X/mYo1+wp4Yyuwwd+BN7RbpAl 8aSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=FxmQgbXrCypZUxcw3TUEB/E+m6ZoaYV3pYROI2C7V9U=; b=NQZmTfXBADVRho3XjIb/kgkHsxFleRHQ1SfGXjMKR2Gj5bfMG4Qg1vex+fMOWVkt3G X1yHppdCCe/MQ+rjfsbYoyzTlD1D2jr6Hgl10851knqvfGg3XFuhEW03b+HFll/zlteA ivy96KoGvIz16nVNHwdypyAy9JvGPVIxUeaQJJ5UmN/yk+/oBGx4xJVmQ7VC5TRq2GzN Cy/XP83Bv8dUFGzEhaSu3di0ijtn0HsgVaWUvwWp8XwhullrtDaWvj5ClTyJB6b/p0tK 1Kn/kmWkepD6/fqX+0yScJIYkbTCgFrqGgxkuIlz5f7PAFvFNef5a6GpeFRneti3UlF0 21EQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11-v6si8700634pgb.135.2018.10.05.19.00.35; Fri, 05 Oct 2018 19:00:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729220AbeJFJBy (ORCPT + 99 others); Sat, 6 Oct 2018 05:01:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:46278 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726759AbeJFJBy (ORCPT ); Sat, 6 Oct 2018 05:01:54 -0400 Received: from vmware.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F305220834; Sat, 6 Oct 2018 02:00:27 +0000 (UTC) Date: Fri, 5 Oct 2018 22:00:26 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Linus Torvalds , Ingo Molnar , Andrew Morton , Thomas Gleixner , Peter Zijlstra , Masami Hiramatsu , Mathieu Desnoyers , Matthew Helsley , "Rafael J . Wysocki" , David Woodhouse , Paolo Bonzini , Josh Poimboeuf , Jason Baron , Jiri Kosina Subject: Re: [POC][RFC][PATCH 1/2] jump_function: Addition of new feature "jump_function" Message-ID: <20181005220026.49d43102@vmware.local.home> In-Reply-To: <20181006015720.634688468@goodmis.org> References: <20181006015110.653946300@goodmis.org> <20181006015720.634688468@goodmis.org> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 05 Oct 2018 21:51:11 -0400 Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Signed-off-by: Steven Rostedt (VMware) > --- > include/asm-generic/vmlinux.lds.h | 4 + > include/linux/jump_function.h | 93 ++++++++ > kernel/Makefile | 2 +- > kernel/jump_function.c | 368 ++++++++++++++++++++++++++++++ > 4 files changed, 466 insertions(+), 1 deletion(-) > create mode 100644 include/linux/jump_function.h > create mode 100644 kernel/jump_function.c > > diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h > index 7b75ff6e2fce..0e205069ff36 100644 > --- a/include/asm-generic/vmlinux.lds.h > +++ b/include/asm-generic/vmlinux.lds.h > @@ -257,6 +257,10 @@ > __start___jump_table = .; \ > KEEP(*(__jump_table)) \ > __stop___jump_table = .; \ > + . = ALIGN(8); \ > + __start___dynfunc_table = .; \ > + KEEP(*(__dynfunc_table)) \ > + __stop___dynfunc_table = .; \ > . = ALIGN(8); \ > __start___verbose = .; \ > KEEP(*(__verbose)) \ > BAH, this is leftover from my first attempt. It's not needed and can be nuked. -- Steve