Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2007 16:51:34 +0000 (UTC)
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 init_main.c kern_thread.c
Message-ID:  <200703271651.l2RGpZfv012442@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2007-03-27 16:51:34 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             init_main.c kern_thread.c 
  Log:
  Align 'struct thread' on 16 byte boundaries so that the lower 4 bits are
  always 0.  Previously we aligned threads on a minimum of 8-byte boundaries.
  
  Note: This changes the uma zone to no longer cache align threads.  We
  really want the uma zone to do align threads to MAX(16, cache line size)
  but there currently isn't a good way to express that to uma.
  
  Submitted by:   attilio
  
  Revision  Changes    Path
  1.274     +1 -1      src/sys/kern/init_main.c
  1.242     +1 -1      src/sys/kern/kern_thread.c



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