public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Re: O(1) MQ scheduler J9 patch for IA64
@ 2002-02-08  6:11 David Mosberger
  2002-02-08  6:37 ` William Lee Irwin III
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Mosberger @ 2002-02-08  6:11 UTC (permalink / raw)
  To: linux-ia64

  Erich> I had to add a function smp_call_function_nowait which sends
  Erich> an IPI and returns immediately in order to get rid of a
  Erich> IA64-specific race condition when the mmu_context wraps
  Erich> around. Now it makes a very stable and fast impression,
  Erich> interactive work is even possible while doing a "hackbench
  Erich> 55" and ping flooding the machine... Tested on 2 CPU BigSur,
  Erich> 4 CPU LION, 16 CPU AzusA.

Hmmh, I'm a bit worried that this is a fragile solution.  It would
break if there ever was a scenario where a task migrated from one CPU
to another while the target CPU has interrupts disabled.  I do not
think this can happen with Ingo's current scheduler but I'd prefer a
more robust solution.

A somewhat cheesy solution might be to have a per-CPU flag that
indicates whether a CPU should flush its TLB before switching to the
next task.  We could check for this in activate_mm().  Do you want to
try this?

	--david


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

end of thread, other threads:[~2002-02-08 17:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-08  6:11 [Linux-ia64] Re: O(1) MQ scheduler J9 patch for IA64 David Mosberger
2002-02-08  6:37 ` William Lee Irwin III
2002-02-08  6:40 ` David Mosberger
2002-02-08 17:37 ` [Linux-ia64] Re: O(1) MQ scheduler J9 patch for IA64 -> K3 patch Erich Focht

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