Comment 5 for bug 1761674

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2018-04-14 06:40 EDT-------
(In reply to comment #14)
> I built a 16.04(4.4 based kenrel) with the requested patch.
>
> The test kernel can be downloaded from:
> http://kernel.ubuntu.com/~jsalisbury/lp1761674/xenial
>
> Can you test this kernel and see if it resolves this bug?
>
> Note, to test this kernel, you need to install both the linux-image and
> linux-image-extra .deb packages.

The bug is close to impossible to reproduce, since it's a hard to hit race. So I could only verify that the kernel/system still boots and did some basic tests - which all passed.

------- Comment From <email address hidden> 2018-04-14 06:43 EDT-------
(In reply to comment #14)
> I also tried to apply this patch to the 4.13 based 17.10 Artful kernel.
> However, I'll have to perform allot of back porting for Artful. For
> example, the patch relies on _raw_compare_and_swap(). However, this
> function was removed in v4.12-rc1 by commit 02c503f. Can you confirm this
> patch is needed in Artful, and if you recommend any prereq patches?

Yes, the bug is also present in v4.13. I attached a kernel patch agains vanilla v4.13 that is supposed to fix the bug for this kernel version as well.