public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* futex testsuite suggestion...
@ 2014-10-27 19:56 David Miller
  2014-10-27 20:29 ` Darren Hart
  0 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2014-10-27 19:56 UTC (permalink / raw)
  To: dvhart; +Cc: linux-kernel


First of all, thanks so much for writing your futex test suite, it's
proved invaluable for sparc64 kernel development for me lately.

I'd like to suggest that you add a test that triggers transparent
hugepages, because if an architecture doesn't implement
__get_user_pages_fast() such futexes cause a machine to hang.

I hacked up something simple that took the existing performance
test and made it operate in a register allocated using memalign().

I would suggest doing a memalign(HUGEPAGE_SIZE, HUGEPAGE_SIZE) then
iterating running a futex test within each normal page within that
hugepage.

Thanks!

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

end of thread, other threads:[~2014-11-24 22:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-27 19:56 futex testsuite suggestion David Miller
2014-10-27 20:29 ` Darren Hart
2014-10-27 20:31   ` David Miller
2014-11-22  8:02     ` Darren Hart
2014-11-24 22:07       ` David Miller

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