I'm working with CentOS Linux kernel version 3.10.0-1160.49.1 and I also
noticed that kswapd0 runs for over 20 seconds and seem to cause a kernel
panic.  In examining the kswapd() code, it has an infinite loop.  It can
only break from this loop if the function, kthread_should_stop() returns
as true.  This function tests the current task's flag for the bit
KTHREAD_SHOULD_STOP is set.  This bit will only be set if a call to
to_live_kthread() that will get a pointer to the current kernel thread.
If the pointer is NULL, then the KTHREAD_SHOULD_STOP bit will not be
set.  This may be the problem with this BUG.

Anyone have a comment?

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

Title:
  kswapd0 100% CPU usage

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to