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


Groups > linux.kernel > #1731697 > unrolled thread

perf: weird si_code results on overflow signal

Started byVince Weaver <vincent.weaver@maine.edu>
First post2017-09-13 18:10 +0200
Last post2017-09-19 20:30 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  perf: weird si_code results on overflow signal Vince Weaver <vincent.weaver@maine.edu> - 2017-09-13 18:10 +0200
    Re: perf: weird si_code results on overflow signal Vince Weaver <vincent.weaver@maine.edu> - 2017-09-19 13:50 +0200
      Re: perf: weird si_code results on overflow signal ebiederm@xmission.com (Eric W. Biederman) - 2017-09-19 20:30 +0200

#1731697 — perf: weird si_code results on overflow signal

FromVince Weaver <vincent.weaver@maine.edu>
Date2017-09-13 18:10 +0200
Subjectperf: weird si_code results on overflow signal
Message-ID<upioH-1as-17@gated-at.bofh.it>
Hello

I just compiled up a fresh git kernel and all of the perf_event_test 
overflow tests are failing.

The reason is that instead of getting POLL_IN or POLL_HUP sources as 
expected, they are getting weird results in si_code of "-5".

I haven't had time to bisect this, but I do notice that some major changes 
to si_code handling went in with
	64a76d0d64bea159da997c002a916ffc03f98bfc

Vince

[toc] | [next] | [standalone]


#1734828

FromVince Weaver <vincent.weaver@maine.edu>
Date2017-09-19 13:50 +0200
Message-ID<urpcl-4Vk-11@gated-at.bofh.it>
In reply to#1731697
On Wed, 13 Sep 2017, Vince Weaver wrote:

> I just compiled up a fresh git kernel and all of the perf_event_test 
> overflow tests are failing.
> 
> The reason is that instead of getting POLL_IN or POLL_HUP sources as 
> expected, they are getting weird results in si_code of "-5".
> 
> I haven't had time to bisect this, but I do notice that some major changes 
> to si_code handling went in with
> 	64a76d0d64bea159da997c002a916ffc03f98bfc

resending in case everyone was away at plumbers...

Vince

[toc] | [prev] | [next] | [standalone]


#1735149

Fromebiederm@xmission.com (Eric W. Biederman)
Date2017-09-19 20:30 +0200
Message-ID<urvrs-qK-13@gated-at.bofh.it>
In reply to#1734828
Vince Weaver <vincent.weaver@maine.edu> writes:

> On Wed, 13 Sep 2017, Vince Weaver wrote:
>
>> I just compiled up a fresh git kernel and all of the perf_event_test 
>> overflow tests are failing.
>> 
>> The reason is that instead of getting POLL_IN or POLL_HUP sources as 
>> expected, they are getting weird results in si_code of "-5".
>> 
>> I haven't had time to bisect this, but I do notice that some major changes 
>> to si_code handling went in with
>> 	64a76d0d64bea159da997c002a916ffc03f98bfc
>
> resending in case everyone was away at plumbers...

Apologies it looks like I missed this one the first time through.

I will push ou tthe fix in just a minute.

Eric

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web