[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: |
Mon, 16 Jun 2008 21:27:41 +0000 |
CVSROOT: /sources/hurd
Module name: hurd-l4
Changes by: Neal H. Walfield <neal> 08/06/16 21:27:41
Modified files:
ruth : ruth.c ChangeLog
libhurd-mm : pager.h pager.c mmap.c map.c headers.m4
exceptions.c anonymous.h anonymous.c
Makefile.am ChangeLog
benchmarks : activity-distribution.c ChangeLog
Added files:
libhurd-mm : map.h
Log message:
libhurd-mm/
2008-06-16 Neal H. Walfield <address@hidden>
* map.h: New file.
* map.c: New file.
* Makefile.am (libhurd_mm_a_SOURCES): Add map.h and map.c.
* headers.m4: Link map.h to sysroot/include/hurd/map.h.
* pager.h: Rewrite.
* pager.c: Likewise.
* anonymous.h (ANONYMOUS_STAGING_AREA): New define.
(anonymous_pager_fill_t): Don't pass the base of the region.
Pass
the location of the storage corresponding to the pages on which
the faults were raised and the offset into the region. Update
users.
(struct anonymous_pager): Add fields map_area, map_area_count
and
lock. Remove field alloced_region.
(anonymous_pager_alloc): Replace size parameter with length
parameter. Take access parameter indicating the desired access.
Update users.
* anonymous.c (offset_compare): Compare the values, not the
pointers.
(fault): Update signature to be consistent with new API. Lock
ANON->LOCK. Always look up the storage descriptor corresponding
to the faulted page. Copy the storage to the faulted address as
required. Update how we call ANON->FILL to be consistent with
the
new API.
(destroy): Free ANON->STAGING_AREA.
(anonymous_pager_alloc): Update signature to be consistent with
new API. Allocate the staging area if ANONYMOUS_STAGING_AREA is
set. Allocate it separately from the main map. Create a map
corresponding to the region.
(anonymous_pager_destroy): Just lock ANON->LOCK. Don't call
destroy, call pager_deinit.
* mmap.c: Include <hurd/map.h>.
(mmap): Add support for protection other than read/write.
(munmap): Rewrite to use new API. Use map_split to support
splitting of memory maps.
* exceptions.c: Don't include "pager.h", include "map.h".
(exception_handler_normal): Don't call pager_fault but
map_fault.
(exception_handler_activated): Likewise.
ruth/
2008-06-16 Neal H. Walfield <address@hidden>
* ruth.c (main): Improve mmap test. Update use of
anonymous_pager_alloc to be consistent with new API. Update
fill
functions to be consistent with new API. Remove redundant test.
benchmarks/
2008-06-16 Neal H. Walfield <address@hidden>
* activity-distribution.c (main): Update use of
anonymous_pager_alloc to be consistent with new API. Update
fill
functions to be consistent with new API.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/ruth/ruth.c?cvsroot=hurd&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/ruth/ChangeLog?cvsroot=hurd&r1=1.38&r2=1.39
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/pager.h?cvsroot=hurd&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/pager.c?cvsroot=hurd&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/mmap.c?cvsroot=hurd&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/map.c?cvsroot=hurd&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/headers.m4?cvsroot=hurd&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/exceptions.c?cvsroot=hurd&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/anonymous.h?cvsroot=hurd&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/anonymous.c?cvsroot=hurd&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/Makefile.am?cvsroot=hurd&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/ChangeLog?cvsroot=hurd&r1=1.87&r2=1.88
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/map.h?cvsroot=hurd&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/benchmarks/activity-distribution.c?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/benchmarks/ChangeLog?cvsroot=hurd&r1=1.3&r2=1.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- hurd-l4 ruth/ruth.c ruth/ChangeLog libhurd-mm/p...,
Neal H. Walfield <=