
of using it directly, use a local, and set that local to be curproc if curproc is not NULL else a pointer to process 0's proc struct. If syncing disks while handling a panic that occurred while 'curproc' was NULL, the old code would dereference NULL and die.
…
Description
No description provided
Languages
C
85.3%
Roff
7.2%
Assembly
3.1%
Shell
1.7%
Makefile
1.2%
Other
0.9%