<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-49</id>
	<title>Nabble - linux-kernel</title>
	<updated>2009-11-08T22:30:45Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/linux-kernel-f49.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linux-kernel-f49.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26261814</id>
	<title>Re: Using x86 segments against NULL pointer deference exploit</title>
	<published>2009-11-08T22:30:45Z</published>
	<updated>2009-11-08T22:30:45Z</updated>
	<author>
		<name>H. Peter Anvin</name>
	</author>
	<content type="html">On 11/06/2009 12:35 PM, matthieu castet wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; May be the sane way should be to forbid mapping page 0, and make run
&lt;br&gt;&amp;gt; application needing page 0 in a
&lt;br&gt;&amp;gt; emulator. After all it is for special case [1] :
&lt;br&gt;&amp;gt; - Win16 binary for wine
&lt;br&gt;&amp;gt; - upstream version of dosemu and qemu have workaround
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But some distro still set mmap_min_addr to 0 (ubuntu+wine, ...) :(
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Don't Do That, Then[TM].
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -hpa
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;H. Peter Anvin, Intel Open Source Technology Center
&lt;br&gt;I work for Intel. &amp;nbsp;I don't speak on their behalf.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261814&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-x86-segments-against-NULL-pointer-deference-exploit-tp26231607p26261814.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261742</id>
	<title>Re: specjbb2005 and aim7 regression with 2.6.32-rc kernels</title>
	<published>2009-11-08T22:19:48Z</published>
	<updated>2009-11-08T22:19:48Z</updated>
	<author>
		<name>Zhang, Yanmin-2</name>
	</author>
	<content type="html">On Fri, 2009-11-06 at 09:04 +0100, Ingo Molnar wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; * Zhang, Yanmin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261742&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yanmin_zhang@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Comparing with 2.6.31, specjbb2005 and aim7 have some regressions with 
&lt;br&gt;&amp;gt; &amp;gt; 2.6.32-rc kernels on core2 machines.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 1) On 4*4 core tigerton: specjbb2005 has about 5% regression.
&lt;br&gt;&amp;gt; &amp;gt; 2) On 2*4 stoakley: aim7 has about 5% regression.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; On Nehalem, specjbb2005 has about 2%~8% improvement instead of 
&lt;br&gt;&amp;gt; &amp;gt; regression.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; aim7 has much dependency on schedule patameters, such like 
&lt;br&gt;&amp;gt; &amp;gt; sched_latency_ns, sched_min_granularity_ns, and 
&lt;br&gt;&amp;gt; &amp;gt; sched_wakeup_granularity_ns. 2.6.32-rc kernel decreases these 
&lt;br&gt;&amp;gt; &amp;gt; parameter values. I restore them and retest aim7 on stoakley. aim7 
&lt;br&gt;&amp;gt; &amp;gt; regression becomes about 2% and specjbb2005 regression also becomes 
&lt;br&gt;&amp;gt; &amp;gt; 2%. But on Nehalem, the improvement shrinks.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Which precise 2.6.32-rc commit have you tested?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Since v2.6.32-rc6 Linus's tree has this one too:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; f685cea: sched: Strengthen buddies and mitigate buddy induced latencies
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Which should improve things a bit. For 2.6.33 we have queued up these 
&lt;br&gt;&amp;gt; two in -tip:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; a1f84a3: sched: Check for an idle shared cache in select_task_rq_fair()
&lt;br&gt;&amp;gt; &amp;nbsp; 1b9508f: sched: Rate-limit newidle
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If any of them fixes a performance regression we could still merge them 
&lt;br&gt;&amp;gt; into 2.6.32 as well.
&lt;/div&gt;﻿1b9508f definitely fixes netperf UDP loopback regression.
&lt;br&gt;&lt;br&gt;Yanmin
&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261742&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/specjbb2005-and-aim7-regression-with-2.6.32-rc-kernels-tp26227944p26261742.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261735</id>
	<title>Re: [PATCHv8 3/3] vhost_net: a kernel-level virtio server</title>
	<published>2009-11-08T22:17:29Z</published>
	<updated>2009-11-08T22:17:29Z</updated>
	<author>
		<name>Rusty Russell</name>
	</author>
	<content type="html">On Sun, 8 Nov 2009 10:05:16 pm Michael S. Tsirkin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, Nov 06, 2009 at 03:29:17PM +1030, Rusty Russell wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +/* Caller must have TX VQ lock */
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +static void tx_poll_stop(struct vhost_net *net)
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +{
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +	if (likely(net-&amp;gt;tx_poll_state != VHOST_NET_POLL_STARTED))
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +		return;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; likely? &amp;nbsp;Really?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hmm ... yes. tx poll stop is called on each packet (as long as we do not
&lt;br&gt;&amp;gt; fill up 1/2 backend queue), the first call will stop polling
&lt;br&gt;&amp;gt; the rest checks state and does nothing.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is because we normally do not care when the message has left the
&lt;br&gt;&amp;gt; queue in backend device: we tell backend to send it and forget. We only
&lt;br&gt;&amp;gt; start polling when backend tx queue fills up.
&lt;/div&gt;&lt;br&gt;OK, good.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +static void vhost_net_set_features(struct vhost_net *n, u64 features)
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +{
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +	size_t hdr_size = features &amp; (1 &amp;lt;&amp;lt; VHOST_NET_F_VIRTIO_NET_HDR) ?
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +		sizeof(struct virtio_net_hdr) : 0;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +	int i;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +	mutex_lock(&amp;n-&amp;gt;dev.mutex);
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +	n-&amp;gt;dev.acked_features = features;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Why is this called &amp;quot;acked_features&amp;quot;? &amp;nbsp;Not just &amp;quot;features&amp;quot;? &amp;nbsp;I expected
&lt;br&gt;&amp;gt; &amp;gt; to see code which exposed these back to userspace, and didn't.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Not sure how do you mean. Userspace sets them, why
&lt;br&gt;&amp;gt; does it want to get them exposed back?
&lt;/div&gt;&lt;br&gt;There's something about the 'acked' which rubs me the wrong way.
&lt;br&gt;&amp;quot;enabled_features&amp;quot; is perhaps a better term than &amp;quot;acked_features&amp;quot;; &amp;quot;acked&amp;quot;
&lt;br&gt;seems more a user point-of-view, &amp;quot;enabled&amp;quot; seems more driver POV?
&lt;br&gt;&lt;br&gt;set_features matches your ioctl names, but it sounds like a fn name :(
&lt;br&gt;&lt;br&gt;It's marginal. &amp;nbsp;And 'features' is shorter than both.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +	switch (ioctl) {
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; +	case VHOST_SET_VRING_NUM:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I haven't looked at your userspace implementation, but does a generic
&lt;br&gt;&amp;gt; &amp;gt; VHOST_SET_VRING_STATE &amp; VHOST_GET_VRING_STATE with a struct make more
&lt;br&gt;&amp;gt; &amp;gt; sense? &amp;nbsp;It'd be simpler here,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Not by much though, right?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; but not sure if it'd be simpler to use?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The problem is with VHOST_SET_VRING_BASE as well. I want it to be
&lt;br&gt;&amp;gt; separate because I want to make it possible to relocate e.g. used ring
&lt;br&gt;&amp;gt; to another address while ring is running. This would be a good debugging
&lt;br&gt;&amp;gt; tool (you look at kernel's used ring, check descriptor, then update
&lt;br&gt;&amp;gt; guest's used ring) and also possibly an extra way to do migration. &amp;nbsp;And
&lt;br&gt;&amp;gt; it's nicer to have vring size separate as well, because it is
&lt;br&gt;&amp;gt; initialized by host and never changed, right?
&lt;/div&gt;&lt;br&gt;Actually, this looks wrong to me:
&lt;br&gt;&lt;br&gt;+	case VHOST_SET_VRING_BASE:
&lt;br&gt;...
&lt;br&gt;+		vq-&amp;gt;avail_idx = vq-&amp;gt;last_avail_idx = s.num;
&lt;br&gt;&lt;br&gt;The last_avail_idx is part of the state of the driver. &amp;nbsp;It needs to be saved
&lt;br&gt;and restored over susp/resume. &amp;nbsp;The only reason it's not in the ring itself
&lt;br&gt;is because I figured the other side doesn't need to see it (which is true, but
&lt;br&gt;missed debugging opportunities as well as man-in-the-middle issues like this
&lt;br&gt;one). &amp;nbsp;I had a patch which put this field at the end of the ring, I might
&lt;br&gt;resurrect it to avoid this problem. &amp;nbsp;This is backwards compatible with all
&lt;br&gt;implementations. &amp;nbsp;See patch at end.
&lt;br&gt;&lt;br&gt;I would drop avail_idx altogether: get_user is basically free, and simplifies
&lt;br&gt;a lot. &amp;nbsp;As most state is in the ring, all you need is an ioctl to save/restore
&lt;br&gt;the last_avail_idx.
&lt;br&gt;&lt;br&gt;&amp;gt; We could merge DESC, AVAIL, USED, and it will reduce the amount of code
&lt;br&gt;&amp;gt; in userspace. With both base, size and fds separate, it seemed a bit
&lt;br&gt;&amp;gt; more symmetrical to have desc/avail/used separate as well.
&lt;br&gt;&amp;gt; What's your opinion?
&lt;br&gt;&lt;br&gt;Well, DESC, AVAIL, and USED could easily be turned into SET/GET_LAYOUT.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; For future reference, this is *exactly* the kind of thing which would have
&lt;br&gt;&amp;gt; &amp;gt; been nice as a followup patch. &amp;nbsp;Easy to separate, easy to review, not critical
&lt;br&gt;&amp;gt; &amp;gt; to the core.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes. It's not too late to split it out though: should I do it yet?
&lt;br&gt;&lt;br&gt;Only if you're feeling enthused. &amp;nbsp;It's lightly reviewed now.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Rusty.
&lt;br&gt;&lt;br&gt;virtio: put last_used and last_avail index into ring itself.
&lt;br&gt;&lt;br&gt;Generally, the other end of the virtio ring doesn't need to see where
&lt;br&gt;you're up to in consuming the ring. &amp;nbsp;However, to completely understand
&lt;br&gt;what's going on from the outside, this information must be exposed.
&lt;br&gt;For example, if you want to save and restore a virtio_ring, but you're
&lt;br&gt;not the consumer because the kernel is using it directly.
&lt;br&gt;&lt;br&gt;Fortunately, we have room to expand: the ring is always a whole number
&lt;br&gt;of pages and there's hundreds of bytes of padding after the avail ring
&lt;br&gt;and the used ring, whatever the number of descriptors (which must be a
&lt;br&gt;power of 2).
&lt;br&gt;&lt;br&gt;We add a feature bit so the guest can tell the host that it's writing
&lt;br&gt;out the current value there, if it wants to use that.
&lt;br&gt;&lt;br&gt;Signed-off-by: Rusty Russell &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261735&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rusty@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;drivers/virtio/virtio_ring.c | &amp;nbsp; 23 +++++++++++++++--------
&lt;br&gt;&amp;nbsp;include/linux/virtio_ring.h &amp;nbsp;| &amp;nbsp; 12 +++++++++++-
&lt;br&gt;&amp;nbsp;2 files changed, 26 insertions(+), 9 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
&lt;br&gt;--- a/drivers/virtio/virtio_ring.c
&lt;br&gt;+++ b/drivers/virtio/virtio_ring.c
&lt;br&gt;@@ -71,9 +71,6 @@ struct vring_virtqueue
&lt;br&gt;&amp;nbsp;	/* Number we've added since last sync. */
&lt;br&gt;&amp;nbsp;	unsigned int num_added;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	/* Last used index we've seen. */
&lt;br&gt;-	u16 last_used_idx;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	/* How to notify other side. FIXME: commonalize hcalls! */
&lt;br&gt;&amp;nbsp;	void (*notify)(struct virtqueue *vq);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -278,12 +275,13 @@ static void detach_buf(struct vring_virt
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static inline bool more_used(const struct vring_virtqueue *vq)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;-	return vq-&amp;gt;last_used_idx != vq-&amp;gt;vring.used-&amp;gt;idx;
&lt;br&gt;+	return vring_last_used(&amp;vq-&amp;gt;vring) != vq-&amp;gt;vring.used-&amp;gt;idx;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void *vring_get_buf(struct virtqueue *_vq, unsigned int *len)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	struct vring_virtqueue *vq = to_vvq(_vq);
&lt;br&gt;+	struct vring_used_elem *u;
&lt;br&gt;&amp;nbsp;	void *ret;
&lt;br&gt;&amp;nbsp;	unsigned int i;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -300,8 +298,11 @@ static void *vring_get_buf(struct virtqu
&lt;br&gt;&amp;nbsp;		return NULL;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	i = vq-&amp;gt;vring.used-&amp;gt;ring[vq-&amp;gt;last_used_idx%vq-&amp;gt;vring.num].id;
&lt;br&gt;-	*len = vq-&amp;gt;vring.used-&amp;gt;ring[vq-&amp;gt;last_used_idx%vq-&amp;gt;vring.num].len;
&lt;br&gt;+	u = &amp;vq-&amp;gt;vring.used-&amp;gt;ring[vring_last_used(&amp;vq-&amp;gt;vring) % vq-&amp;gt;vring.num];
&lt;br&gt;+	i = u-&amp;gt;id;
&lt;br&gt;+	*len = u-&amp;gt;len;
&lt;br&gt;+	/* Make sure we don't reload i after doing checks. */
&lt;br&gt;+	rmb();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (unlikely(i &amp;gt;= vq-&amp;gt;vring.num)) {
&lt;br&gt;&amp;nbsp;		BAD_RING(vq, &amp;quot;id %u out of range\n&amp;quot;, i);
&lt;br&gt;@@ -315,7 +316,8 @@ static void *vring_get_buf(struct virtqu
&lt;br&gt;&amp;nbsp;	/* detach_buf clears data, so grab it now. */
&lt;br&gt;&amp;nbsp;	ret = vq-&amp;gt;data[i];
&lt;br&gt;&amp;nbsp;	detach_buf(vq, i);
&lt;br&gt;-	vq-&amp;gt;last_used_idx++;
&lt;br&gt;+	vring_last_used(&amp;vq-&amp;gt;vring)++;
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;	END_USE(vq);
&lt;br&gt;&amp;nbsp;	return ret;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;@@ -402,7 +404,6 @@ struct virtqueue *vring_new_virtqueue(un
&lt;br&gt;&amp;nbsp;	vq-&amp;gt;vq.name = name;
&lt;br&gt;&amp;nbsp;	vq-&amp;gt;notify = notify;
&lt;br&gt;&amp;nbsp;	vq-&amp;gt;broken = false;
&lt;br&gt;-	vq-&amp;gt;last_used_idx = 0;
&lt;br&gt;&amp;nbsp;	vq-&amp;gt;num_added = 0;
&lt;br&gt;&amp;nbsp;	list_add_tail(&amp;vq-&amp;gt;vq.list, &amp;vdev-&amp;gt;vqs);
&lt;br&gt;&amp;nbsp;#ifdef DEBUG
&lt;br&gt;@@ -413,6 +414,10 @@ struct virtqueue *vring_new_virtqueue(un
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	vq-&amp;gt;indirect = virtio_has_feature(vdev, VIRTIO_RING_F_INDIRECT_DESC);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+	/* We publish indices whether they offer it or not: if not, it's junk
&lt;br&gt;+	 * space anyway. &amp;nbsp;But calling this acknowledges the feature. */
&lt;br&gt;+	virtio_has_feature(vdev, VIRTIO_RING_F_PUBLISH_INDICES);
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;	/* No callback? &amp;nbsp;Tell other side not to bother us. */
&lt;br&gt;&amp;nbsp;	if (!callback)
&lt;br&gt;&amp;nbsp;		vq-&amp;gt;vring.avail-&amp;gt;flags |= VRING_AVAIL_F_NO_INTERRUPT;
&lt;br&gt;@@ -443,6 +448,8 @@ void vring_transport_features(struct vir
&lt;br&gt;&amp;nbsp;		switch (i) {
&lt;br&gt;&amp;nbsp;		case VIRTIO_RING_F_INDIRECT_DESC:
&lt;br&gt;&amp;nbsp;			break;
&lt;br&gt;+		case VIRTIO_RING_F_PUBLISH_INDICES:
&lt;br&gt;+			break;
&lt;br&gt;&amp;nbsp;		default:
&lt;br&gt;&amp;nbsp;			/* We don't understand this bit. */
&lt;br&gt;&amp;nbsp;			clear_bit(i, vdev-&amp;gt;features);
&lt;br&gt;diff --git a/include/linux/virtio_ring.h b/include/linux/virtio_ring.h
&lt;br&gt;--- a/include/linux/virtio_ring.h
&lt;br&gt;+++ b/include/linux/virtio_ring.h
&lt;br&gt;@@ -29,6 +29,9 @@
&lt;br&gt;&amp;nbsp;/* We support indirect buffer descriptors */
&lt;br&gt;&amp;nbsp;#define VIRTIO_RING_F_INDIRECT_DESC	28
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+/* We publish our last-seen used index at the end of the avail ring. */
&lt;br&gt;+#define VIRTIO_RING_F_PUBLISH_INDICES	29
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;/* Virtio ring descriptors: 16 bytes. &amp;nbsp;These can chain together via &amp;quot;next&amp;quot;. */
&lt;br&gt;&amp;nbsp;struct vring_desc
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;@@ -87,6 +90,7 @@ struct vring {
&lt;br&gt;&amp;nbsp; *	__u16 avail_flags;
&lt;br&gt;&amp;nbsp; *	__u16 avail_idx;
&lt;br&gt;&amp;nbsp; *	__u16 available[num];
&lt;br&gt;+ *	__u16 last_used_idx;
&lt;br&gt;&amp;nbsp; *
&lt;br&gt;&amp;nbsp; *	// Padding to the next align boundary.
&lt;br&gt;&amp;nbsp; *	char pad[];
&lt;br&gt;@@ -95,6 +99,7 @@ struct vring {
&lt;br&gt;&amp;nbsp; *	__u16 used_flags;
&lt;br&gt;&amp;nbsp; *	__u16 used_idx;
&lt;br&gt;&amp;nbsp; *	struct vring_used_elem used[num];
&lt;br&gt;+ *	__u16 last_avail_idx;
&lt;br&gt;&amp;nbsp; * };
&lt;br&gt;&amp;nbsp; */
&lt;br&gt;&amp;nbsp;static inline void vring_init(struct vring *vr, unsigned int num, void *p,
&lt;br&gt;@@ -111,9 +116,14 @@ static inline unsigned vring_size(unsign
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	return ((sizeof(struct vring_desc) * num + sizeof(__u16) * (2 + num)
&lt;br&gt;&amp;nbsp;		 + align - 1) &amp; ~(align - 1))
&lt;br&gt;-		+ sizeof(__u16) * 2 + sizeof(struct vring_used_elem) * num;
&lt;br&gt;+		+ sizeof(__u16) * 2 + sizeof(struct vring_used_elem) * num + 2;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+/* We publish the last-seen used index at the end of the available ring, and
&lt;br&gt;+ * vice-versa. &amp;nbsp;These are at the end for backwards compatibility. */
&lt;br&gt;+#define vring_last_used(vr) ((vr)-&amp;gt;avail-&amp;gt;ring[(vr)-&amp;gt;num])
&lt;br&gt;+#define vring_last_avail(vr) (*(__u16 *)&amp;(vr)-&amp;gt;used-&amp;gt;ring[(vr)-&amp;gt;num])
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;#ifdef __KERNEL__
&lt;br&gt;&amp;nbsp;#include &amp;lt;linux/irqreturn.h&amp;gt;
&lt;br&gt;&amp;nbsp;struct virtio_device;
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261735&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCHv8-3-3--vhost_net%3A-a-kernel-level-virtio-server-tp26199103p26261735.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261592</id>
	<title>[PATCH percpu#for-linus] percpu: fix possible deadlock via irq lock inversion</title>
	<published>2009-11-08T21:46:52Z</published>
	<updated>2009-11-08T21:46:52Z</updated>
	<author>
		<name>Tejun Heo-3</name>
	</author>
	<content type="html">Lockdep caught the following irq lock inversion which can lead to
&lt;br&gt;deadlock.
&lt;br&gt;&lt;br&gt;&amp;nbsp;=========================================================
&lt;br&gt;&amp;nbsp;[ INFO: possible irq lock inversion dependency detected ]
&lt;br&gt;&amp;nbsp;2.6.32-rc5-tip-04815-g12f0f93-dirty #745
&lt;br&gt;&amp;nbsp;---------------------------------------------------------
&lt;br&gt;&amp;nbsp;hub 1-3:1.0: state 7 ports 2 chg 0000 evt 0004
&lt;br&gt;&amp;nbsp;ksoftirqd/65/199 just changed the state of lock:
&lt;br&gt;&amp;nbsp; (pcpu_lock){..-...}, at: [&amp;lt;ffffffff81130e04&amp;gt;] free_percpu+0x38/0x104
&lt;br&gt;&amp;nbsp;but this lock took another, SOFTIRQ-unsafe lock in the past:
&lt;br&gt;&amp;nbsp; (vmap_area_lock){+.+...}
&lt;br&gt;&lt;br&gt;&amp;nbsp;and interrupts could create inverse lock ordering between them.
&lt;br&gt;&lt;br&gt;This happens because pcpu_lock is allowed to be acquired from irq
&lt;br&gt;context for free_percpu() path and alloc_percpu() path may call
&lt;br&gt;vfree() with pcpu_lock held. &amp;nbsp;As vmap_area_lock isn't irq safe, if an
&lt;br&gt;IRQ occurs while vmap_area_lock is held and the irq handler calls
&lt;br&gt;free_percpu(), locking order inversion occurs.
&lt;br&gt;&lt;br&gt;As the nesting only occurs in the alloc path which isn't allowed to be
&lt;br&gt;called from irq context, A-&amp;gt;B-&amp;gt;A deadlock won't occur but A-&amp;gt;B B-&amp;gt;A
&lt;br&gt;deadlock is still possible.
&lt;br&gt;&lt;br&gt;The only place where vmap_area_lock is nested under pcpu_lock is while
&lt;br&gt;extending area_map to free old map. &amp;nbsp;Break the locking order by
&lt;br&gt;temporarily releasing pcpu_lock when freeing old map. &amp;nbsp;This is safe to
&lt;br&gt;do as allocation path is protected with outer pcpu_alloc_mutex.
&lt;br&gt;&lt;br&gt;Signed-off-by: Tejun Heo &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261592&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tj@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Reported-by: Yinghai Lu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261592&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yhlu.kernel@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Ingo Molnar &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261592&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mingo@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;If nobody objects, I'll push it to Linus tomorrow. &amp;nbsp;Thanks.
&lt;br&gt;&lt;br&gt;&amp;nbsp;mm/percpu.c | &amp;nbsp; 17 +++++++++++++++--
&lt;br&gt;&amp;nbsp;1 file changed, 15 insertions(+), 2 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/mm/percpu.c b/mm/percpu.c
&lt;br&gt;index d907971..30cd343 100644
&lt;br&gt;--- a/mm/percpu.c
&lt;br&gt;+++ b/mm/percpu.c
&lt;br&gt;@@ -372,7 +372,7 @@ static struct pcpu_chunk *pcpu_chunk_addr_search(void *addr)
&lt;br&gt;&amp;nbsp;static int pcpu_extend_area_map(struct pcpu_chunk *chunk, unsigned long *flags)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	int new_alloc;
&lt;br&gt;-	int *new;
&lt;br&gt;+	int *new, *old = NULL;
&lt;br&gt;&amp;nbsp;	size_t size;
&lt;br&gt;&lt;br&gt;&amp;nbsp;	/* has enough? */
&lt;br&gt;@@ -407,10 +407,23 @@ static int pcpu_extend_area_map(struct pcpu_chunk *chunk, unsigned long *flags)
&lt;br&gt;&amp;nbsp;	 * one of the first chunks and still using static map.
&lt;br&gt;&amp;nbsp;	 */
&lt;br&gt;&amp;nbsp;	if (chunk-&amp;gt;map_alloc &amp;gt;= PCPU_DFL_MAP_ALLOC)
&lt;br&gt;-		pcpu_mem_free(chunk-&amp;gt;map, size);
&lt;br&gt;+		old = chunk-&amp;gt;map;
&lt;br&gt;&lt;br&gt;&amp;nbsp;	chunk-&amp;gt;map_alloc = new_alloc;
&lt;br&gt;&amp;nbsp;	chunk-&amp;gt;map = new;
&lt;br&gt;+
&lt;br&gt;+	/*
&lt;br&gt;+	 * pcpu_mem_free() might end up calling vfree() which uses
&lt;br&gt;+	 * IRQ-unsafe lock and thus can't be called with pcpu_lock
&lt;br&gt;+	 * held. &amp;nbsp;Release and reacquire pcpu_lock if old map needs to
&lt;br&gt;+	 * be freed.
&lt;br&gt;+	 */
&lt;br&gt;+	if (old) {
&lt;br&gt;+		spin_unlock_irqrestore(&amp;pcpu_lock, *flags);
&lt;br&gt;+		pcpu_mem_free(old, size);
&lt;br&gt;+		spin_lock_irqsave(&amp;pcpu_lock, *flags);
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;	return 0;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261592&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-irq-lock-inversion-tp26215681p26261592.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261545</id>
	<title>Re: [PATCH 22/23] sysctl arm: Remove binary sysctl support</title>
	<published>2009-11-08T21:37:58Z</published>
	<updated>2009-11-08T21:37:58Z</updated>
	<author>
		<name>Eric W. Biederman</name>
	</author>
	<content type="html">Arjan van de Ven &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261545&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;arjan@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, 08 Nov 2009 19:27:07 -0800
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261545&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ebiederm@...&lt;/a&gt; (Eric W. Biederman) wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I just took a look and the use in linux threads that I don't warn
&lt;br&gt;&amp;gt;&amp;gt; about is used by glibc-2.8 but not by glibc-2.10. &amp;nbsp;glibc-2.11 has just
&lt;br&gt;&amp;gt;&amp;gt; been released. so by next year when the removal is scheduled we are
&lt;br&gt;&amp;gt;&amp;gt; looking at multiple releases of glibc that don't use sys_sysctl. &amp;nbsp;So I
&lt;br&gt;&amp;gt;&amp;gt; expect shortly I can warn about all uses of sys_sysctl without anyone
&lt;br&gt;&amp;gt;&amp;gt; seeing a warning.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; hmmmmm it's still an ABI break, and while you say &amp;quot;oh it's 3 glibcs
&lt;br&gt;&amp;gt; ago&amp;quot;.. there's the static linking case.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; to be honest, I don't think we can ever remove things that are used by
&lt;br&gt;&amp;gt; glibc during its startup....
&lt;/div&gt;&lt;br&gt;The glibc pthread code that uses sysctl has no problems if sys_sysctl
&lt;br&gt;is gone. &amp;nbsp;It both falls back to reading /proc/sys and it just controls
&lt;br&gt;an optimization and the code works with either result. &amp;nbsp;Been there,
&lt;br&gt;done that.
&lt;br&gt;&lt;br&gt;The only reason sys_sysctl remains is because there are a handful of
&lt;br&gt;other apps that needed an appropriate warning time, and we weren't
&lt;br&gt;doing anything that had a reasonable chance of notifying them.
&lt;br&gt;&lt;br&gt;I think it is worth getting us to the point where we can run with
&lt;br&gt;sysctl disabled. &amp;nbsp;At the same time, this patchset gets 99%+ of the
&lt;br&gt;benefit. &amp;nbsp;It isolates the entire binary interface into sysctl_binary.c
&lt;br&gt;so outside of that one file we have no maintenance overhead in
&lt;br&gt;maintaining the binary interface, and anyone who is trying to optimize
&lt;br&gt;for kernel size can trivially turn it off.
&lt;br&gt;&lt;br&gt;Which allows the kernel development to proceed as if the sysctl binary
&lt;br&gt;interface does not exist, as it has largely always done.
&lt;br&gt;&lt;br&gt;Eric
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261545&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-00-23--Removal-of-binary-sysctl-support-tp26253204p26261545.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261509</id>
	<title>[GIT]: Networking</title>
	<published>2009-11-08T21:32:08Z</published>
	<updated>2009-11-08T21:32:08Z</updated>
	<author>
		<name>David Miller-13</name>
	</author>
	<content type="html">&lt;br&gt;1) Wireless fixes, including a revert for something that added as
&lt;br&gt;&amp;nbsp; &amp;nbsp;many bugs as it fixed. &amp;nbsp;Via John Linville.
&lt;br&gt;&lt;br&gt;2) Rose and DecNET leaks device references. &amp;nbsp;CAN protocol doesn't
&lt;br&gt;&amp;nbsp; &amp;nbsp;lock device list accesses properly. &amp;nbsp;All from Eric Dumazet.
&lt;br&gt;&lt;br&gt;3) TX of ixgbe can hang with ioatdma loded, fix from Don Skidmore.
&lt;br&gt;&lt;br&gt;4) be2net fixes for flow control programming on resume, the timing
&lt;br&gt;&amp;nbsp; &amp;nbsp;of sending configuration commands to the chip, and a broken
&lt;br&gt;&amp;nbsp; &amp;nbsp;status shift macro define, from Ajit Khaparde and Sathya Perla.
&lt;br&gt;&lt;br&gt;5) A queue of ISDN fixes via Andrew Morton.
&lt;br&gt;&lt;br&gt;6) Two netfilter bug fixes (Patrick McHardy has been offline for a month
&lt;br&gt;&amp;nbsp; &amp;nbsp;or so these are the only two netfilter fixes that have gone in in
&lt;br&gt;&amp;nbsp; &amp;nbsp;that time), from Jan Engelhardt and Jozsef Kadlecsik.
&lt;br&gt;&lt;br&gt;7) When PMTU discovery is off, we handle DF packets improperly in
&lt;br&gt;&amp;nbsp; &amp;nbsp;IPIP tunnel driver. &amp;nbsp;Fix from Herbert Xu.
&lt;br&gt;&lt;br&gt;8) fsl_pq_mdio is missing MODULE_LICENSE() tag, from Sebastian Siewior.
&lt;br&gt;&lt;br&gt;9) virtio_net section mismatch fix from Uwe Kleine-König.
&lt;br&gt;&lt;br&gt;10) IXGBE uses wrong gso_max_size on 82599 chips when DCB is enabled.
&lt;br&gt;&amp;nbsp; &amp;nbsp; It also checks TXOFF status incorrectly when DCB is enabled. &amp;nbsp;Both	
&lt;br&gt;&amp;nbsp; &amp;nbsp; fixed from Yi Zou.
&lt;br&gt;&lt;br&gt;11) CAN protocol needs to provide -&amp;gt;get_size() operation otherwise
&lt;br&gt;&amp;nbsp; &amp;nbsp; netlink SKBs aren't sized for it correctly. &amp;nbsp;From Wolfgang
&lt;br&gt;&amp;nbsp; &amp;nbsp; Grandegger.
&lt;br&gt;&lt;br&gt;Please pull, thanks a lot.
&lt;br&gt;&lt;br&gt;The following changes since commit 7c9abfb884b8737f0afdc8a88bcea77526f0da87:
&lt;br&gt;&amp;nbsp; Linus Torvalds (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Merge branch 'kvm-updates/2.6.32' of git://git.kernel.org/pub/scm/virt/kvm/kvm
&lt;br&gt;&lt;br&gt;are available in the git repository at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6.git master
&lt;br&gt;&lt;br&gt;Ajit Khaparde (2):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; be2net: fix to set proper flow control on resume
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; be2net: Bug fix to send config commands to hardware after netdev_register
&lt;br&gt;&lt;br&gt;Dan Carpenter (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; misdn: Fix reversed 'if' in st_own_ctrl
&lt;br&gt;&lt;br&gt;David S. Miller (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Merge branch 'master' of git://git.kernel.org/.../linville/wireless-2.6
&lt;br&gt;&lt;br&gt;Don Skidmore (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ixgbe: fix traffic hangs on Tx with ioatdma loaded
&lt;br&gt;&lt;br&gt;Eric Dumazet (3):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; rose: device refcount leak
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; decnet: netdevice refcount leak
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; can: should not use __dev_get_by_index() without locks
&lt;br&gt;&lt;br&gt;Finn Thain (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; macsonic: fix crash on PowerBook 520
&lt;br&gt;&lt;br&gt;Herbert Xu (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ipip: Fix handling of DF packets when pmtudisc is OFF
&lt;br&gt;&lt;br&gt;Jan Engelhardt (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; netfilter: xt_connlimit: fix regression caused by zero family value
&lt;br&gt;&lt;br&gt;Jiri Slaby (4):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; isdn: hisax: Fix lock imbalance.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; isdn: eicon: Use offsetof
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; isdn: eicon: Return on error
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; NET: cassini, fix lock imbalance
&lt;br&gt;&lt;br&gt;Joe Perches (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; MAINTAINERS: Add git net-next-2.6
&lt;br&gt;&lt;br&gt;John W. Linville (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Revert &amp;quot;ipw2200: fix oops on missing firmware&amp;quot;
&lt;br&gt;&lt;br&gt;Jozsef Kadlecsik (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; netfilter: nf_nat: fix NAT issue in 2.6.30.4+
&lt;br&gt;&lt;br&gt;Larry Finger (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; rtl8187: Fix kernel oops when device is removed when LEDS enabled
&lt;br&gt;&lt;br&gt;Martin Michlmayr (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; hisax: remove bad udelay call to fix build error on ARM
&lt;br&gt;&lt;br&gt;Roel Kluin (2):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; isdn: hisax: Fix test in waitforxfw
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; isdn: hfc_usb: Fix read buffer overflow
&lt;br&gt;&lt;br&gt;Ron Mercer (2):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; qlge: Fix early exit from mbox cmd complete wait.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; qlge: Set PCIe reset type for EEH to fundamental.
&lt;br&gt;&lt;br&gt;Sathya Perla (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; be2net: Fix CQE_STATUS_EXTD_SHIFT define
&lt;br&gt;&lt;br&gt;Sean Cross (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; rt2x00: Don't queue ieee80211 work after USB removal
&lt;br&gt;&lt;br&gt;Sebastian Haas (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ems_usb: Fix byte order issues on big endian machines
&lt;br&gt;&lt;br&gt;Sebastian Siewior (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; net/fsl_pq_mdio: add module license GPL
&lt;br&gt;&lt;br&gt;Stephen Hemminger (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; bridge: prevent bridging wrong device
&lt;br&gt;&lt;br&gt;Tonyliu (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; DaVinci EMAC: correct param for ISR
&lt;br&gt;&lt;br&gt;Torgny Johansson (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cdc_ether: additional Ericsson MBM PID's to the whitelist
&lt;br&gt;&lt;br&gt;Uwe Kleine-König (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; virtio_net: rename driver struct to please modpost
&lt;br&gt;&lt;br&gt;Wolfgang Grandegger (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; can: fix WARN_ON dump in net/core/rtnetlink.c:rtmsg_ifinfo()
&lt;br&gt;&lt;br&gt;Yi Zou (2):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ixgbe: Fix gso_max_size for 82599 when DCB is enabled
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ixgbe: Fix checking TFCS register for TXOFF status when DCB is enabled
&lt;br&gt;&lt;br&gt;&amp;nbsp;MAINTAINERS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;nbsp;drivers/isdn/hardware/eicon/maintidi.c &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;drivers/isdn/hardware/eicon/message.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 18 ++--
&lt;br&gt;&amp;nbsp;drivers/isdn/hisax/amd7930_fn.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;nbsp;drivers/isdn/hisax/diva.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;drivers/isdn/hisax/elsa_ser.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 22 +++---
&lt;br&gt;&amp;nbsp;drivers/isdn/hisax/hfc_usb.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;4 +-
&lt;br&gt;&amp;nbsp;drivers/isdn/hisax/hscx_irq.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;drivers/isdn/hisax/icc.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;nbsp;drivers/isdn/mISDN/stack.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;drivers/net/benet/be.h &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +
&lt;br&gt;&amp;nbsp;drivers/net/benet/be_cmds.h &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;drivers/net/benet/be_ethtool.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;8 +-
&lt;br&gt;&amp;nbsp;drivers/net/benet/be_main.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 28 ++++---
&lt;br&gt;&amp;nbsp;drivers/net/can/dev.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 17 ++++
&lt;br&gt;&amp;nbsp;drivers/net/can/usb/ems_usb.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;drivers/net/cassini.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;drivers/net/davinci_emac.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;drivers/net/fsl_pq_mdio.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;nbsp;drivers/net/ixgbe/ixgbe_main.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; 84 +++++++++++++++++--
&lt;br&gt;&amp;nbsp;drivers/net/macsonic.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp;117 +++++++++++++-------------
&lt;br&gt;&amp;nbsp;drivers/net/qlge/qlge_main.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +
&lt;br&gt;&amp;nbsp;drivers/net/qlge/qlge_mpi.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;drivers/net/usb/Kconfig &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;drivers/net/usb/cdc_ether.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 42 +++++++++-
&lt;br&gt;&amp;nbsp;drivers/net/virtio_net.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;6 +-
&lt;br&gt;&amp;nbsp;drivers/net/wireless/ipw2x00/ipw2100.c &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;drivers/net/wireless/ipw2x00/ipw2200.c &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 -
&lt;br&gt;&amp;nbsp;drivers/net/wireless/ipw2x00/libipw.h &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;1 -
&lt;br&gt;&amp;nbsp;drivers/net/wireless/ipw2x00/libipw_module.c | &amp;nbsp; 14 +--
&lt;br&gt;&amp;nbsp;drivers/net/wireless/rt2x00/rt2x00dev.c &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;4 +-
&lt;br&gt;&amp;nbsp;drivers/net/wireless/rt2x00/rt2x00link.c &amp;nbsp; &amp;nbsp; | &amp;nbsp; 11 ++-
&lt;br&gt;&amp;nbsp;drivers/net/wireless/rt2x00/rt2x00usb.c &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;9 ++-
&lt;br&gt;&amp;nbsp;drivers/net/wireless/rtl818x/rtl8187_leds.c &amp;nbsp;| &amp;nbsp; &amp;nbsp;4 +-
&lt;br&gt;&amp;nbsp;include/net/netfilter/nf_conntrack.h &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;8 +-
&lt;br&gt;&amp;nbsp;include/net/netfilter/nf_nat_helper.h &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;4 +
&lt;br&gt;&amp;nbsp;net/bridge/br_if.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;6 +-
&lt;br&gt;&amp;nbsp;net/can/bcm.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 19 +++--
&lt;br&gt;&amp;nbsp;net/decnet/sysctl_net_decnet.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;7 +-
&lt;br&gt;&amp;nbsp;net/ipv4/ipip.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 32 ++++----
&lt;br&gt;&amp;nbsp;net/ipv4/netfilter/nf_nat_core.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;3 +
&lt;br&gt;&amp;nbsp;net/ipv4/netfilter/nf_nat_helper.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; 34 +++++---
&lt;br&gt;&amp;nbsp;net/netfilter/nf_conntrack_core.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;8 ++
&lt;br&gt;&amp;nbsp;net/netfilter/nf_conntrack_proto_tcp.c &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; 64 ++++++--------
&lt;br&gt;&amp;nbsp;net/netfilter/xt_connlimit.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; 10 +--
&lt;br&gt;&amp;nbsp;net/rose/rose_route.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 16 ++--
&lt;br&gt;&amp;nbsp;46 files changed, 407 insertions(+), 237 deletions(-)
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261509&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-GIT-%3A-Networking-tp26261509p26261509.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261507</id>
	<title>[GIT]: Sparc</title>
	<published>2009-11-08T21:31:38Z</published>
	<updated>2009-11-08T21:31:38Z</updated>
	<author>
		<name>David Miller-13</name>
	</author>
	<content type="html">&lt;br&gt;Fix a locking bug pointed out by Thomas Gleixner and clarify some
&lt;br&gt;aspects of our sparc64 barriers.
&lt;br&gt;&lt;br&gt;Please pull, thanks a lot.
&lt;br&gt;&lt;br&gt;The following changes since commit 2e2ec952350f25242f2e0539db16b1e46f9eb01b:
&lt;br&gt;&amp;nbsp; Linus Torvalds (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Merge branch 'bugfix' of git://git.kernel.org/.../jeremy/xen
&lt;br&gt;&lt;br&gt;are available in the git repository at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6.git master
&lt;br&gt;&lt;br&gt;David S. Miller (2):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; sparc64: Add a comment about why we only use certain memory barriers these days.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; sparc: Move of_set_property_mutex acquisition outside of devtree_lock grab.
&lt;br&gt;&lt;br&gt;Roel Kluin (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; sparc64: replace parentheses in pmul()
&lt;br&gt;&lt;br&gt;&amp;nbsp;arch/sparc/include/asm/system_64.h | &amp;nbsp; &amp;nbsp;4 ++++
&lt;br&gt;&amp;nbsp;arch/sparc/kernel/prom_common.c &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;4 ++--
&lt;br&gt;&amp;nbsp;arch/sparc/kernel/visemul.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;3 files changed, 7 insertions(+), 3 deletions(-)
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261507&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-GIT-%3A-Sparc-tp26261507p26261507.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261494</id>
	<title>[GIT]: IDE</title>
	<published>2009-11-08T21:30:55Z</published>
	<updated>2009-11-08T21:30:55Z</updated>
	<author>
		<name>David Miller-13</name>
	</author>
	<content type="html">&lt;br&gt;The revert we thought we didn't need, we really do need still, even
&lt;br&gt;with Bart Z.'s fix.
&lt;br&gt;&lt;br&gt;The issue is that we are doing these PIO setting calls before we did
&lt;br&gt;the device probe and therefore we don't yet know the media type.
&lt;br&gt;&lt;br&gt;Yet the -&amp;gt;set_pio_mode() of some drivers key off of the media type to
&lt;br&gt;determine whether to turn prefetching etc. on so it can't possibly
&lt;br&gt;work properly.
&lt;br&gt;&lt;br&gt;Please pull, thanks!
&lt;br&gt;&lt;br&gt;The following changes since commit 7c9abfb884b8737f0afdc8a88bcea77526f0da87:
&lt;br&gt;&amp;nbsp; Linus Torvalds (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Merge branch 'kvm-updates/2.6.32' of git://git.kernel.org/pub/scm/virt/kvm/kvm
&lt;br&gt;&lt;br&gt;are available in the git repository at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; master.kernel.org:/pub/scm/linux/kernel/git/davem/ide-2.6.git master
&lt;br&gt;&lt;br&gt;David S. Miller (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Revert &amp;quot;ide: try to use PIO Mode 0 during probe if possible&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp;drivers/ide/ide-probe.c | &amp;nbsp; &amp;nbsp;9 ---------
&lt;br&gt;&amp;nbsp;1 files changed, 0 insertions(+), 9 deletions(-)
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261494&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-GIT-%3A-IDE-tp26261494p26261494.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261412</id>
	<title>Re: [patch 09/16] powerpc: Replace old style lock initializer</title>
	<published>2009-11-08T21:15:02Z</published>
	<updated>2009-11-08T21:15:02Z</updated>
	<author>
		<name>Stephen Rothwell</name>
	</author>
	<content type="html">Hi Thomas,
&lt;br&gt;&lt;br&gt;On Sat, 07 Nov 2009 09:55:44 +1100 Benjamin Herrenschmidt &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261412&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;benh@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Fri, 2009-11-06 at 22:41 +0000, Thomas Gleixner wrote:
&lt;br&gt;&amp;gt; &amp;gt; plain text document attachment
&lt;br&gt;&amp;gt; &amp;gt; (power-replace-old-style-lock-init.patch)
&lt;br&gt;&amp;gt; &amp;gt; SPIN_LOCK_UNLOCKED is deprecated. Init the lock array at runtime
&lt;br&gt;&amp;gt; &amp;gt; instead.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Signed-off-by: Thomas Gleixner &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261412&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tglx@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Cc: Benjamin Herrenschmidt &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261412&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;benh@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261412&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linuxppc-dev@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; ---
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Looks reasonable. But iseries can be a bitch, so we do need to test it
&lt;br&gt;&amp;gt; on monday.
&lt;/div&gt;&lt;/div&gt;Tested-by: Stephen Rothwell &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261412&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sfr@...&lt;/a&gt;&amp;gt;
&lt;br&gt;-- 
&lt;br&gt;Cheers,
&lt;br&gt;Stephen Rothwell &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261412&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sfr@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.canb.auug.org.au/~sfr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.canb.auug.org.au/~sfr/&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Linuxppc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261412&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Linuxppc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.ozlabs.org/listinfo/linuxppc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.ozlabs.org/listinfo/linuxppc-dev&lt;/a&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (205 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26261412/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-patch-00-16--Remove-old-style-lock-initializers-tp26240003p26261412.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261388</id>
	<title>Re: [RFC] Mount point suggestions for cgroup</title>
	<published>2009-11-08T21:05:18Z</published>
	<updated>2009-11-08T21:05:18Z</updated>
	<author>
		<name>Balbir Singh-3</name>
	</author>
	<content type="html">* Pavel Machek &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261388&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pavel@...&lt;/a&gt;&amp;gt; [2009-11-08 18:05:12]:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed 2009-11-04 12:00:05, Balbir Singh wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi, All,
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; We've been having a discussion as to what would be the right place to
&lt;br&gt;&amp;gt; &amp;gt; mount the cgroup filesystem. Jan has been proactively looking into
&lt;br&gt;&amp;gt; &amp;gt; this. The FHS has no recommendation since cgroup filesystem came in
&lt;br&gt;&amp;gt; &amp;gt; much later.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; The options are
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 1. /dev/cgroup
&lt;br&gt;&amp;gt; &amp;gt; 2. /cgroup
&lt;br&gt;&amp;gt; &amp;gt; 3. Some place under /sys
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Underr /sys, please. Actually I wonder that it may even belong /proc
&lt;br&gt;&amp;gt; ... It *is* process related, right?
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;We already have /proc/cgroups for showing currently supported
&lt;br&gt;subsystems and /proc/pid/cgroups to show which subsystems/tasks
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Balbir
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261388&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-RFC--Mount-point-suggestions-for-cgroup-tp26191650p26261388.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261330</id>
	<title>Re: linux-next: manual merge of the net tree with the net-current tree</title>
	<published>2009-11-08T20:59:11Z</published>
	<updated>2009-11-08T20:59:11Z</updated>
	<author>
		<name>David Miller-13</name>
	</author>
	<content type="html">From: Stephen Rothwell &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261330&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sfr@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Mon, 9 Nov 2009 13:03:23 +1100
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Today's linux-next merge of the net tree got a conflict in
&lt;br&gt;&amp;gt; drivers/net/can/usb/ems_usb.c between commit
&lt;br&gt;&amp;gt; 2b2072e902848a63168570f500a5726744b3873a (&amp;quot;ems_usb: Fix byte order issues
&lt;br&gt;&amp;gt; on big endian machines&amp;quot;) from the net-current tree and commit
&lt;br&gt;&amp;gt; 7b6856a0296a8f187bb88ba31fa83a08abba7966 (&amp;quot;can: provide library functions
&lt;br&gt;&amp;gt; for skb allocation&amp;quot;) from the net tree.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Just context changes. &amp;nbsp;I fixed it up (see below) and can carry the fix
&lt;br&gt;&amp;gt; for a while.
&lt;/div&gt;&lt;br&gt;I'll do a merge and resolve this, thanks Stephen!
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261330&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linux-next%3A-manual-merge-of-the-net-tree-with-the-net-current-tree-tp26260279p26261330.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261319</id>
	<title>Re: [PATCH 22/23] sysctl arm: Remove binary sysctl support</title>
	<published>2009-11-08T20:57:25Z</published>
	<updated>2009-11-08T20:57:25Z</updated>
	<author>
		<name>Arjan van de Ven-4</name>
	</author>
	<content type="html">On Sun, 08 Nov 2009 19:27:07 -0800
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261319&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ebiederm@...&lt;/a&gt; (Eric W. Biederman) wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I just took a look and the use in linux threads that I don't warn
&lt;br&gt;&amp;gt; about is used by glibc-2.8 but not by glibc-2.10. &amp;nbsp;glibc-2.11 has just
&lt;br&gt;&amp;gt; been released. so by next year when the removal is scheduled we are
&lt;br&gt;&amp;gt; looking at multiple releases of glibc that don't use sys_sysctl. &amp;nbsp;So I
&lt;br&gt;&amp;gt; expect shortly I can warn about all uses of sys_sysctl without anyone
&lt;br&gt;&amp;gt; seeing a warning.
&lt;br&gt;&lt;br&gt;hmmmmm it's still an ABI break, and while you say &amp;quot;oh it's 3 glibcs
&lt;br&gt;ago&amp;quot;.. there's the static linking case.
&lt;br&gt;&lt;br&gt;to be honest, I don't think we can ever remove things that are used by
&lt;br&gt;glibc during its startup....
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Arjan van de Ven 	Intel Open Source Technology Centre
&lt;br&gt;For development, discussion and tips for power savings, 
&lt;br&gt;visit &lt;a href=&quot;http://www.lesswatts.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lesswatts.org&lt;/a&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261319&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-00-23--Removal-of-binary-sysctl-support-tp26253204p26261319.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261321</id>
	<title>Re: [PATCH 2/2] net/compat_ioctl: support SIOCWANDEV</title>
	<published>2009-11-08T20:57:11Z</published>
	<updated>2009-11-08T20:57:11Z</updated>
	<author>
		<name>David Miller-13</name>
	</author>
	<content type="html">From: Arnd Bergmann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261321&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;arnd@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Sun, 8 Nov 2009 22:39:24 +0100
&lt;br&gt;&lt;br&gt;&amp;gt; This adds compat_ioctl support for SIOCWANDEV, which has
&lt;br&gt;&amp;gt; always been missing.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The definition of struct compat_ifreq was missing an
&lt;br&gt;&amp;gt; ifru_settings fields that is needed to support SIOCWANDEV,
&lt;br&gt;&amp;gt; so add that and clean up the whitespace damage in the
&lt;br&gt;&amp;gt; struct definition.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Arnd Bergmann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261321&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;arnd@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Applied, thanks.
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261321&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-RFC%2C-PATCH-0-7--net%2C-compat_ioctl%3A-move-handlers-to-net-socket.c-tp26236226p26261321.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261320</id>
	<title>Re: [PATCH 1/2] net, compat_ioctl: fix SIOCGMII ioctls</title>
	<published>2009-11-08T20:56:30Z</published>
	<updated>2009-11-08T20:56:30Z</updated>
	<author>
		<name>David Miller-13</name>
	</author>
	<content type="html">From: Arnd Bergmann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261320&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;arnd@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Sun, 8 Nov 2009 22:34:13 +0100
&lt;br&gt;&lt;br&gt;&amp;gt; SIOCGMIIPHY and SIOCGMIIREG return data through ifreq,
&lt;br&gt;&amp;gt; so it needs to be converted on the way out as well.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; SIOCGIFPFLAGS is unused, but has the same problem in theory.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Arnd Bergmann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261320&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;arnd@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Applied.
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261320&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-RFC%2C-PATCH-0-7--net%2C-compat_ioctl%3A-move-handlers-to-net-socket.c-tp26236226p26261320.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261312</id>
	<title>Re: [RFC, PATCH 0/7] net, compat_ioctl: move handlers to net/socket.c</title>
	<published>2009-11-08T20:55:46Z</published>
	<updated>2009-11-08T20:55:46Z</updated>
	<author>
		<name>David Miller-13</name>
	</author>
	<content type="html">From: Arnd Bergmann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261312&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;arnd@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Sun, 8 Nov 2009 22:31:47 +0100
&lt;br&gt;&lt;br&gt;&amp;gt; Any opinion on how to proceed with the ATM stuff? From my
&lt;br&gt;&amp;gt; point of view, I'm fine with having moved it out of fs/compat_ioctl.c,
&lt;br&gt;&amp;gt; but it's still a bit silly to have two half-complete implementations.
&lt;br&gt;&lt;br&gt;I haven't looked at that stuff yes, you can be sure it's in
&lt;br&gt;my queue :-)
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261312&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-RFC%2C-PATCH-0-7--net%2C-compat_ioctl%3A-move-handlers-to-net-socket.c-tp26236226p26261312.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261241</id>
	<title>linux-next: manual merge of the trivial tree with the  tree</title>
	<published>2009-11-08T20:43:05Z</published>
	<updated>2009-11-08T20:43:05Z</updated>
	<author>
		<name>Stephen Rothwell</name>
	</author>
	<content type="html">Hi Jiri,
&lt;br&gt;&lt;br&gt;Today's linux-next merge of the trivial tree got a conflict in
&lt;br&gt;drivers/net/wireless/rt2x00/rt2800usb.c between commit
&lt;br&gt;fcf5154118849cca3cdf424e83f863225d8173e7 (&amp;quot;rt2800: add rt2800lib (part
&lt;br&gt;three)&amp;quot;) from the wireless tree and commit
&lt;br&gt;305409a25f7df3c359ba67cbeb62763eeb7156e9 (&amp;quot;tree-wide: fix some typos and
&lt;br&gt;punctuation in comments&amp;quot;) from the trivial tree.
&lt;br&gt;&lt;br&gt;The misspelling is moved to a new file
&lt;br&gt;(drivers/net/wireless/rt2x00/rt2800lib.c), but I didn't bother fixing it up.
&lt;br&gt;-- 
&lt;br&gt;Cheers,
&lt;br&gt;Stephen Rothwell &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261241&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sfr@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.canb.auug.org.au/~sfr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.canb.auug.org.au/~sfr/&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (205 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26261241/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linux-next%3A-manual-merge-of-the-trivial-tree-with-the--tree-tp26261241p26261241.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261233</id>
	<title>Re: linux-next: net tree build failure</title>
	<published>2009-11-08T20:41:16Z</published>
	<updated>2009-11-08T20:41:16Z</updated>
	<author>
		<name>David Miller-13</name>
	</author>
	<content type="html">From: Stephen Rothwell &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261233&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sfr@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Mon, 9 Nov 2009 13:21:51 +1100
&lt;br&gt;&lt;br&gt;&amp;gt; Subject: [PATCH] net/appletalk: using compat_ptr needs inclusion of linux/compat.h
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Stephen Rothwell &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261233&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sfr@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Applied, thanks Stephen.
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261233&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linux-next%3A-net-tree-build-failure-tp26260379p26261233.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261168</id>
	<title>Re: [PATCH -v5 08/11] tracing: not trace mips_timecounter_init() in MIPS</title>
	<published>2009-11-08T20:31:12Z</published>
	<updated>2009-11-08T20:31:12Z</updated>
	<author>
		<name>Wu Zhangjin</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;On Mon, 2009-11-02 at 22:43 +0100, Frederic Weisbecker wrote:
&lt;br&gt;[...]
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; But I would rather see a __mips_notrace on these two core functions.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; What about this: __arch_notrace? If the arch need this, define it,
&lt;br&gt;&amp;gt; &amp;gt; otherwise, ignore it! if only graph tracer need it, define it in &amp;quot;#ifdef
&lt;br&gt;&amp;gt; &amp;gt; CONFIG_FUNCTION_GRAPH_TRACER ... #endif&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The problem is that archs may want to disable tracing on different
&lt;br&gt;&amp;gt; places.
&lt;br&gt;&amp;gt; For example mips wants to disable tracing in timecounter_read_delta,
&lt;br&gt;&amp;gt; but another arch may want to disable tracing somewhere else.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We'll then have several unrelated __arch_notrace. One that is relevant
&lt;br&gt;&amp;gt; for mips, another that is relevant for arch_foo, but all of them will
&lt;br&gt;&amp;gt; apply for all arch that have defined a __arch_notrace.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It's true that __mips_notrace is not very elegant as it looks like
&lt;br&gt;&amp;gt; a specific arch annotation intruder.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But at least that gives us a per arch filter granularity.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If only static ftrace could disappear, we could keep only dynamic
&lt;br&gt;&amp;gt; ftrace and we would then be able to filter dynamically.
&lt;br&gt;&amp;gt; But I'm not sure it's a good idea for archs integration.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;I think if we use something like __mips_notrace here, we may get lots of
&lt;br&gt;__ARCH_notraces here too, 'Cause some other platforms(at least, as I
&lt;br&gt;know, Microblaze will do it too) may also need to add one here, it will
&lt;br&gt;become:
&lt;br&gt;&lt;br&gt;__mips_notrace __ARCH1_notrace __ARCH2_notrace .... foo() {...}
&lt;br&gt;&lt;br&gt;A little ugly ;)
&lt;br&gt;&lt;br&gt;and If a new platform need it's __ARCH_notrace, they need to touch the
&lt;br&gt;common part of ftrace, more side-effects!
&lt;br&gt;&lt;br&gt;but with __arch_notrace, the archs only need to touch it's own part,
&lt;br&gt;Although there is a side-effect as you mentioned above ;)
&lt;br&gt;&lt;br&gt;So, what should we do?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Wu Zhangjin
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261168&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--v5-00-11--ftrace-for-MIPS-tp26048047p26261168.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261267</id>
	<title>[PATCH v3] x86: under bios control, restore AP's APIC_LVTTHMR to the BSP value</title>
	<published>2009-11-08T20:21:34Z</published>
	<updated>2009-11-08T20:21:34Z</updated>
	<author>
		<name>tip-bot for Yong Wang</name>
	</author>
	<content type="html">Changes since v2:
&lt;br&gt;Incorporate Ingo's comments to get BSP's thermal init value in a
&lt;br&gt;'boot-CPU-only' function.
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&lt;br&gt;On platforms where bios handles the thermal monitor interrupt,
&lt;br&gt;APIC_LVTTHMR on each logical CPU is programmed to generate a SMI and OS
&lt;br&gt;can't touch it.
&lt;br&gt;&lt;br&gt;Unfortunately AP bringup sequence using INIT-SIPI-SIPI clear all
&lt;br&gt;the LVT entries except the mask bit. Essentially this results in
&lt;br&gt;all LVT entries including the thermal monitoring interrupt set to masked
&lt;br&gt;(clearing the bios programmed value for APIC_LVTTHMR).
&lt;br&gt;&lt;br&gt;And this leads to kernel take over the thermal monitoring interrupt
&lt;br&gt;on AP's but not on BSP (leaving the bios programmed value only on BSP).
&lt;br&gt;&lt;br&gt;As a result of this, we have seen system hangs when the thermal
&lt;br&gt;monitoring interrupt is generated.
&lt;br&gt;&lt;br&gt;Fix this by reading the initial value of thermal LVT entry on BSP
&lt;br&gt;and if bios has taken over the control, then program the same value
&lt;br&gt;on all AP's and leave the thermal monitoring interrupt control
&lt;br&gt;on all the logical cpu's to the bios.
&lt;br&gt;&lt;br&gt;Signed-off-by: Yong Wang &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261267&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yong.y.wang@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261267&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stable@...&lt;/a&gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;arch/x86/include/asm/apic.h &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;6 ++++++
&lt;br&gt;&amp;nbsp;arch/x86/kernel/cpu/mcheck/therm_throt.c | &amp;nbsp; 27 ++++++++++++++++++++++++++-
&lt;br&gt;&amp;nbsp;arch/x86/kernel/setup.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;nbsp;3 files changed, 33 insertions(+), 1 deletion(-)
&lt;br&gt;&lt;br&gt;diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
&lt;br&gt;index 474d80d..97ea588 100644
&lt;br&gt;--- a/arch/x86/include/asm/apic.h
&lt;br&gt;+++ b/arch/x86/include/asm/apic.h
&lt;br&gt;@@ -594,4 +594,10 @@ static inline physid_mask_t default_apicid_to_cpu_present(int phys_apicid)
&lt;br&gt;&amp;nbsp;extern u8 cpu_2_logical_apicid[NR_CPUS];
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+#ifdef CONFIG_X86_THERMAL_VECTOR
&lt;br&gt;+extern void get_bsp_lvtthmr_init(void);
&lt;br&gt;+#else
&lt;br&gt;+static inline void get_bsp_lvtthmr_init(void) { }
&lt;br&gt;+#endif
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;#endif /* _ASM_X86_APIC_H */
&lt;br&gt;diff --git a/arch/x86/kernel/cpu/mcheck/therm_throt.c b/arch/x86/kernel/cpu/mcheck/therm_throt.c
&lt;br&gt;index b3a1dba..55c5995 100644
&lt;br&gt;--- a/arch/x86/kernel/cpu/mcheck/therm_throt.c
&lt;br&gt;+++ b/arch/x86/kernel/cpu/mcheck/therm_throt.c
&lt;br&gt;@@ -49,6 +49,8 @@ static DEFINE_PER_CPU(struct thermal_state, thermal_state);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static atomic_t therm_throt_en	= ATOMIC_INIT(0);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+static u32 lvtthmr_init __read_mostly;
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;#ifdef CONFIG_SYSFS
&lt;br&gt;&amp;nbsp;#define define_therm_throt_sysdev_one_ro(_name)				\
&lt;br&gt;&amp;nbsp;	static SYSDEV_ATTR(_name, 0444, therm_throt_sysdev_show_##_name, NULL)
&lt;br&gt;@@ -254,6 +256,16 @@ asmlinkage void smp_thermal_interrupt(struct pt_regs *regs)
&lt;br&gt;&amp;nbsp;	ack_APIC_irq();
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+void get_bsp_lvtthmr_init(void)
&lt;br&gt;+{
&lt;br&gt;+	/*
&lt;br&gt;+	 * This function is only called on boot CPU. Save the init thermal
&lt;br&gt;+	 * LVT value on BSP and use that value to restore APs' thermal LVT
&lt;br&gt;+	 * entry BIOS programmed later
&lt;br&gt;+	 */
&lt;br&gt;+	lvtthmr_init = apic_read(APIC_LVTTHMR);
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;void intel_init_thermal(struct cpuinfo_x86 *c)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	unsigned int cpu = smp_processor_id();
&lt;br&gt;@@ -270,7 +282,20 @@ void intel_init_thermal(struct cpuinfo_x86 *c)
&lt;br&gt;&amp;nbsp;	 * since it might be delivered via SMI already:
&lt;br&gt;&amp;nbsp;	 */
&lt;br&gt;&amp;nbsp;	rdmsr(MSR_IA32_MISC_ENABLE, l, h);
&lt;br&gt;-	h = apic_read(APIC_LVTTHMR);
&lt;br&gt;+
&lt;br&gt;+	/*
&lt;br&gt;+	 * The initial value of thermal LVT entries on all APs always reads
&lt;br&gt;+	 * 0x10000 because APs are woken up by BSP issuing INIT-SIPI-SIPI
&lt;br&gt;+	 * sequence to them and LVT registers are reset to 0s except for
&lt;br&gt;+	 * the mask bits which are set to 1s when APs receive INIT IPI.
&lt;br&gt;+	 * Always restore the value that BIOS has programmed on AP based on
&lt;br&gt;+	 * BSP's info we saved since BIOS is always setting the same value
&lt;br&gt;+	 * for all threads/cores
&lt;br&gt;+	 */
&lt;br&gt;+	apic_write(APIC_LVTTHMR, lvtthmr_init);
&lt;br&gt;+
&lt;br&gt;+	h = lvtthmr_init;
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;	if ((l &amp; MSR_IA32_MISC_ENABLE_TM1) &amp;&amp; (h &amp; APIC_DM_SMI)) {
&lt;br&gt;&amp;nbsp;		printk(KERN_DEBUG
&lt;br&gt;&amp;nbsp;		 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;CPU%d: Thermal monitoring handled by SMI\n&amp;quot;, cpu);
&lt;br&gt;diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
&lt;br&gt;index e09f0e2..2323771 100644
&lt;br&gt;--- a/arch/x86/kernel/setup.c
&lt;br&gt;+++ b/arch/x86/kernel/setup.c
&lt;br&gt;@@ -1002,6 +1002,7 @@ void __init setup_arch(char **cmdline_p)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	init_apic_mappings();
&lt;br&gt;&amp;nbsp;	ioapic_init_mappings();
&lt;br&gt;+	get_bsp_lvtthmr_init();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	/* need to wait for io_apic is mapped */
&lt;br&gt;&amp;nbsp;	probe_nr_irqs_gsi();
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261267&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-v3--x86%3A-under-bios-control%2C-restore-AP%27s-APIC_LVTTHMR-to-the-BSP-value-tp26261267p26261267.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261081</id>
	<title>Re: [PATCH -v6 08/13] tracing: add IRQENTRY_EXIT section for MIPS</title>
	<published>2009-11-08T20:16:36Z</published>
	<updated>2009-11-08T20:16:36Z</updated>
	<author>
		<name>Wu Zhangjin</name>
	</author>
	<content type="html">Hi Ralf,
&lt;br&gt;&lt;br&gt;This one is also MIPS relative, also need your feedback ;)
&lt;br&gt;&lt;br&gt;Thanks &amp; Regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Wu Zhangjin
&lt;br&gt;&lt;br&gt;On Mon, 2009-10-26 at 23:13 +0800, Wu Zhangjin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; This patch add a new section for MIPS to record the block of the hardirq
&lt;br&gt;&amp;gt; handling for function graph tracer(print_graph_irq) via adding the
&lt;br&gt;&amp;gt; __irq_entry annotation to the the entrypoints of the hardirqs(the block
&lt;br&gt;&amp;gt; with irq_enter()...irq_exit()).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks goes to Steven &amp; Frederic Weisbecker for their feedbacks.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Wu Zhangjin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261081&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wuzhangjin@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; &amp;nbsp;arch/mips/include/asm/irq.h &amp;nbsp; &amp;nbsp;| &amp;nbsp; 29 ++---------------------------
&lt;br&gt;&amp;gt; &amp;nbsp;arch/mips/kernel/irq.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; 34 ++++++++++++++++++++++++++++++++++
&lt;br&gt;&amp;gt; &amp;nbsp;arch/mips/kernel/smp.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;3 ++-
&lt;br&gt;&amp;gt; &amp;nbsp;arch/mips/kernel/smtc.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 21 ++++++++++++++-------
&lt;br&gt;&amp;gt; &amp;nbsp;arch/mips/kernel/vmlinux.lds.S | &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;gt; &amp;nbsp;arch/mips/sgi-ip22/ip22-int.c &amp;nbsp;| &amp;nbsp; &amp;nbsp;3 ++-
&lt;br&gt;&amp;gt; &amp;nbsp;arch/mips/sgi-ip22/ip22-time.c | &amp;nbsp; &amp;nbsp;3 ++-
&lt;br&gt;&amp;gt; &amp;nbsp;7 files changed, 57 insertions(+), 37 deletions(-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; diff --git a/arch/mips/include/asm/irq.h b/arch/mips/include/asm/irq.h
&lt;br&gt;&amp;gt; index 09b08d0..6cdd8c2 100644
&lt;br&gt;&amp;gt; --- a/arch/mips/include/asm/irq.h
&lt;br&gt;&amp;gt; +++ b/arch/mips/include/asm/irq.h
&lt;br&gt;&amp;gt; @@ -113,36 +113,11 @@ do {									\
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#endif
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -/*
&lt;br&gt;&amp;gt; - * do_IRQ handles all normal device IRQ's (the special
&lt;br&gt;&amp;gt; - * SMP cross-CPU interrupts have their own specific
&lt;br&gt;&amp;gt; - * handlers).
&lt;br&gt;&amp;gt; - *
&lt;br&gt;&amp;gt; - * Ideally there should be away to get this into kernel/irq/handle.c to
&lt;br&gt;&amp;gt; - * avoid the overhead of a call for just a tiny function ...
&lt;br&gt;&amp;gt; - */
&lt;br&gt;&amp;gt; -#define do_IRQ(irq)							\
&lt;br&gt;&amp;gt; -do {									\
&lt;br&gt;&amp;gt; -	irq_enter();							\
&lt;br&gt;&amp;gt; -	__DO_IRQ_SMTC_HOOK(irq);					\
&lt;br&gt;&amp;gt; -	generic_handle_irq(irq);					\
&lt;br&gt;&amp;gt; -	irq_exit();							\
&lt;br&gt;&amp;gt; -} while (0)
&lt;br&gt;&amp;gt; +extern unsigned int do_IRQ(unsigned int irq);
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#ifdef CONFIG_MIPS_MT_SMTC_IRQAFF
&lt;br&gt;&amp;gt; -/*
&lt;br&gt;&amp;gt; - * To avoid inefficient and in some cases pathological re-checking of
&lt;br&gt;&amp;gt; - * IRQ affinity, we have this variant that skips the affinity check.
&lt;br&gt;&amp;gt; - */
&lt;br&gt;&amp;gt; -
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -#define do_IRQ_no_affinity(irq)						\
&lt;br&gt;&amp;gt; -do {									\
&lt;br&gt;&amp;gt; -	irq_enter();							\
&lt;br&gt;&amp;gt; -	__NO_AFFINITY_IRQ_SMTC_HOOK(irq);				\
&lt;br&gt;&amp;gt; -	generic_handle_irq(irq);					\
&lt;br&gt;&amp;gt; -	irq_exit();							\
&lt;br&gt;&amp;gt; -} while (0)
&lt;br&gt;&amp;gt; +extern unsigned int do_IRQ_no_affinity(unsigned int irq);
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#endif /* CONFIG_MIPS_MT_SMTC_IRQAFF */
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/irq.c
&lt;br&gt;&amp;gt; index 7b845ba..c10ea8f 100644
&lt;br&gt;&amp;gt; --- a/arch/mips/kernel/irq.c
&lt;br&gt;&amp;gt; +++ b/arch/mips/kernel/irq.c
&lt;br&gt;&amp;gt; @@ -22,6 +22,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/seq_file.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/kallsyms.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/kgdb.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/ftrace.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;asm/atomic.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;asm/system.h&amp;gt;
&lt;br&gt;&amp;gt; @@ -150,3 +151,36 @@ void __init init_IRQ(void)
&lt;br&gt;&amp;gt; &amp;nbsp;		kgdb_early_setup = 1;
&lt;br&gt;&amp;gt; &amp;nbsp;#endif
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +/*
&lt;br&gt;&amp;gt; + * do_IRQ handles all normal device IRQ's (the special
&lt;br&gt;&amp;gt; + * SMP cross-CPU interrupts have their own specific
&lt;br&gt;&amp;gt; + * handlers).
&lt;br&gt;&amp;gt; + */
&lt;br&gt;&amp;gt; +unsigned int __irq_entry do_IRQ(unsigned int irq)
&lt;br&gt;&amp;gt; +{
&lt;br&gt;&amp;gt; +	irq_enter();
&lt;br&gt;&amp;gt; +	__DO_IRQ_SMTC_HOOK(irq);
&lt;br&gt;&amp;gt; +	generic_handle_irq(irq);
&lt;br&gt;&amp;gt; +	irq_exit();
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	return 1;
&lt;br&gt;&amp;gt; +}
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +#ifdef CONFIG_MIPS_MT_SMTC_IRQAFF
&lt;br&gt;&amp;gt; +/*
&lt;br&gt;&amp;gt; + * To avoid inefficient and in some cases pathological re-checking of
&lt;br&gt;&amp;gt; + * IRQ affinity, we have this variant that skips the affinity check.
&lt;br&gt;&amp;gt; + */
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +unsigned int __irq_entry do_IRQ_no_affinity(unsigned int irq)
&lt;br&gt;&amp;gt; +{
&lt;br&gt;&amp;gt; +	irq_enter();
&lt;br&gt;&amp;gt; +	__NO_AFFINITY_IRQ_SMTC_HOOK(irq);
&lt;br&gt;&amp;gt; +	generic_handle_irq(irq);
&lt;br&gt;&amp;gt; +	irq_exit();
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	return 1;
&lt;br&gt;&amp;gt; +}
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +#endif /* CONFIG_MIPS_MT_SMTC_IRQAFF */
&lt;br&gt;&amp;gt; diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c
&lt;br&gt;&amp;gt; index e72e684..6cdca19 100644
&lt;br&gt;&amp;gt; --- a/arch/mips/kernel/smp.c
&lt;br&gt;&amp;gt; +++ b/arch/mips/kernel/smp.c
&lt;br&gt;&amp;gt; @@ -32,6 +32,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/cpumask.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/cpu.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/err.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/ftrace.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;asm/atomic.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;asm/cpu.h&amp;gt;
&lt;br&gt;&amp;gt; @@ -130,7 +131,7 @@ asmlinkage __cpuinit void start_secondary(void)
&lt;br&gt;&amp;gt; &amp;nbsp;/*
&lt;br&gt;&amp;gt; &amp;nbsp; * Call into both interrupt handlers, as we share the IPI for them
&lt;br&gt;&amp;gt; &amp;nbsp; */
&lt;br&gt;&amp;gt; -void smp_call_function_interrupt(void)
&lt;br&gt;&amp;gt; +void __irq_entry smp_call_function_interrupt(void)
&lt;br&gt;&amp;gt; &amp;nbsp;{
&lt;br&gt;&amp;gt; &amp;nbsp;	irq_enter();
&lt;br&gt;&amp;gt; &amp;nbsp;	generic_smp_call_function_single_interrupt();
&lt;br&gt;&amp;gt; diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c
&lt;br&gt;&amp;gt; index 24630fd..75034a8 100644
&lt;br&gt;&amp;gt; --- a/arch/mips/kernel/smtc.c
&lt;br&gt;&amp;gt; +++ b/arch/mips/kernel/smtc.c
&lt;br&gt;&amp;gt; @@ -25,6 +25,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/interrupt.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/kernel_stat.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/module.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/ftrace.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;asm/cpu.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;asm/processor.h&amp;gt;
&lt;br&gt;&amp;gt; @@ -939,23 +940,29 @@ static void ipi_call_interrupt(void)
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;DECLARE_PER_CPU(struct clock_event_device, mips_clockevent_device);
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -void ipi_decode(struct smtc_ipi *pipi)
&lt;br&gt;&amp;gt; +static void __irq_entry smtc_clock_tick_interrupt(void)
&lt;br&gt;&amp;gt; &amp;nbsp;{
&lt;br&gt;&amp;gt; &amp;nbsp;	unsigned int cpu = smp_processor_id();
&lt;br&gt;&amp;gt; &amp;nbsp;	struct clock_event_device *cd;
&lt;br&gt;&amp;gt; +	int irq = MIPS_CPU_IRQ_BASE + 1;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	irq_enter();
&lt;br&gt;&amp;gt; +	kstat_incr_irqs_this_cpu(irq, irq_to_desc(irq));
&lt;br&gt;&amp;gt; +	cd = &amp;per_cpu(mips_clockevent_device, cpu);
&lt;br&gt;&amp;gt; +	cd-&amp;gt;event_handler(cd);
&lt;br&gt;&amp;gt; +	irq_exit();
&lt;br&gt;&amp;gt; +}
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +void ipi_decode(struct smtc_ipi *pipi)
&lt;br&gt;&amp;gt; +{
&lt;br&gt;&amp;gt; &amp;nbsp;	void *arg_copy = pipi-&amp;gt;arg;
&lt;br&gt;&amp;gt; &amp;nbsp;	int type_copy = pipi-&amp;gt;type;
&lt;br&gt;&amp;gt; -	int irq = MIPS_CPU_IRQ_BASE + 1;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;	smtc_ipi_nq(&amp;freeIPIq, pipi);
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;	switch (type_copy) {
&lt;br&gt;&amp;gt; &amp;nbsp;	case SMTC_CLOCK_TICK:
&lt;br&gt;&amp;gt; -		irq_enter();
&lt;br&gt;&amp;gt; -		kstat_incr_irqs_this_cpu(irq, irq_to_desc(irq));
&lt;br&gt;&amp;gt; -		cd = &amp;per_cpu(mips_clockevent_device, cpu);
&lt;br&gt;&amp;gt; -		cd-&amp;gt;event_handler(cd);
&lt;br&gt;&amp;gt; -		irq_exit();
&lt;br&gt;&amp;gt; +		smtc_clock_tick_interrupt();
&lt;br&gt;&amp;gt; &amp;nbsp;		break;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;	case LINUX_SMP_IPI:
&lt;br&gt;&amp;gt; diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
&lt;br&gt;&amp;gt; index 162b299..f25df73 100644
&lt;br&gt;&amp;gt; --- a/arch/mips/kernel/vmlinux.lds.S
&lt;br&gt;&amp;gt; +++ b/arch/mips/kernel/vmlinux.lds.S
&lt;br&gt;&amp;gt; @@ -46,6 +46,7 @@ SECTIONS
&lt;br&gt;&amp;gt; &amp;nbsp;		SCHED_TEXT
&lt;br&gt;&amp;gt; &amp;nbsp;		LOCK_TEXT
&lt;br&gt;&amp;gt; &amp;nbsp;		KPROBES_TEXT
&lt;br&gt;&amp;gt; +		IRQENTRY_TEXT
&lt;br&gt;&amp;gt; &amp;nbsp;		*(.text.*)
&lt;br&gt;&amp;gt; &amp;nbsp;		*(.fixup)
&lt;br&gt;&amp;gt; &amp;nbsp;		*(.gnu.warning)
&lt;br&gt;&amp;gt; diff --git a/arch/mips/sgi-ip22/ip22-int.c b/arch/mips/sgi-ip22/ip22-int.c
&lt;br&gt;&amp;gt; index 0ecd5fe..383f11d 100644
&lt;br&gt;&amp;gt; --- a/arch/mips/sgi-ip22/ip22-int.c
&lt;br&gt;&amp;gt; +++ b/arch/mips/sgi-ip22/ip22-int.c
&lt;br&gt;&amp;gt; @@ -13,6 +13,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/init.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/kernel_stat.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/interrupt.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/ftrace.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;asm/irq_cpu.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;asm/sgi/hpc3.h&amp;gt;
&lt;br&gt;&amp;gt; @@ -150,7 +151,7 @@ static void indy_local1_irqdispatch(void)
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;extern void ip22_be_interrupt(int irq);
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -static void indy_buserror_irq(void)
&lt;br&gt;&amp;gt; +static void __irq_entry indy_buserror_irq(void)
&lt;br&gt;&amp;gt; &amp;nbsp;{
&lt;br&gt;&amp;gt; &amp;nbsp;	int irq = SGI_BUSERR_IRQ;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; diff --git a/arch/mips/sgi-ip22/ip22-time.c b/arch/mips/sgi-ip22/ip22-time.c
&lt;br&gt;&amp;gt; index c8f7d23..603fc91 100644
&lt;br&gt;&amp;gt; --- a/arch/mips/sgi-ip22/ip22-time.c
&lt;br&gt;&amp;gt; +++ b/arch/mips/sgi-ip22/ip22-time.c
&lt;br&gt;&amp;gt; @@ -16,6 +16,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/interrupt.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/kernel_stat.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/time.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/ftrace.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;asm/cpu.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;asm/mipsregs.h&amp;gt;
&lt;br&gt;&amp;gt; @@ -115,7 +116,7 @@ __init void plat_time_init(void)
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;/* Generic SGI handler for (spurious) 8254 interrupts */
&lt;br&gt;&amp;gt; -void indy_8254timer_irq(void)
&lt;br&gt;&amp;gt; +void __irq_entry indy_8254timer_irq(void)
&lt;br&gt;&amp;gt; &amp;nbsp;{
&lt;br&gt;&amp;gt; &amp;nbsp;	int irq = SGI_8254_0_IRQ;
&lt;br&gt;&amp;gt; &amp;nbsp;	ULONG cnt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--v6-00-13--ftrace-for-MIPS-tp26061623p26261081.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261069</id>
	<title>Re: [PATCH] ptrace: copy_process() should disable stepping</title>
	<published>2009-11-08T20:15:46Z</published>
	<updated>2009-11-08T20:15:46Z</updated>
	<author>
		<name>Roland McGrath</name>
	</author>
	<content type="html">That is inappropriate use of arch details in generic code. &amp;nbsp;It might
&lt;br&gt;happen to be harmless fritter in practice on the arch's we have but it
&lt;br&gt;is certainly not the correct way to go about things. &amp;nbsp;You should just
&lt;br&gt;call user_disable_single_step() unconditionally. &amp;nbsp;Even on an arch with
&lt;br&gt;no such machinery at all that should be defined safely as a no-op (see
&lt;br&gt;linux/ptrace.h). &amp;nbsp;If there is some reason not to do that, please
&lt;br&gt;explain it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Roland
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261069&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--ptrace%3A-copy_thread%28%29-should-clear-TIF_SINGLESTEP-and-X86_EFLAGS_TF-tp26238813p26261069.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261068</id>
	<title>Re: [PATCH -v6 02/13] tracing: add mips_timecounter_read() for MIPS</title>
	<published>2009-11-08T20:15:16Z</published>
	<updated>2009-11-08T20:15:16Z</updated>
	<author>
		<name>Wu Zhangjin</name>
	</author>
	<content type="html">Hi Ralf, 
&lt;br&gt;&lt;br&gt;Could you please give some feedback on this patch?
&lt;br&gt;&lt;br&gt;Really looking forward to your feedback and then resend this patchset
&lt;br&gt;out ;)
&lt;br&gt;&lt;br&gt;Thanks &amp; Regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Wu Zhangjin
&lt;br&gt;&lt;br&gt;On Mon, 2009-10-26 at 23:13 +0800, Wu Zhangjin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; This patch add a new function: mips_timecounter_read() to get high
&lt;br&gt;&amp;gt; precision timestamp without extra lock.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It is based on the clock counter register and the
&lt;br&gt;&amp;gt; timecounter/cyclecounter abstraction layer of kernel.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Wu Zhangjin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261068&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wuzhangjin@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; &amp;nbsp;arch/mips/include/asm/time.h | &amp;nbsp; 19 +++++++++++++++++++
&lt;br&gt;&amp;gt; &amp;nbsp;arch/mips/kernel/csrc-r4k.c &amp;nbsp;| &amp;nbsp; 41 +++++++++++++++++++++++++++++++++++++++++
&lt;br&gt;&amp;gt; &amp;nbsp;arch/mips/kernel/time.c &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 ++
&lt;br&gt;&amp;gt; &amp;nbsp;3 files changed, 62 insertions(+), 0 deletions(-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; diff --git a/arch/mips/include/asm/time.h b/arch/mips/include/asm/time.h
&lt;br&gt;&amp;gt; index df6a430..b8af7fa 100644
&lt;br&gt;&amp;gt; --- a/arch/mips/include/asm/time.h
&lt;br&gt;&amp;gt; +++ b/arch/mips/include/asm/time.h
&lt;br&gt;&amp;gt; @@ -73,8 +73,18 @@ static inline int mips_clockevent_init(void)
&lt;br&gt;&amp;gt; &amp;nbsp; */
&lt;br&gt;&amp;gt; &amp;nbsp;#ifdef CONFIG_CSRC_R4K_LIB
&lt;br&gt;&amp;gt; &amp;nbsp;extern int init_r4k_clocksource(void);
&lt;br&gt;&amp;gt; +extern int init_r4k_timecounter(void);
&lt;br&gt;&amp;gt; +extern u64 r4k_timecounter_read(void);
&lt;br&gt;&amp;gt; &amp;nbsp;#endif
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; +static inline u64 mips_timecounter_read(void)
&lt;br&gt;&amp;gt; +{
&lt;br&gt;&amp;gt; +#ifdef CONFIG_CSRC_R4K
&lt;br&gt;&amp;gt; +	return r4k_timecounter_read();
&lt;br&gt;&amp;gt; +#else
&lt;br&gt;&amp;gt; +	return sched_clock();
&lt;br&gt;&amp;gt; +#endif
&lt;br&gt;&amp;gt; +}
&lt;br&gt;&amp;gt; &amp;nbsp;static inline int init_mips_clocksource(void)
&lt;br&gt;&amp;gt; &amp;nbsp;{
&lt;br&gt;&amp;gt; &amp;nbsp;#ifdef CONFIG_CSRC_R4K
&lt;br&gt;&amp;gt; @@ -84,6 +94,15 @@ static inline int init_mips_clocksource(void)
&lt;br&gt;&amp;gt; &amp;nbsp;#endif
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; +static inline int init_mips_timecounter(void)
&lt;br&gt;&amp;gt; +{
&lt;br&gt;&amp;gt; +#ifdef CONFIG_CSRC_R4K
&lt;br&gt;&amp;gt; +	return init_r4k_timecounter();
&lt;br&gt;&amp;gt; +#else
&lt;br&gt;&amp;gt; +	return 0;
&lt;br&gt;&amp;gt; +#endif
&lt;br&gt;&amp;gt; +}
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; &amp;nbsp;extern void clocksource_set_clock(struct clocksource *cs, unsigned int clock);
&lt;br&gt;&amp;gt; &amp;nbsp;extern void clockevent_set_clock(struct clock_event_device *cd,
&lt;br&gt;&amp;gt; &amp;nbsp;		unsigned int clock);
&lt;br&gt;&amp;gt; diff --git a/arch/mips/kernel/csrc-r4k.c b/arch/mips/kernel/csrc-r4k.c
&lt;br&gt;&amp;gt; index e95a3cd..4e7705f 100644
&lt;br&gt;&amp;gt; --- a/arch/mips/kernel/csrc-r4k.c
&lt;br&gt;&amp;gt; +++ b/arch/mips/kernel/csrc-r4k.c
&lt;br&gt;&amp;gt; @@ -7,6 +7,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp; */
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/clocksource.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;linux/init.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;linux/sched.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;asm/time.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; @@ -36,3 +37,43 @@ int __init init_r4k_clocksource(void)
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;	return 0;
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +static struct timecounter r4k_tc = {
&lt;br&gt;&amp;gt; +	.cc = NULL,
&lt;br&gt;&amp;gt; +};
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +static cycle_t r4k_cc_read(const struct cyclecounter *cc)
&lt;br&gt;&amp;gt; +{
&lt;br&gt;&amp;gt; +	return read_c0_count();
&lt;br&gt;&amp;gt; +}
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +static struct cyclecounter r4k_cc = {
&lt;br&gt;&amp;gt; +	.read = r4k_cc_read,
&lt;br&gt;&amp;gt; +	.mask = CLOCKSOURCE_MASK(32),
&lt;br&gt;&amp;gt; +	.shift = 32,
&lt;br&gt;&amp;gt; +};
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +int __init init_r4k_timecounter(void)
&lt;br&gt;&amp;gt; +{
&lt;br&gt;&amp;gt; +	if (!cpu_has_counter || !mips_hpt_frequency)
&lt;br&gt;&amp;gt; +		return -ENXIO;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	r4k_cc.mult = div_sc((unsigned long)mips_hpt_frequency, NSEC_PER_SEC,
&lt;br&gt;&amp;gt; +			32);
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	timecounter_init(&amp;r4k_tc, &amp;r4k_cc, sched_clock());
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	return 0;
&lt;br&gt;&amp;gt; +}
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +u64 r4k_timecounter_read(void)
&lt;br&gt;&amp;gt; +{
&lt;br&gt;&amp;gt; +	u64 clock;
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	if (r4k_tc.cc != NULL)
&lt;br&gt;&amp;gt; +		clock = timecounter_read(&amp;r4k_tc);
&lt;br&gt;&amp;gt; +	else
&lt;br&gt;&amp;gt; +		clock = sched_clock();
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +	return clock;
&lt;br&gt;&amp;gt; +}
&lt;br&gt;&amp;gt; diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c
&lt;br&gt;&amp;gt; index 1f467d5..e38cca1 100644
&lt;br&gt;&amp;gt; --- a/arch/mips/kernel/time.c
&lt;br&gt;&amp;gt; +++ b/arch/mips/kernel/time.c
&lt;br&gt;&amp;gt; @@ -156,4 +156,6 @@ void __init time_init(void)
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;	if (!mips_clockevent_init() || !cpu_has_mfc0_count_bug())
&lt;br&gt;&amp;gt; &amp;nbsp;		init_mips_clocksource();
&lt;br&gt;&amp;gt; +	if (!cpu_has_mfc0_count_bug())
&lt;br&gt;&amp;gt; +		init_mips_timecounter();
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;/div&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261068&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--v6-00-13--ftrace-for-MIPS-tp26061623p26261068.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260946</id>
	<title>Re: [PATCH 0/15] sysfs lazification final</title>
	<published>2009-11-08T19:57:49Z</published>
	<updated>2009-11-08T19:57:49Z</updated>
	<author>
		<name>Tejun Heo-3</name>
	</author>
	<content type="html">Eric W. Biederman wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The sysfs code updates the vfs caches immediately when the sysfs data
&lt;br&gt;&amp;gt; structures change causing a lot of unnecessary complications. &amp;nbsp;The
&lt;br&gt;&amp;gt; following patchset untangles that beast. &amp;nbsp;Allowing for simpler
&lt;br&gt;&amp;gt; more straight forward code, the removal of a hack from the vfs
&lt;br&gt;&amp;gt; to support sysfs, and human comprehensible locking on sysfs.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Most of these patches have already been reviewed and acked from the
&lt;br&gt;&amp;gt; last time I had time to work on sysfs.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This acks have been folded in and the two small bugs found in the
&lt;br&gt;&amp;gt; previous review have been fixed in the trailing patches (they are
&lt;br&gt;&amp;gt; minor enough nits that even a bisect that happens to land in the
&lt;br&gt;&amp;gt; middle should not see sysfs problems).
&lt;/div&gt;&lt;br&gt;Thanks a lot for bringing some sanity to sysfs. &amp;nbsp;:-)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;tejun
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260946&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-0-13--sysfs-lazification.-tp26178566p26260946.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260929</id>
	<title>linux-next: pcmcia tree build warning</title>
	<published>2009-11-08T19:54:51Z</published>
	<updated>2009-11-08T19:54:51Z</updated>
	<author>
		<name>Stephen Rothwell</name>
	</author>
	<content type="html">Hi Dominik,
&lt;br&gt;&lt;br&gt;Today's linux-next build (x86_64 allmodconfig) produced this warning:
&lt;br&gt;&lt;br&gt;drivers/char/pcmcia/cm4000_cs.c: In function 'cmm_ioctl':
&lt;br&gt;/scratch/sfr/next/drivers/char/pcmcia/cm4000_cs.c:1630: warning: the frame size of 2176 bytes is larger than 2048 bytes
&lt;br&gt;&lt;br&gt;Introduced by commit 7194198b163c83725f52ce8e34b24cca053deea7 (&amp;quot;pcmcia:
&lt;br&gt;use dynamic debug infrastructure, deprecate CS_CHECK (char)&amp;quot;) which
&lt;br&gt;unconditionalised &amp;quot;char *ioctl_names[CM_IOC_MAXNR + 1]&amp;quot; on the stack.
&lt;br&gt;CM_IOC_MAXNR is 255, so this adds 2k to the stack frame just to allow the
&lt;br&gt;printing of one of five ioctl names in a debug message. &amp;nbsp;It could be made
&lt;br&gt;static ...
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Cheers,
&lt;br&gt;Stephen Rothwell &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260929&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sfr@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.canb.auug.org.au/~sfr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.canb.auug.org.au/~sfr/&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (205 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26260929/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linux-next%3A-pcmcia-tree-build-warning-tp26260929p26260929.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260875</id>
	<title>Re: [PATCH 00/23] Removal of binary sysctl support</title>
	<published>2009-11-08T19:44:02Z</published>
	<updated>2009-11-08T19:44:02Z</updated>
	<author>
		<name>Eric W. Biederman</name>
	</author>
	<content type="html">Arnd Bergmann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260875&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;arnd@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sunday 08 November 2009 12:16:43 Eric W. Biederman wrote:
&lt;br&gt;&amp;gt;&amp;gt; This patchset reimplements sys_sysctl as a compatibility wrapper
&lt;br&gt;&amp;gt;&amp;gt; around /proc/sys. &amp;nbsp;After which it removes all of the code to all over
&lt;br&gt;&amp;gt;&amp;gt; the kernel that is used today to implement the binary sysctls.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I am posting this patchset to give everyone a heads up what is in
&lt;br&gt;&amp;gt;&amp;gt; flight.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I intend to carry all of these patches in my sysctl tree.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Very nice patches again!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Looking at what you did, I had two ideas how to move on from there,
&lt;br&gt;&amp;gt; which may be part of your plans already:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1. Make it possible to build sysctl_binary.c as a loadable module
&lt;br&gt;&amp;gt; so you can get a smaller kernel without losing the option to use
&lt;br&gt;&amp;gt; binary sysctl altogether. This of course requires a small portion
&lt;br&gt;&amp;gt; to remain in the kernel, to provide the actual syscall entry point
&lt;br&gt;&amp;gt; and load the module on demand.
&lt;/div&gt;&lt;br&gt;I can see how this could make sense from a distribution perspective.
&lt;br&gt;&lt;br&gt;&amp;gt; 2. On top of that, put the same code into glibc so that you don't
&lt;br&gt;&amp;gt; even have to load the module when you're running a new glibc version.
&lt;br&gt;&amp;gt; Since the binary sysctl ABI is stable (as in stiff and dead), there
&lt;br&gt;&amp;gt; should be no need to synchronize any extensions to it betwen kernel
&lt;br&gt;&amp;gt; and libc.
&lt;br&gt;&lt;br&gt;I don't expect we will need to move this to glibc. &amp;nbsp;There are so few
&lt;br&gt;users of sys_sysctl now, that I hardly expect it to be worth it to move
&lt;br&gt;this code out of the kernel.
&lt;br&gt;&lt;br&gt;For me the big problem with sys_sysctl is solved by this patchset.
&lt;br&gt;It no longer constitutes a maintenance burden on the rest of the sysctl
&lt;br&gt;code, and the other sysctl users.
&lt;br&gt;&lt;br&gt;Now the implementation of /proc/sys can be implemented and optimized without
&lt;br&gt;dealing with any sys_sysctl baggage.
&lt;br&gt;&lt;br&gt;All of that said if someone is interested in tweaking sysctl_binary.c to make
&lt;br&gt;it easier to deal with sys_sysctl going away I don't have any problems.
&lt;br&gt;&lt;br&gt;Eric
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260875&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-00-23--Removal-of-binary-sysctl-support-tp26253204p26260875.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260863</id>
	<title>linux-next: manual merge of the pcmcia tree with the mtd tree</title>
	<published>2009-11-08T19:42:21Z</published>
	<updated>2009-11-08T19:42:21Z</updated>
	<author>
		<name>Stephen Rothwell</name>
	</author>
	<content type="html">Hi Dominik,
&lt;br&gt;&lt;br&gt;Today's linux-next merge of the pcmcia tree got a conflict in
&lt;br&gt;drivers/mtd/maps/pcmciamtd.c between commit
&lt;br&gt;5da6bbe2f9e1db56b4a94cad2ace7d9992b1d666 (&amp;quot;pcmcia: convert pcmciamtd
&lt;br&gt;driver to use new CIS helpers&amp;quot;) from the mtd tree and commit
&lt;br&gt;18b61b97294dad74dd00a1aa8efed0cfacb95aff (&amp;quot;pcmcia: convert pcmciamtd
&lt;br&gt;driver to use new CIS helpers&amp;quot;) from the pcmcia tree.
&lt;br&gt;&lt;br&gt;Presumably two different versions of the same change? &amp;nbsp;I just used the
&lt;br&gt;version from the pcmcia tree for today.
&lt;br&gt;-- 
&lt;br&gt;Cheers,
&lt;br&gt;Stephen Rothwell &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260863&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sfr@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.canb.auug.org.au/~sfr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.canb.auug.org.au/~sfr/&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (205 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26260863/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linux-next%3A-manual-merge-of-the-pcmcia-tree-with-the-mtd-tree-tp26260863p26260863.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260820</id>
	<title>Re: [PATCH -v6 08/13] tracing: add IRQENTRY_EXIT section for MIPS</title>
	<published>2009-11-08T19:31:08Z</published>
	<updated>2009-11-08T19:31:08Z</updated>
	<author>
		<name>Wu Zhangjin</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;On Mon, 2009-11-09 at 03:26 +0100, Frederic Weisbecker wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, Oct 26, 2009 at 11:13:25PM +0800, Wu Zhangjin wrote:
&lt;br&gt;&amp;gt; &amp;gt; This patch add a new section for MIPS to record the block of the hardirq
&lt;br&gt;&amp;gt; &amp;gt; handling for function graph tracer(print_graph_irq) via adding the
&lt;br&gt;&amp;gt; &amp;gt; __irq_entry annotation to the the entrypoints of the hardirqs(the block
&lt;br&gt;&amp;gt; &amp;gt; with irq_enter()...irq_exit()).
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Thanks goes to Steven &amp; Frederic Weisbecker for their feedbacks.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Signed-off-by: Wu Zhangjin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260820&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wuzhangjin@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; +
&lt;br&gt;&amp;gt; &amp;gt; +/*
&lt;br&gt;&amp;gt; &amp;gt; + * do_IRQ handles all normal device IRQ's (the special
&lt;br&gt;&amp;gt; &amp;gt; + * SMP cross-CPU interrupts have their own specific
&lt;br&gt;&amp;gt; &amp;gt; + * handlers).
&lt;br&gt;&amp;gt; &amp;gt; + */
&lt;br&gt;&amp;gt; &amp;gt; +unsigned int __irq_entry do_IRQ(unsigned int irq)
&lt;br&gt;&amp;gt; &amp;gt; +{
&lt;br&gt;&amp;gt; &amp;gt; +	irq_enter();
&lt;br&gt;&amp;gt; &amp;gt; +	__DO_IRQ_SMTC_HOOK(irq);
&lt;br&gt;&amp;gt; &amp;gt; +	generic_handle_irq(irq);
&lt;br&gt;&amp;gt; &amp;gt; +	irq_exit();
&lt;br&gt;&amp;gt; &amp;gt; +
&lt;br&gt;&amp;gt; &amp;gt; +	return 1;
&lt;br&gt;&amp;gt; &amp;gt; +}
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Nano-neat:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Why is it returning a value, it doesn't seem needed (the macro
&lt;br&gt;&amp;gt; version didn't)?
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Will remove it later. 
&lt;br&gt;&lt;br&gt;&amp;gt; Anyway, that looks good to me. I hope the changes from macro
&lt;br&gt;&amp;gt; to function calls will be ack by the MIPS maintainers.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Hope Ralf give some feedbacks about it ;)
&lt;br&gt;&lt;br&gt;&amp;gt; Reviewed-by: Frederic Weisbecker &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260820&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fweisbec@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;BTW: 
&lt;br&gt;&lt;br&gt;Who should I resend this patchset to? you or Steven? If this patchset
&lt;br&gt;are okay, I will rebase it on the latest tracing/core branch of -tip and
&lt;br&gt;send the latest version out, and hope you can apply it, otherwise, I
&lt;br&gt;need to rebase it to the future mainline versions again and again ;) and
&lt;br&gt;at least, I have tested all of them and their combinations on YeeLoong
&lt;br&gt;netbook, they work well. of course, more testing report from the other
&lt;br&gt;MIPS developers are welcome ;)
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Wu Zhangjin
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--v6-00-13--ftrace-for-MIPS-tp26061623p26260820.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260814</id>
	<title>[PATCH] perf bench: Fix bench/sched-pipe.c to wait child process</title>
	<published>2009-11-08T19:31:05Z</published>
	<updated>2009-11-08T19:31:05Z</updated>
	<author>
		<name>tip-bot for Hitoshi Mitake</name>
	</author>
	<content type="html">Fixed bench/sched-pipe.c to avoid the below case
&lt;br&gt;notified by Ingo Molnar,
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&lt;br&gt;$ ./perf bench sched pipe
&lt;br&gt;(executing 1000000 pipe operations between two tasks)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Total time:4.898 sec
&lt;br&gt;$ 		4.898586 usecs/op
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 204140 ops/sec
&lt;br&gt;&lt;br&gt;the shell prompt came back before the usecs/op and ops/sec line was
&lt;br&gt;printed. Process teardown race, lack of wait() or so?
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&lt;br&gt;This caused by lack of calling waitpid() by parent process,
&lt;br&gt;so I added it.
&lt;br&gt;&lt;br&gt;Signed-off-by: Hitoshi Mitake &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260814&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mitake@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Rusty Russell &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260814&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rusty@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Peter Zijlstra &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260814&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.p.zijlstra@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Paul Mackerras &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260814&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paulus@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Mike Galbraith &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260814&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;efault@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Arnaldo Carvalho de Melo &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260814&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;acme@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Frederic Weisbecker &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260814&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fweisbec@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Jiri Kosina &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260814&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jkosina@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;tools/perf/bench/sched-pipe.c | &amp;nbsp; 10 +++++++---
&lt;br&gt;&amp;nbsp;1 files changed, 7 insertions(+), 3 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/tools/perf/bench/sched-pipe.c b/tools/perf/bench/sched-pipe.c
&lt;br&gt;index 3214ed2..6a29100 100644
&lt;br&gt;--- a/tools/perf/bench/sched-pipe.c
&lt;br&gt;+++ b/tools/perf/bench/sched-pipe.c
&lt;br&gt;@@ -26,6 +26,7 @@
&lt;br&gt;&amp;nbsp;#include &amp;lt;errno.h&amp;gt;
&lt;br&gt;&amp;nbsp;#include &amp;lt;assert.h&amp;gt;
&lt;br&gt;&amp;nbsp;#include &amp;lt;sys/time.h&amp;gt;
&lt;br&gt;+#include &amp;lt;sys/types.h&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#define LOOPS_DEFAULT 1000000
&lt;br&gt;&amp;nbsp;static int loops = LOOPS_DEFAULT;
&lt;br&gt;@@ -58,8 +59,8 @@ int bench_sched_pipe(int argc, const char **argv,
&lt;br&gt;&amp;nbsp;	 * discarding returned value of read(), write()
&lt;br&gt;&amp;nbsp;	 * causes error in building environment for perf
&lt;br&gt;&amp;nbsp;	 */
&lt;br&gt;-	int ret;
&lt;br&gt;-	pid_t pid;
&lt;br&gt;+	int ret, wait_stat;
&lt;br&gt;+	pid_t pid, retpid;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	argc = parse_options(argc, argv, options,
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp; bench_sched_pipe_usage, 0);
&lt;br&gt;@@ -87,8 +88,11 @@ int bench_sched_pipe(int argc, const char **argv,
&lt;br&gt;&amp;nbsp;	gettimeofday(&amp;stop, NULL);
&lt;br&gt;&amp;nbsp;	timersub(&amp;stop, &amp;start, &amp;diff);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (pid)
&lt;br&gt;+	if (pid) {
&lt;br&gt;+		retpid = waitpid(pid, &amp;wait_stat, 0);
&lt;br&gt;+		assert((retpid == pid) &amp;&amp; WIFEXITED(wait_stat));
&lt;br&gt;&amp;nbsp;		return 0;
&lt;br&gt;+	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (simple)
&lt;br&gt;&amp;nbsp;		printf(&amp;quot;%lu.%03lu\n&amp;quot;,
&lt;br&gt;-- 
&lt;br&gt;1.6.5.2
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260814&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-v5-0-7--Adding-general-performance-benchmarking-subcommand-to-perf.-tp26207274p26260814.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260813</id>
	<title>Re: [PATCH] proc: revalidate dentry returned by proc_pid_follow_link</title>
	<published>2009-11-08T19:30:55Z</published>
	<updated>2009-11-08T19:30:55Z</updated>
	<author>
		<name>Eric W. Biederman</name>
	</author>
	<content type="html">Jeff Layton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260813&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jlayton@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Hmm. &amp;nbsp;Looking at the code I get the impression that a file bind mount
&lt;br&gt;&amp;gt;&amp;gt; will have exactly the same problem.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Can you confirm.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; If file bind mounts also have this problem a bugfix to to just
&lt;br&gt;&amp;gt;&amp;gt; proc seems questionable.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm not sure I understand what you mean by &amp;quot;file bind mount&amp;quot;. Is that
&lt;br&gt;&amp;gt; something like mounting with &amp;quot;-o loop&amp;quot; ?
&lt;/div&gt;&lt;br&gt;# cd /tmp
&lt;br&gt;# echo foo &amp;gt; foo
&lt;br&gt;# echo bar &amp;gt; bar
&lt;br&gt;# mount --bind foo bar
&lt;br&gt;# cat bar
&lt;br&gt;foo
&lt;br&gt;#
&lt;br&gt;&lt;br&gt;&amp;gt; I'm not at all opposed to fixing this in a more broad fashion, but as
&lt;br&gt;&amp;gt; best I can tell, the only place that LAST_BIND is used is in procfs.
&lt;br&gt;&lt;br&gt;proc does appear to be the only user of LAST_BIND. &amp;nbsp;With a file bind
&lt;br&gt;mount we can get to the same ok: label without a revalidate. &amp;nbsp;The
&lt;br&gt;difference is that we came from __follow_mount instead of follow_link.
&lt;br&gt;&lt;br&gt;At least that is how I read the code.
&lt;br&gt;&lt;br&gt;Eric
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260813&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--proc%3A-revalidate-dentry-returned-by-proc_pid_follow_link-tp26231871p26260813.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260787</id>
	<title>Re: [PATCH v4 01/12] vsprintf: factorize &quot;(null)&quot; string</title>
	<published>2009-11-08T19:28:03Z</published>
	<updated>2009-11-08T19:28:03Z</updated>
	<author>
		<name>Rusty Russell</name>
	</author>
	<content type="html">On Sun, 8 Nov 2009 01:46:09 am you wrote:
&lt;br&gt;&amp;gt; Change &amp;quot;&amp;lt;NULL&amp;gt;&amp;quot; to &amp;quot;(null)&amp;quot; and make it a static const char[] hoping that
&lt;br&gt;&amp;gt; the compiler will make null_str a label to a read-only area containing it.
&lt;br&gt;&lt;br&gt;(Trimmed the 79 recipients of the original).
&lt;br&gt;&lt;br&gt;Hi Andre,
&lt;br&gt;&lt;br&gt;Consistently using &amp;lt;NULL&amp;gt; or (null) makes sense. &amp;nbsp;But I'm really missing your argument: is there some reason why normal string merging won't work?
&lt;br&gt;&lt;br&gt;Confused,
&lt;br&gt;Rusty.
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260787&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--PATCH-v4-01-12--vsprintf%3A-factorize-%22%28null%29%22-string-tp26254821p26260787.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260783</id>
	<title>Re: [PATCH v2 3/7] Adding general performance benchmarking subcommand to perf.</title>
	<published>2009-11-08T19:27:12Z</published>
	<updated>2009-11-08T19:27:12Z</updated>
	<author>
		<name>tip-bot for Hitoshi Mitake</name>
	</author>
	<content type="html">From: Ingo Molnar &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260783&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mingo@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Subject: Re: [PATCH v2 3/7] Adding general performance benchmarking subcommand to perf.
&lt;br&gt;Date: Sun, 8 Nov 2009 12:30:13 +0100
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Shouldnt we output the unit of measurement, i.e. '4.575 usecs'? Also, we 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; should perhaps print something like:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; % perf bench sched pipe
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; (executing 1000000 pipe operations between two tasks)
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;4.575 usecs per op
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; 218579 ops/sec &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; ?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I have to admit that single float value output is too simple.
&lt;br&gt;&amp;gt; &amp;gt; So I'll fix the default output.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; But, I believe that simple form makes sense for
&lt;br&gt;&amp;gt; &amp;gt; processing by scripts or graph tools like gnuplot.
&lt;br&gt;&amp;gt; &amp;gt; I'll add the option (may be --simple) to switch
&lt;br&gt;&amp;gt; &amp;gt; friendliness of outputs.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Btw., could you make it Git-ish, i.e.:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;--format=short
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; or:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;--format=simple
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Eventually more format options might be added.
&lt;/div&gt;&lt;br&gt;It's good idea.
&lt;br&gt;I have to admit that reserving -s for simple output is not good idea.
&lt;br&gt;I'll do this.
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260783&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-v2-3-7--Adding-general-performance-benchmarking-subcommand-to-perf.-tp26177998p26260783.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260784</id>
	<title>Re: [PATCH 22/23] sysctl arm: Remove binary sysctl support</title>
	<published>2009-11-08T19:27:07Z</published>
	<updated>2009-11-08T19:27:07Z</updated>
	<author>
		<name>Eric W. Biederman</name>
	</author>
	<content type="html">Arjan van de Ven &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260784&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;arjan@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, 08 Nov 2009 15:05:05 -0800
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260784&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ebiederm@...&lt;/a&gt; (Eric W. Biederman) wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; The practical difference is that /proc support now must be compiled
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; in to support sys_sysctl.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; But thanks for the reminder that I need to go into glibc and fix this
&lt;br&gt;&amp;gt;&amp;gt; before we disable the sys_sysctl emulation by default.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; how are you dealing with existing glibcs ? Or with static linked
&lt;br&gt;&amp;gt; binaries? or.. or ..
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; breaking a heavily used ABI like this is not going to be pretty
&lt;br&gt;&amp;gt; or even sane, no matter which way you hate the current one.
&lt;/div&gt;&lt;br&gt;sysctl_binary.c has all of the code to continue to provide the
&lt;br&gt;existing ABI.
&lt;br&gt;&lt;br&gt;sys_sysctl is not heavily used at all, and this is the responsible
&lt;br&gt;removal of a practically unused ABI. &amp;nbsp;Last I check (and this was
&lt;br&gt;before I shouted to the world that sys_sysctl is going away) I could
&lt;br&gt;count on one hand all of the users of sys_sysctl.
&lt;br&gt;&lt;br&gt;/proc/sys will definitely continue to exist.
&lt;br&gt;&lt;br&gt;I just took a look and the use in linux threads that I don't warn
&lt;br&gt;about is used by glibc-2.8 but not by glibc-2.10. &amp;nbsp;glibc-2.11 has just
&lt;br&gt;been released. so by next year when the removal is scheduled we are
&lt;br&gt;looking at multiple releases of glibc that don't use sys_sysctl. &amp;nbsp;So I
&lt;br&gt;expect shortly I can warn about all uses of sys_sysctl without anyone
&lt;br&gt;seeing a warning.
&lt;br&gt;&lt;br&gt;The one unfixed case I know about is fixing ioperm on arm, in the glibc
&lt;br&gt;ports tree, and that will need to happen before sys_sysctl is disabled
&lt;br&gt;by default. &amp;nbsp;Which is all I intend to do when we reach that point in
&lt;br&gt;feature removal schedule now that I have refactored the code so that
&lt;br&gt;sys_sysctl no longer imposes a maintenance burden on the sane sysctl
&lt;br&gt;users.
&lt;br&gt;&lt;br&gt;I don't hate sysctl, in fact for global tuneables I would argue for
&lt;br&gt;all it's faults sysctl it is one of the better interfaces we have. &amp;nbsp;I
&lt;br&gt;just figure the implementation needs to be optimized for the way
&lt;br&gt;sysctl is used today, the via /proc/sys.
&lt;br&gt;&lt;br&gt;Eric
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260784&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-00-23--Removal-of-binary-sysctl-support-tp26253204p26260784.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260731</id>
	<title>Re: [PATCH] perf bench:Fix bench/sched-pipe.c to wait child process</title>
	<published>2009-11-08T19:18:36Z</published>
	<updated>2009-11-08T19:18:36Z</updated>
	<author>
		<name>tip-bot for Hitoshi Mitake</name>
	</author>
	<content type="html">From: Hitoshi Mitake &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260731&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mitake@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Subject: [PATCH] perf bench:Fix bench/sched-pipe.c to wait child process
&lt;br&gt;Date: Mon, &amp;nbsp;9 Nov 2009 12:13:08 +0900
&lt;br&gt;&lt;br&gt;Sorry, the title lacks space after &amp;quot;perf bench:&amp;quot;.
&lt;br&gt;I'll send new fixed one, please discard this.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Fixed bench/sched-pipe.c to avoid the below case
&lt;br&gt;&amp;gt; notified by Ingo Molnar,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; $ ./perf bench sched pipe
&lt;br&gt;&amp;gt; (executing 1000000 pipe operations between two tasks)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	Total time:4.898 sec
&lt;br&gt;&amp;gt; $ 		4.898586 usecs/op
&lt;br&gt;&amp;gt; 		204140 ops/sec
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; the shell prompt came back before the usecs/op and ops/sec line was
&lt;br&gt;&amp;gt; printed. Process teardown race, lack of wait() or so?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This caused by lack of calling waitpid() by parent process,
&lt;br&gt;&amp;gt; so I added it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Hitoshi Mitake &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260731&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mitake@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cc: Rusty Russell &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260731&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rusty@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cc: Peter Zijlstra &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260731&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.p.zijlstra@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cc: Paul Mackerras &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260731&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paulus@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cc: Mike Galbraith &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260731&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;efault@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cc: Arnaldo Carvalho de Melo &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260731&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;acme@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cc: Frederic Weisbecker &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260731&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fweisbec@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cc: Jiri Kosina &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260731&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jkosina@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; &amp;nbsp;tools/perf/bench/sched-pipe.c | &amp;nbsp; 10 +++++++---
&lt;br&gt;&amp;gt; &amp;nbsp;1 files changed, 7 insertions(+), 3 deletions(-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; diff --git a/tools/perf/bench/sched-pipe.c b/tools/perf/bench/sched-pipe.c
&lt;br&gt;&amp;gt; index 3214ed2..6a29100 100644
&lt;br&gt;&amp;gt; --- a/tools/perf/bench/sched-pipe.c
&lt;br&gt;&amp;gt; +++ b/tools/perf/bench/sched-pipe.c
&lt;br&gt;&amp;gt; @@ -26,6 +26,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;errno.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;assert.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;#include &amp;lt;sys/time.h&amp;gt;
&lt;br&gt;&amp;gt; +#include &amp;lt;sys/types.h&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;#define LOOPS_DEFAULT 1000000
&lt;br&gt;&amp;gt; &amp;nbsp;static int loops = LOOPS_DEFAULT;
&lt;br&gt;&amp;gt; @@ -58,8 +59,8 @@ int bench_sched_pipe(int argc, const char **argv,
&lt;br&gt;&amp;gt; &amp;nbsp;	 * discarding returned value of read(), write()
&lt;br&gt;&amp;gt; &amp;nbsp;	 * causes error in building environment for perf
&lt;br&gt;&amp;gt; &amp;nbsp;	 */
&lt;br&gt;&amp;gt; -	int ret;
&lt;br&gt;&amp;gt; -	pid_t pid;
&lt;br&gt;&amp;gt; +	int ret, wait_stat;
&lt;br&gt;&amp;gt; +	pid_t pid, retpid;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;	argc = parse_options(argc, argv, options,
&lt;br&gt;&amp;gt; &amp;nbsp;			 &amp;nbsp; &amp;nbsp; bench_sched_pipe_usage, 0);
&lt;br&gt;&amp;gt; @@ -87,8 +88,11 @@ int bench_sched_pipe(int argc, const char **argv,
&lt;br&gt;&amp;gt; &amp;nbsp;	gettimeofday(&amp;stop, NULL);
&lt;br&gt;&amp;gt; &amp;nbsp;	timersub(&amp;stop, &amp;start, &amp;diff);
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -	if (pid)
&lt;br&gt;&amp;gt; +	if (pid) {
&lt;br&gt;&amp;gt; +		retpid = waitpid(pid, &amp;wait_stat, 0);
&lt;br&gt;&amp;gt; +		assert((retpid == pid) &amp;&amp; WIFEXITED(wait_stat));
&lt;br&gt;&amp;gt; &amp;nbsp;		return 0;
&lt;br&gt;&amp;gt; +	}
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;	if (simple)
&lt;br&gt;&amp;gt; &amp;nbsp;		printf(&amp;quot;%lu.%03lu\n&amp;quot;,
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; 1.6.5.2
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260731&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-v5-0-7--Adding-general-performance-benchmarking-subcommand-to-perf.-tp26207274p26260731.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260720</id>
	<title>Re: [PATCH 05/10] kbuild: sort the list of symbols exported by the kernel (__ksymtab)</title>
	<published>2009-11-08T19:17:57Z</published>
	<updated>2009-11-08T19:17:57Z</updated>
	<author>
		<name>Rusty Russell</name>
	</author>
	<content type="html">On Fri, 6 Nov 2009 12:54:10 am Alan Jenkins wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Sam Ravnborg wrote:
&lt;br&gt;&amp;gt; &amp;gt; On Wed, Nov 04, 2009 at 10:00:50AM +0000, Alan Jenkins wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Rusty Russell wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; On Tue, 3 Nov 2009 08:36:17 pm Alan Jenkins wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; +/*
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; + * We use CPP macros since they are more familiar than assembly macros.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; + * Note that CPP macros eat newlines, so each statement must be terminated
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; + * by a semicolon.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; + */
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; +
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; +#ifdef CONFIG_HAVE_SYMBOL_PREFIX
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; +#define __SYM(sym) _##sym
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; +#else
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; +#define __SYM(sym) sym
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; +#endif
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Ideally, you would used MODULE_SYMBOL_PREFIX here, but of course it's a
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; string. &amp;nbsp;I don't think Kconfig can do arbitrary identifiers, so we can't
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; make CONFIG_SYMBOL_PREFIX empty or _.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Perhaps clarify it to a bool CONFIG_HAVE_MODULE_UNDERSCORE_PREFIX then,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; since that's what you're assuming here?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Rusty.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I made the same assumption in patch 4. &amp;nbsp;The arch defines &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; CONFIG_HAVE_SYMBOL_PREFIX, which then causes init/Kconfig to define &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; CONFIG_SYMBOL_PREFIX=&amp;quot;_&amp;quot;.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Mike suggested that I hack kbuild instead, to do something like
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; unquote = ...
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; AFLAGS_.tmp_export-asm.o += -DSYMBOL_PREFIX=$(unquote CONFIG_SYMBOL_PREFIX)
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I'm experimenting with the idea, but I haven't managed to get it working &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Something like this:
&lt;br&gt;&amp;gt; &amp;gt; unquote = $(patsubst &amp;quot;%&amp;quot;,%,$($1))
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; AFLAGS_.tmp_export-asm.o += -DSYMBOL_PREFIX=$(call unquote,CONFIG_SYMBOL_PREFIX)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; But the readability is low so we could be better off doing it direct:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; AFLAGS_.tmp_export-asm.o += -DSYMBOL_PREFIX=$(patsubst &amp;quot;%&amp;quot;,&amp;quot;,$(CONFIG_SYMBOL_PREFIX))
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 	Sam
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks to both of you, I have something that works now. 
&lt;/div&gt;&lt;br&gt;I've taken this, but really, it's overkill. &amp;nbsp;Changing the config to a fixed
&lt;br&gt;&amp;quot;underscore or nothing&amp;quot; was simpler and demonstrably sufficient for all cases
&lt;br&gt;in the last 5 years.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Rusty.
&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260720&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Fast-LKM-symbol-resolution-tp26167060p26260720.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260701</id>
	<title>[PATCH] perf bench:Fix bench/sched-pipe.c to wait child process</title>
	<published>2009-11-08T19:13:08Z</published>
	<updated>2009-11-08T19:13:08Z</updated>
	<author>
		<name>tip-bot for Hitoshi Mitake</name>
	</author>
	<content type="html">Fixed bench/sched-pipe.c to avoid the below case
&lt;br&gt;notified by Ingo Molnar,
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&lt;br&gt;$ ./perf bench sched pipe
&lt;br&gt;(executing 1000000 pipe operations between two tasks)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Total time:4.898 sec
&lt;br&gt;$ 		4.898586 usecs/op
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 204140 ops/sec
&lt;br&gt;&lt;br&gt;the shell prompt came back before the usecs/op and ops/sec line was
&lt;br&gt;printed. Process teardown race, lack of wait() or so?
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&lt;br&gt;This caused by lack of calling waitpid() by parent process,
&lt;br&gt;so I added it.
&lt;br&gt;&lt;br&gt;Signed-off-by: Hitoshi Mitake &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260701&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mitake@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Rusty Russell &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260701&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rusty@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Peter Zijlstra &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260701&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.p.zijlstra@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Paul Mackerras &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260701&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paulus@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Mike Galbraith &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260701&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;efault@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Arnaldo Carvalho de Melo &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260701&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;acme@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Frederic Weisbecker &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260701&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fweisbec@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: Jiri Kosina &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260701&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jkosina@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;tools/perf/bench/sched-pipe.c | &amp;nbsp; 10 +++++++---
&lt;br&gt;&amp;nbsp;1 files changed, 7 insertions(+), 3 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/tools/perf/bench/sched-pipe.c b/tools/perf/bench/sched-pipe.c
&lt;br&gt;index 3214ed2..6a29100 100644
&lt;br&gt;--- a/tools/perf/bench/sched-pipe.c
&lt;br&gt;+++ b/tools/perf/bench/sched-pipe.c
&lt;br&gt;@@ -26,6 +26,7 @@
&lt;br&gt;&amp;nbsp;#include &amp;lt;errno.h&amp;gt;
&lt;br&gt;&amp;nbsp;#include &amp;lt;assert.h&amp;gt;
&lt;br&gt;&amp;nbsp;#include &amp;lt;sys/time.h&amp;gt;
&lt;br&gt;+#include &amp;lt;sys/types.h&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#define LOOPS_DEFAULT 1000000
&lt;br&gt;&amp;nbsp;static int loops = LOOPS_DEFAULT;
&lt;br&gt;@@ -58,8 +59,8 @@ int bench_sched_pipe(int argc, const char **argv,
&lt;br&gt;&amp;nbsp;	 * discarding returned value of read(), write()
&lt;br&gt;&amp;nbsp;	 * causes error in building environment for perf
&lt;br&gt;&amp;nbsp;	 */
&lt;br&gt;-	int ret;
&lt;br&gt;-	pid_t pid;
&lt;br&gt;+	int ret, wait_stat;
&lt;br&gt;+	pid_t pid, retpid;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	argc = parse_options(argc, argv, options,
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp; bench_sched_pipe_usage, 0);
&lt;br&gt;@@ -87,8 +88,11 @@ int bench_sched_pipe(int argc, const char **argv,
&lt;br&gt;&amp;nbsp;	gettimeofday(&amp;stop, NULL);
&lt;br&gt;&amp;nbsp;	timersub(&amp;stop, &amp;start, &amp;diff);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (pid)
&lt;br&gt;+	if (pid) {
&lt;br&gt;+		retpid = waitpid(pid, &amp;wait_stat, 0);
&lt;br&gt;+		assert((retpid == pid) &amp;&amp; WIFEXITED(wait_stat));
&lt;br&gt;&amp;nbsp;		return 0;
&lt;br&gt;+	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (simple)
&lt;br&gt;&amp;nbsp;		printf(&amp;quot;%lu.%03lu\n&amp;quot;,
&lt;br&gt;-- 
&lt;br&gt;1.6.5.2
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;To unsubscribe from this list: send the line &amp;quot;unsubscribe linux-kernel&amp;quot; in
&lt;br&gt;the body of a message to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260701&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;majordomo@...&lt;/a&gt;
&lt;br&gt;More majordomo info at &amp;nbsp;&lt;a href=&quot;http://vger.kernel.org/majordomo-info.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vger.kernel.org/majordomo-info.html&lt;/a&gt;&lt;br&gt;Please read the FAQ at &amp;nbsp;&lt;a href=&quot;http://www.tux.org/lkml/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tux.org/lkml/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-v5-0-7--Adding-general-performance-benchmarking-subcommand-to-perf.-tp26207274p26260701.html" />
</entry>

</feed>
