]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move the P_COWINPROGRESS flag from being a per-process p_flag to being a
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 23 Oct 2003 21:14:08 +0000 (21:14 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 23 Oct 2003 21:14:08 +0000 (21:14 +0000)
commit787f162df640ce60412862fdec45da6332ae0178
tree92347204159854ea2607ebb884c5d756af8b66d2
parent06cb76bde3d748312d827e53f216c65fb0984475
Move the P_COWINPROGRESS flag from being a per-process p_flag to being a
per-thread td_pflag which doesn't require any locks to read or write as it
is only read or written by curthread on itself.

Glanced at by: mckusick
sys/kern/vfs_bio.c
sys/sys/proc.h
sys/ufs/ffs/ffs_snapshot.c
sys/ufs/ffs/ffs_softdep.c