From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 From: Venkatesh Srinivas Date: Wed, 9 Dec 2009 11:55:26 -0500 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: [9fans] port/allocb.c question Topicbox-Message-UUID: ade64ef8-ead5-11e9-9d60-3106f5b1d025 Hi, In _allocb() in port/allocb.c, there is an _xinc(&b->ref) on a long inside the Block header. No one else ought have a pointer to this block yet, seeing as its not done being allocated. Is there any reason a locked increment is being used? -- vs