Re: Restructure vfs_busy and friends

2017-04-14 Thread Taylor R Campbell
> Date: Fri, 14 Apr 2017 12:22:48 +0200 > From: "J. Hannken-Illjes" > > Currently we have: > > - vfs_busy(mp, NULL) to take a reference on the mount and enter > a critical section against unmounting. > [...] > > Plan is to restructure this as follows: > > -

Kernel party trick

2017-04-14 Thread coypu
Have YOU ever wanted to quickly analyze locking on a long function? well, wait no longer! I have this function as a script: $ cat ~/bin/fun #!/bin/sh awk "/^$@/,/^}/" * Example usage: $ fun lfs_truncate |grep -e mutex -e PUTPAGES