From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 23 Aug 2012 09:27:06 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] devmnt crash, fix. Topicbox-Message-UUID: ae4548a2-ead7-11e9-9d60-3106f5b1d025 On Thu Aug 23 05:50:45 EDT 2012, cinap_lenrek@gmx.de wrote: > can you provide the source file, dont have current 9atom iso handy here's the full kernel source: http://ftp.quanstro.net/other/kernel.mkfs.bz2 > and the stuff i found on the net doesnt seem to cut it. however, > i found http://www.quanstro.net/plan9/sleepwake.html which at the > end gives a solution to the problem: this was actually distilled from the solution that devaoe uses. the main simplification is in the case of a note. which is key in this case, since it would be very annoying for devmnt to ignore notes. > that would be relatively easy to apply to devmnt and doesnt have the > problem of spurious wakeups with abusing up->sleep as rendez. any time you use sleep/wakeup, you're going to have to deal with spurious wakeups. it does not matter which rendezvous structure you use. it doesn't matter if it's shared or not. it's perfectly valid for sleep to return for no reason at all! - erik