Skip to contentSkip to conversation

perf: weird si_code results on overflow signal

DISCUSSION Vince Weaver 2 participants 3 messages Sep 13, 2017 – Sep 19, 2017

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 9 lines · Vince Weaver

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

#2 lore raw
Quoted 5 lines · Vince Weaver
Quoted 3 lines · Vince Weaver

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

Quoted 8 lines
Quoted 6 lines

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