linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [BUG] Read-Only THP causes stalls (commit 10359213d)
@ 2015-05-24 19:34 Christoffer Dall
  2015-05-25 10:05 ` Kirill A. Shutemov
  2015-05-25 14:15 ` Andrea Arcangeli
  0 siblings, 2 replies; 11+ messages in thread
From: Christoffer Dall @ 2015-05-24 19:34 UTC (permalink / raw)
  To: linux-mm, ebru.akagunduz
  Cc: akpm, linux-kernel, kirill.shutemov, riel, vbabka, zhangyanfei,
	aarcange, Will Deacon, Andre Przywara, Marc Zyngier,
	linux-arm-kernel

Hi all,

I noticed a regression on my arm64 APM X-Gene system a couple
of weeks back.  I would occassionally see the system lock up and see RCU
stalls during the caching phase of kernbench.  I then wrote a small
script that does nothing but cache the files
(http://paste.ubuntu.com/11324767/) and ran that in a loop.  On a known
bad commit (v4.1-rc2), out of 25 boots, I never saw it get past 21
iterations of the loop.  I have since tried to run a bisect from v3.19 to
v4.0 using 100 iterations as my criteria for a good commit.

This resulted in the following first bad commit:

10359213d05acf804558bda7cc9b8422a828d1cd
(mm: incorporate read-only pages into transparent huge pages, 2015-02-11)

Indeed, running the workload on v4.1-rc4 still produced the behavior,
but reverting the above commit gets me through 100 iterations of the
loop.

I have not tried to reproduce on an x86 system.  Turning on a bunch
of kernel debugging features *seems* to hide the problem.  My config for
the XGene system is defconfig + CONFIG_BRIDGE and
CONFIG_POWER_RESET_XGENE.

Please let me know if I can help test patches or other things I can
do to help.  I'm afraid that by simply reading the patch I didn't see
anything obviously wrong with it which would cause this behavior.

Thanks,
-Christoffer

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-05-26 14:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-24 19:34 [BUG] Read-Only THP causes stalls (commit 10359213d) Christoffer Dall
2015-05-25 10:05 ` Kirill A. Shutemov
2015-05-25 10:19   ` Christoffer Dall
2015-05-25 14:15 ` Andrea Arcangeli
2015-05-26  8:08   ` Christoffer Dall
2015-05-26 10:57     ` Marc Zyngier
2015-05-26 14:24     ` Steve Capper
2015-05-26 14:35       ` Christoffer Dall
2015-05-26 14:48         ` Steve Capper
2015-05-26 14:58         ` Andrea Arcangeli
2015-05-26 14:42     ` Andrea Arcangeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox