RE: Possible patch for vm/vm_glue.c

2003-08-14 Thread John Baldwin
On 11-Aug-2003 Rui Lopes wrote: > Hello, > > I've been reading vm_glue.c and I think I've found a bug regarding the > lock of `proc.p_sflag' inside `scheduler' function. > >>From proc.h, "int p_sflag; /* (j) PS_* flags. */" and "(j) - locked by > sched_lock mtx"; but the access is done without

Possible patch for vm/vm_glue.c

2003-08-14 Thread Rui Lopes
Hello, I've been reading vm_glue.c and I think I've found a bug regarding the lock of `proc.p_sflag' inside `scheduler' function. >From proc.h, "int p_sflag; /* (j) PS_* flags. */" and "(j) - locked by sched_lock mtx"; but the access is done without having the lock. Take a look at the attached