Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/sys/lwp.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/sys/lwp.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.56.2.15 retrieving revision 1.56.2.16 diff -u -p -r1.56.2.15 -r1.56.2.16 --- src/sys/sys/lwp.h 2007/10/09 13:45:09 1.56.2.15 +++ src/sys/sys/lwp.h 2007/10/10 23:03:25 1.56.2.16 @@ -1,4 +1,4 @@ -/* $NetBSD: lwp.h,v 1.56.2.15 2007/10/09 13:45:09 ad Exp $ */ +/* $NetBSD: lwp.h,v 1.56.2.16 2007/10/10 23:03:25 rmind Exp $ */ /*- * Copyright (c) 2001, 2006, 2007 The NetBSD Foundation, Inc. @@ -94,6 +94,7 @@ struct lwp { uint64_t l_nivcsw; /* l: involuntary context switches */ int l_cpticks; /* t: Ticks of CPU time */ fixpt_t l_pctcpu; /* t: %cpu during l_swtime */ + int l_policy; /* l: scheduling policy */ kmutex_t l_swaplock; /* l: lock to prevent swapping */ /* Synchronisation */