spinlock random exponential backoff

Matthew Dillon dillon at apollo.backplane.com
Sat May 3 21:03:35 PDT 2008

:I have problem under specific test case, if I use spinlock on ifq (got
:many "indefinite wait" logging).  With following patch things improve
:greatly, there is almost no "indefinite wait"!.  Please review it:
:Best Regards,

    Looks good.  We might want to also change that cpu_nop() into a
    cpu_pause(), or perhaps even call both.

					Matthew Dillon 
					<dillon at backplane.com>

More information about the Submit mailing list