Re: Spinlocks, yet again: analysis and proposed patches

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Douglas McNaught <doug@mcnaught.org>
Cc: Greg Stark <gsstark@mit.edu>, Marko Kreen <marko@l-t.ee>, pgsql-hackers@postgresql.org
Date: 2005-09-13T17:38:08Z
Lists: pgsql-hackers
Douglas McNaught <doug@mcnaught.org> writes:
> Greg Stark <gsstark@mit.edu> writes:
>> What Tom found was that some processes are never scheduled when sched_yield is
>> called. There's no reason that should be happening.

> Yeah, that would probably be a bug...

I suspect the kernel hackers might consider it deliberate in a
NUMA-aware kernel.

			regards, tom lane