vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

swap.ed (323B)


      1 ,s;(void\*);(void *v);g
      2 ,s;lock(\&swapalloc);lock(\&swapalloc.lk);g
      3 ,s;s->ref ==;s->ref.ref ==;g
      4 ,s;s->ref++;s->ref.ref++;g
      5 ,s;(s = p->seg\[i\]);(&);g
      6 ,s;lock(s);lock(\&s->ref.lk);g
      7 ,s;lock(out);lock(\&out->lk);g
      8 ,s;lock(outp);lock(\&outp->lk);g
      9 g/swopen/d
     10 /if(!cpuserver)/;/else/c
     11 			if(!cpuserver || freebroken() == 0)
     12 .