plan9fox/sys
cinap_lenrek 29f60cace1 kernel: avoid palloc lock during mmurelease()
Previously, mmurelease() was always called with
palloc spinlock held.

This is unneccesary for some mmurelease()
implementations as they wont release pages
to the palloc pool.

This change removes pagechainhead() and
pagechaindone() and replaces them with just
freepages() call, which aquires the palloc
lock internally as needed.

freepages() avoids holding the palloc lock
while walking the linked list of pages,
avoding some lock contention.
2020-12-22 16:29:55 +01:00
..
doc
games/lib
include libauth: add procsetuser() function to change user id of the calling process 2020-12-19 17:46:55 +01:00
lib kbmap: add Turkish keymap (thanks Kemal) 2020-12-18 15:15:49 +01:00
man rio(4): list window states in order (thanks umbracticus) 2020-12-22 10:11:03 +10:30
src kernel: avoid palloc lock during mmurelease() 2020-12-22 16:29:55 +01:00