kernel - Reduce size of struct spinlock
commita3946564b990b2bc6b8c0644221107ab313412be
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 8 Jan 2017 18:13:25 +0000 (8 10:13 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 8 Jan 2017 22:05:01 +0000 (8 14:05 -0800)
treeb7f36b3b9e4acc71c8e0654a7a334ac40e0dc7f0
parent6ba5daf8378e11a95743819b3b18725be74a10fc
kernel - Reduce size of struct spinlock

* Reduce the size of struct spinlock from 16 to 8 bytes.  The description
  field was not being used (we use __func__ instead).  This reduces
  structural bloat for a number of important structures, in particular
  reducing sizeof(struct vm_page) from 136 to 128 bytes.
sys/sys/spinlock.h
sys/sys/spinlock2.h