lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABQzsv_8mOH3LJa=vSW6F56V2CtxMwp8+3OX1ns=nEiW3P=QaA@mail.gmail.com>
Date:	Wed, 24 Aug 2011 09:51:28 -0700
From:	Ken Chen <kenchen@...gle.com>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	"Luck,Tony" <tony.luck@...el.com>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	Ralf Baechle <ralf@...ux-mips.org>,
	David Miller <davem@...emloft.net>
Subject: Re: [ia64] Question on __ARCH_WANT_UNLOCKED_CTXSW

On Wed, Aug 24, 2011 at 5:27 AM, Peter Zijlstra wrote:
> Ken, Tony,
>
> happen to remember what the perceived benefit of using
> __ARCH_WANT_UNLOCKED_CTXSW was about?

Boy, this was so long ago and my memory is fading.  Low level ia64 arch
has lengthy context switch path in assembly code due to large CPU register
file, IIRC __ARCH_WANT_UNLOCKED_CTXSW gave lower runqueue lock contention
for workloads that was heavy in wakeup and ctx switch events (I remember it
was particularly useful on large smp machine that has hundreds of CPUs).
I don't know whether the situation still applies today when scheduler code
evolved quite a bit over past 5 years.  I think the needs for ia64 require
a fresh re-evaluation.

- Ken
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ