smp_call_function's wait is split out
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 27 Apr 2009 00:03:13 +0000 (17:03 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 27 Apr 2009 00:03:13 +0000 (17:03 -0700)
commit9cd0b846940088282355d04150fa6319fc00b428
treed241b0ac9b362471ecac2528f5ad0000be767f47
parent1531d297891feedc02b7c160d5ffa1edbcf09ea1
smp_call_function's wait is split out

waiting on an smp_call can be done via a separate function afterwards,
so that you can do other things before waiting.

need to be very careful with this currently - you can easily deadlock
the system if you try to do an smp_call with a wait while having an
outstanding wait.  you could try to grab the same wrapper as the one you
are currently waiting on, and if the front end is clean, you'll spin
trying to commit to the backend checklist.  need to sort this.
kern/smp.c
kern/smp.h
kern/testing.c