Full reproducer referenced in the kernel revert:

#include <sys/epoll.h>
#include <sys/time.h>
#include <sys/wait.h>

int main() {
  int e = epoll_create1(0);
  struct epoll_event event = {.events = EPOLLIN};
  epoll_ctl(e, EPOLL_CTL_ADD, 0, &event);
  const struct timespec timeout = {.tv_nsec = 1};
  epoll_pwait2(e, &event, 1, &timeout, 0);
}


I tested this locally and it really spins on 6.14.0.17-17 while behaving 
normally on 6.14.0.15-15.

I'm marking the snapd and go tasks as invalid

** Changed in: golang
       Status: New => Invalid

** Changed in: snapd
   Importance: High => Undecided

** Changed in: snapd
       Status: Confirmed => Invalid

** Changed in: snapd
     Assignee: Zygmunt Krynicki (zyga) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2110289

Title:
  snapd has high CPU usage for exactly 150 seconds every 5, 7.5 or 10
  minutes

To manage notifications about this bug go to:
https://bugs.launchpad.net/golang/+bug/2110289/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to