[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd-l4 ruth/ruth.c ruth/ChangeLog libhurd-mm/p...
From: |
Neal H. Walfield |
Subject: |
hurd-l4 ruth/ruth.c ruth/ChangeLog libhurd-mm/p... |
Date: |
Wed, 20 Feb 2008 13:46:33 +0000 |
CVSROOT: /sources/hurd
Module name: hurd-l4
Changes by: Neal H. Walfield <neal> 08/02/20 13:46:33
Modified files:
ruth : ruth.c ChangeLog
libhurd-mm : pager.h pager.c mmap.c anonymous.h anonymous.c
ChangeLog
Log message:
libhurd-mm/
2008-02-20 Neal H. Walfield <address@hidden>
* anonymous.h: Include <hurd/exceptions.h> and <l4/thread.h>.
(ANONYMOUS_ZEROFILL): Rename from this...
(ANONYMOUS_NO_CLEAR): ... to this, inverting logic. Update
users.
(ANONYMOUS_DISCARDABLE): Don't define.
(ANONYMOUS_NO_ALLOC): Define.
(ANONYMOUS_NO_RECURSIVE): Likewise.
(ANONYMOUS_THREAD_SAFE): Likewise.
(anonymous_pager_fill_t): Likewise.
(struct anonymous_pager): Add fields allocated_region,
staging_area, fill, fill_thread, fill_lock and policy. Change
fill's type to anonymous_pager_fill_t.
(anonymous_pager_alloc): Take additional parameters, P and
ADDR_OUT. Change the fill function's type to
anonymous_pager_fill_t. Require that the address is not already
allocated. Update users.
* anonymous.c: Include <string.h> and <hurd/rm.h>.
(struct storage_desc): Remove field addr and replace with
offset.
(addr_compare): Remove function.
(offset_compare): New function.
(storage_desc): Change node key from the addr field to the
offset
field.
(fault): Rewrite to handle a fill function, discarded pages, and
the ANONYMOUS_NO_RECURSIVE and ANONYMOUS_NO_ALLOC flags.
(destroy): Free the allocated region and any staging area.
(anonymous_pager_alloc): Rewrite to allocate virtual memory.
Set
up the data structure appropriately if ANONYMOUS_THREAD_SAFE is
given.
* pager.h (PAGER_REGION_LENGTH): New define.
(pager_fault_t): Change ABI such that the callback must release
PAGER->LOCK.
* pager.c (pager_fault): Don't release PAGER->LOCK.
ruth/
2008-02-20 Neal H. Walfield <address@hidden>
* ruth.c: Include <hurd/anonymous.h>, <stdlib.h> and <l4.h>.
(main): Add tests to check rendered regions and discardable
pages.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/ruth/ruth.c?cvsroot=hurd&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/ruth/ChangeLog?cvsroot=hurd&r1=1.31&r2=1.32
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/pager.h?cvsroot=hurd&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/pager.c?cvsroot=hurd&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/mmap.c?cvsroot=hurd&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/anonymous.h?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/anonymous.c?cvsroot=hurd&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/ChangeLog?cvsroot=hurd&r1=1.61&r2=1.62
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- hurd-l4 ruth/ruth.c ruth/ChangeLog libhurd-mm/p...,
Neal H. Walfield <=