Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1411726 > unrolled thread

Re: IOV iterator bug in net tree

Started byDavid Miller <davem@davemloft.net>
First post2016-06-02 02:50 +0200
Last post2016-06-02 03:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: IOV iterator bug in net tree David Miller <davem@davemloft.net> - 2016-06-02 02:50 +0200
    Re: IOV iterator bug in net tree Alexander Duyck <alexander.duyck@gmail.com> - 2016-06-02 03:00 +0200

#1411726 — Re: IOV iterator bug in net tree

FromDavid Miller <davem@davemloft.net>
Date2016-06-02 02:50 +0200
SubjectRe: IOV iterator bug in net tree
Message-ID<rFoZH-7mi-3@gated-at.bofh.it>
From: Alexander Duyck <alexander.duyck@gmail.com>
Date: Fri, 27 May 2016 21:32:39 -0700

> On Fri, May 27, 2016 at 11:21 AM, Alexander Duyck
> <alexander.duyck@gmail.com> wrote:
>> I started out this morning by trying to run DevStack on the latest
>> "net' kernel and it looks like I am hanging on some sort of locking
>> problem with RabbitMQ.  Specifically I am seeing one CPU jump to 100%
>> with perf showing that I am spinning on a lock.
>>
>> I'm working to bisect it now, but just thought I would put it out
>> there if anybody had already root caused this issue.  Below is a few
>> traces to the spin lock call on the spinning CPU:
> 
> I misread the perf trace.  I wasn't spinning on a lock I was spinning
> on the IOV iterator.  It just happened to push the lock to the top of
> the perf trace.  I bisected it down to the recent change in
> iterate_and_advance which was already fixed in Linus's tree in commit
> 19f18459330f "do 'fold checks into iterate_and_advance()" right'.

Since I resynced both of my trees with Linus's, this should be resolved
now, right?

[toc] | [next] | [standalone]


#1411728

FromAlexander Duyck <alexander.duyck@gmail.com>
Date2016-06-02 03:00 +0200
Message-ID<rFp9o-7pj-3@gated-at.bofh.it>
In reply to#1411726
On Wed, Jun 1, 2016 at 5:42 PM, David Miller <davem@davemloft.net> wrote:
> From: Alexander Duyck <alexander.duyck@gmail.com>
> Date: Fri, 27 May 2016 21:32:39 -0700
>
>> On Fri, May 27, 2016 at 11:21 AM, Alexander Duyck
>> <alexander.duyck@gmail.com> wrote:
>>> I started out this morning by trying to run DevStack on the latest
>>> "net' kernel and it looks like I am hanging on some sort of locking
>>> problem with RabbitMQ.  Specifically I am seeing one CPU jump to 100%
>>> with perf showing that I am spinning on a lock.
>>>
>>> I'm working to bisect it now, but just thought I would put it out
>>> there if anybody had already root caused this issue.  Below is a few
>>> traces to the spin lock call on the spinning CPU:
>>
>> I misread the perf trace.  I wasn't spinning on a lock I was spinning
>> on the IOV iterator.  It just happened to push the lock to the top of
>> the perf trace.  I bisected it down to the recent change in
>> iterate_and_advance which was already fixed in Linus's tree in commit
>> 19f18459330f "do 'fold checks into iterate_and_advance()" right'.
>
> Since I resynced both of my trees with Linus's, this should be resolved
> now, right?

Yes, I pulled the latest net tree a few hours ago and it is working
without any issues.

Thanks.

- Alex

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web