mm: Don't decref files while holding a lock
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 29 Mar 2018 21:33:16 +0000 (17:33 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 30 Apr 2018 18:36:28 +0000 (14:36 -0400)
commit01cd05f87a7ed152bdaedea7a3853e0ea71866b3
tree743a061f0866a2da76d48c55f6a4e2053f0cd9d6
parentd5291781758726f51cdb523418d5c6ee74532f34
mm: Don't decref files while holding a lock

Yes, this code is nasty and needs an overhaul - notably the removal of that
spinlock.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/mm.h
kern/src/mm.c