stack overflow debugging and fix.

  * in 6l, -K already meant check for stack underflow.
    add -KK to mean double-check stack overflows
    even in nosplit functions.

  * comment out print locks; they deadlock too easily
     but are still useful to put back for special occasions.

  * let runcgo assembly switch to scheduler stack
    without involving scheduler directly.  because runcgo
    gets called from matchmg, it is too hard to keep it
    from being called on other stacks.

R=r
DELTA=94  (65 added, 18 deleted, 11 changed)
OCL=35591
CL=35604
7 files changed
tree: da51e7592c895d32c8acf0bed84cdd5cfa1dbc01
  1. doc/
  2. include/
  3. lib/
  4. misc/
  5. pkg/
  6. src/
  7. test/
  8. usr/
  9. AUTHORS
  10. LICENSE