Re: perf: weird si_code results on overflow signal

From: Eric W. Biederman
Date: Tue Sep 19 2017 - 14:23:05 EST


Vince Weaver <vincent.weaver@xxxxxxxxx> 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