diff options
author | kib <kib@FreeBSD.org> | 2012-06-22 06:39:28 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-06-22 06:39:28 +0000 |
commit | 4109c3e1ac5d4621c6f3fb66d64903573a353eca (patch) | |
tree | 9fbaec8ffd984ed4fb16dc0fb59eb241295239ac /sys/pc98 | |
parent | d98ad62d7e31d7be275f07d4af7eb4d5d40243f8 (diff) | |
download | FreeBSD-src-4109c3e1ac5d4621c6f3fb66d64903573a353eca.zip FreeBSD-src-4109c3e1ac5d4621c6f3fb66d64903573a353eca.tar.gz |
Enchance the shared page chunk allocator.
Do not rely on the busy state of the page from which we allocate the
chunk, to protect allocator state. Use statically allocated sx lock
instead.
Provide more flexible KPI. In particular, allow to allocate chunk
without providing initial data, and allow writes into existing
allocation. Allow to get an sf buf which temporary maps the chunk, to
allow sequential updates to shared page content without unmapping in
between.
Reviewed by: jhb
Tested by: flo
MFC after: 1 month
Diffstat (limited to 'sys/pc98')
0 files changed, 0 insertions, 0 deletions