Will p_priority be broken?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=yjtGyOoGLPsfyBehD35XaSNFjNsA7cpt1DZUlqrg0enhYN0JiwW2z8vh147M3G/La6BIath5AocZ35glHxe+60CNchzqGbNSZqmsSeS+T1z8P+JySaoz5Mi6ouCIl2H9hRdaxzHxQFX9lxlv7yWfylivFBbbZ1H2JYn/EU71Oak= ; _sleep() { ... ... s = splhigh(); ... p->p_priority = pri & PRIMASK; ... } looks like splhigh() cannot protect p->p_priority from broken if current_proc() has two threads running in two different funnels, and they try to change priority at same time. __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Ramble Leon