So, good news.

I pulled in the ubuntu kernel sources and applied the main patch I had
previously identified
(https://github.com/torvalds/linux/commit/c3cc39118c3610eb6ab4711bc624af7fc48a35fe).
Looking at the other patch
(https://github.com/torvalds/linux/commit/e27be240df53), that seems to
be related to the accuracy of returned statistics which is not something
that my testcase is going to show up.

I built a version of the 4.15.0-142 kernel with patch, and booted back
into it, and with two iterations of my testcase my `nr_writeback` value
has ended up on zero - which is excellent news. From previous runs it
has never failed to leak, so this looks good to me. I will run it some
more, but it is safe to say I am pretty happy at this point.

To that end, I believe that
https://github.com/torvalds/linux/commit/c3cc39118c3610eb6ab4711bc624af7fc48a35fe
"mm: memcontrol: fix NR_WRITEBACK leak in memcg and system stats" does
indeed fix this issue and the symptoms I have reported above.

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

Title:
  nr_writeback memory leak in kernel 4.15.0-137+

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

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

Reply via email to