Re: Spinlocks, yet again: analysis and proposed patches
Greg Stark <gsstark@mit.edu>
From: Greg Stark <gsstark@mit.edu>
To: Marko Kreen <marko@l-t.ee>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org
Date: 2005-09-13T13:47:46Z
Lists: pgsql-hackers
Marko Kreen <marko@l-t.ee> writes: > > (I speculate that it's set up to only yield the processor to other > > processes already affiliated to that processor. In any case, it > > is definitely capable of getting through 10000 yields without > > running the guy who's holding the spinlock.) Maybe it should try sched_yield once and then use select after that? -- greg