RE: 2.6.17-1.2145_FC5 mmap-related soft lockup

From: Gary Funck
Date: Tue Jul 18 2006 - 22:23:52 EST



>
> Are you able to confirm that setting CONFIG_DEBUG_SPINLOCK=n fixes it?
>
> And are you able to get us a copy of that test app?

Yes, I just ran the test with 2.6.17.6. With CONFIG_DEBUG_SPINLOCK=y
the test fails and the soft lockup situation often results.
However, when built with CONFIG_DEBUG_SPINLOCK=n, the test passes,
and runs rather quickly in comparison to when it fails.

I've attached a slightly updated version of the test case.
It is a little more carefully crafted and prints some
output so that you have some idea that it is working.

Attachment: mmap_soft_lockup_x86_64.c
Description: Binary data