User Tools

Site Tools


anecdotes:not_expected_to_understand_this

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
anecdotes:not_expected_to_understand_this [2016/01/12 10:32] wktanecdotes:not_expected_to_understand_this [2016/01/23 10:38] wkt
Line 29: Line 29:
      */      */
     if(rp->p_flag&SSWAP) {     if(rp->p_flag&SSWAP) {
-   rp->p_flag =& ~SSWAP;+        rp->p_flag =& ~SSWAP;
         aretu(u.u_ssav);         aretu(u.u_ssav);
     }     }
Line 44: Line 44:
  
 So, for Steve Johnson and me, trying to move the kernel for the first time to a new machine, this code was indeed on the exam. It took about a week of agonizing before we finally convinced each other that the mechanism was wrong and no fiddling with the compiler was useful. We redid the coroutine control-passing primitives altogether, and this code section, and the comment, passed into history. So, for Steve Johnson and me, trying to move the kernel for the first time to a new machine, this code was indeed on the exam. It took about a week of agonizing before we finally convinced each other that the mechanism was wrong and no fiddling with the compiler was useful. We redid the coroutine control-passing primitives altogether, and this code section, and the comment, passed into history.
 +
 +Also see [[https://www.youtube.com/watch?v=uxtKwJZbYr0|Brian Kernighan's tribute to Dennis Ritchie]] around the 4:20 mark.
  
anecdotes/not_expected_to_understand_this.txt · Last modified: 2022/07/08 09:22 by 192.99.0.24