Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2003 13:28:21 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_thread.c src/sys/sys proc.h
Message-ID:  <200308042028.h74KSL5x051662@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2003/08/04 13:28:21 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             kern_thread.c 
    sys/sys              proc.h 
  Log:
  Set td_critnest to 1 when setting up a thread since it is a MI field with
  MI values.  This ensures that td_critnest for a newly fork'd thread is
  always valid.
  
  Requested by:   bde (a long time ago)
  
  Revision  Changes    Path
  1.154     +1 -0      src/sys/kern/kern_thread.c
  1.344     +1 -1      src/sys/sys/proc.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308042028.h74KSL5x051662>