Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1175983
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Tejun Heo <tj@kernel.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] tools/perf, rbtree: Add RCU wrappers to make rbtree.h usable in user-space |
| Date | Thu, 02 Jul 2015 15:30:03 +0200 |
| Message-ID | <pHMIX-3df-31@gated-at.bofh.it> (permalink) |
| References | <pHB18-41K-3@gated-at.bofh.it> <pHB18-41K-1@gated-at.bofh.it> <pHD2V-5G5-11@gated-at.bofh.it> <pHMIX-3df-33@gated-at.bofh.it> |
| X-Original-To | Rusty Russell <rusty@rustcorp.com.au> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=tzogWiXqXqFKOMG53qSPCoMR70rHpRs2SEz0wrmNHJU=; b=lr9Uo303hQpyXiop28Ek26QPikAn3pP5UA3sHegDSY7tRisHzX8nhP3UWD4vQKa1qK GOcRtT/lMlUVy3jT7+nND+x+zKmpj0pT40YRX9OwFEUHgpmnzJL6EkNb96H9gJfwA3P6 PrX2fM/e7fQNlnljNVNcs0OdxOUJcWJp4sYW78c1Hyw+lJmQq2D0Ns1dykJaYt3exKMa QCs60U9d5GYprJiT46CxyQvzUI6FYR7QFHWvofXEeG7rI3Php5PNKsfO2jkLgVYfAOn+ eef9cas2ITnONjpMME00vChGiBEj9b6Sgaccgwql6YzZDgWWG9MVF205luJDhBnFNdkw VRNQ== |
| X-Received | by 10.170.204.130 with SMTP id v124mr37473308yke.72.1435843265323; Thu, 02 Jul 2015 06:21:05 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 43 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Jens Axboe <axboe@kernel.dk>, Jon Christopherson <jon@jons.org>, linux-kernel@vger.kernel.org |
| X-Original-Date | Thu, 2 Jul 2015 09:21:03 -0400 |
| X-Original-Message-ID | <20150702132103.GB30677@mtj.duckdns.org> |
| X-Original-References | <20150702005253.GA26440@mtj.duckdns.org> <20150702005337.GB26440@mtj.duckdns.org> <5594A9B6.2050100@jons.org> <5594AD98.4050402@jons.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | aioe.org linux.kernel:1175983 |
Show key headers only | View raw
(cc'ing Rusty and lkml)
Hello,
On Wed, Jul 01, 2015 at 10:18:48PM -0500, Jon Christopherson wrote:
> Hello guys,
>
> One last thing .. the recent commit : 02201e3f1 ("Merge tag
> 'modules-next-for-linus' of
> git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux") broke perf tools
> compilation. I know this isnt your area, but its a simple accidental
> omission of a file. Here is the needed change to correct retrieved from the
> list:
>
> diff --git a/tools/perf/util/include/linux/rcupdate.h
> b/tools/perf/util/include/linux/rcupdate.h
> new file mode 100644
> index 0000000..51c0f45
> --- /dev/null
> +++ b/tools/perf/util/include/linux/rcupdate.h
> @@ -0,0 +1,9 @@
> +#ifndef PERF_LINUX_RCUPDATE_H_
> +#define PERF_LINUX_RCUPDATE_H_
> +
> +/* Simple trivial wrappers for now, we don't use RCU in perf user-space
> (yet): */
> +#define WRITE_ONCE(var, val) ((var) = (val))
> +#define rcu_assign_pointer(ptr, val) WRITE_ONCE(ptr, val)
> +
> +#endif
> +
Rusty?
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 2/2 block/for-linus] writeback: don't drain bdi_writeback_congested on bdi destruction Tejun Heo <tj@kernel.org> - 2015-07-02 03:00 +0200
Re: [PATCH] tools/perf, rbtree: Add RCU wrappers to make rbtree.h usable in user-space Tejun Heo <tj@kernel.org> - 2015-07-02 15:30 +0200
Re: [PATCH] tools/perf, rbtree: Add RCU wrappers to make rbtree.h usable in user-space Rusty Russell <rusty@rustcorp.com.au> - 2015-07-03 02:40 +0200
Re: [PATCH] tools/perf, rbtree: Add RCU wrappers to make rbtree.h usable in user-space Jon Christopherson <jon@jons.org> - 2015-07-03 12:10 +0200
Re: [PATCH] tools/perf, rbtree: Add RCU wrappers to make rbtree.h usable in user-space Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-07-05 10:50 +0200
Re: [PATCH 2/2 block/for-linus] writeback: don't drain bdi_writeback_congested on bdi destruction Jens Axboe <axboe@kernel.dk> - 2015-07-02 16:10 +0200
csiph-web