Re: Weird issue with epoll and kernel >= 5.0
From: Kris Karas
Date: Sat Mar 28 2020 - 15:18:16 EST
Hi Omar -
Omar Kilani wrote:
I've observed an issue with epoll and kernels 5.0 and above when a
system is generating a lot of epoll events.
It's tough getting an audience here on LK, unless you happen to
cross-post to one of the very specific mailing lists (or directly to
individuals) who maintain a particular subsystem. I just rejoined LK
after a 15 year hiatus; it's a rather different neighborhood. *cough*Â
But I digress.
My first question on your issue is, after booting, how long does it take
to show up? Can you reproduce it fairly easily? If the answer is
"Yes," and you seem to be able to afford the resources for a multi-CPU
VM, then making a bisecting run would likely narrow it down to something
you could then email directly to the relevant maintainer.
If you are not already familiar with bisecting, the git documentation on
bisecting is the definitive reference:
https://git-scm.com/docs/git-bisect
But it is quite long. You can usually find a more abbreviated version
by googling for "<yourdistroname> git bisect"; the ones for Arch and
Ubuntu are pretty decent.
Once you know which file is relevant, you can run:
$ ./scripts/get_maintainer.pl --file drivers/foo/bar.c
... or whatever "git bisect" says is the culprit file, and use the
script output as the To: for your email message.
Good luck!
Kris