Changes user's slab from MCS-PDR to Spin-PDR
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 22 Feb 2013 01:16:28 +0000 (17:16 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 22 Feb 2013 01:16:28 +0000 (17:16 -0800)
commitcb3fc1c8d57bd5e9a52549d06b3c4b8ac3a67667
treeaa269f55950aa47199ab0f5f74bf8b7b078117ff
parentc3e781209a2432bb0b17489f2c5a0e46c2893020
Changes user's slab from MCS-PDR to Spin-PDR

MCS-PDR locks need to allocate memory for their locks, and can run into
chicken-egg scenarios for initializing some memory allocators (in this
case, any allocator that relies on the slab indirectly).

Also note that glibc isn't using a PDR lock at all for its internals,
yet.
user/parlib/include/slab.h
user/parlib/slab.c