summaryrefslogtreecommitdiff
path: root/libpager/pager.h
AgeCommit message (Collapse)Author
2013-09-16Handle notification on page evictionRichard Braun
If requested by the user, make libpager call pager_notify_evict when a page is flushed out by the kernel. Based on work by Ognyan Kulev. * console/pager.c (pager_notify_evict): New function. (user_pager_create): Update call to pager_create. * ext2fs/pager.c: (pager_notify_evict): New function. (create_disk_pager): Update call to diskfs_start_disk_pager. (diskfs_get_filemap): Update call to pager_create. * fatfs/pager.c: (pager_notify_evict): New function. (create_fat_pager): Update call to diskfs_start_disk_pager. (diskfs_get_filemap): Update call to pager_create. * isofs/pager.c: (pager_notify_evict): New function. (create_disk_pager): Update call to diskfs_start_disk_pager. (diskfs_get_filemap): Update call to pager_create. * libdiskfs/disk-pager.c (diskfs_start_disk_pager): Update definition and call to pager_create. * libdiskfs/diskfs-pager.h (diskfs_start_disk_pager): Update declaration. * libpager/data-request.c (_pager_seqnos_memory_object_data_request): Take pager's `notify_on_evict' member into account when calling memory_object_data_supply. * libpager/data-return.c (_pager_do_write_request): Handle user notification on page flush. * libpager/pager-create.c (pager_create): Update definition and set pager's `notify_on_evict' member. * libpager/pager.h (pager_create): Update declaration. (pager_notify_evict): New declaration. * libpager/priv.h (struct pager): New `notify_on_evict' member. * storeio/pager.c: (pager_notify_evict): New function. (dev_get_memory_object): Update call to pager_create. * tmpfs/pager-stubs.c (pager_notify_evict): New function. * ufs/pager.c (pager_notify_evict): New function. (create_disk_pager): Update call to diskfs_start_disk_pager. (diskfs_get_filemap): Update call to pager_create.
2011-08-20fix common misspellingsJonathan Neuschäfer
* Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
1999-07-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* data-return.c (_pager_do_write_request): Use munmap instead of vm_deallocate. * object-terminate.c (_pager_free_structure): Likewise. * pagemap.c (_pager_pagemap_resize): Likewise. * pager-memcpy.c (pager_memcpy): Likewise. * pager.h (pager_write_page): Doc adjustment.
1997-08-20Wed Aug 20 14:47:38 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* pager.h: Doc fix.
1996-04-18(pager_offer_page): add writelock arg.Michael I. Bushnell
1996-04-18(pager_offer_page): New function.Michael I. Bushnell
1996-03-18(pager_return, pager_return_some): New declarations.Michael I. Bushnell
1996-01-04Declare pager_memcpy.Roland McGrath
1995-06-27(pager_get_upi): New function.Michael I. Bushnell
1995-06-20Include <hurd/ports.h>.Michael I. Bushnell
1995-06-20(pager_dropweak): New decl.Michael I. Bushnell
1995-06-20(pager_clean): Removed.Michael I. Bushnell
1995-06-20(pager_create): Drop parm CLASS.Michael I. Bushnell
1995-06-20(pager_no_senders, pager_reference, pager_unreference,Michael I. Bushnell
pager_port_type): Remove declarations. (pager_create): New parms BUCKET and CLASS. (pager_clean): Doc fix.
1994-05-23entered into RCSMichael I. Bushnell
1994-05-20Formerly pager.h.~7~Michael I. Bushnell
1994-02-11Formerly pager.h.~6~Michael I. Bushnell
1994-02-10Formerly pager.h.~5~Michael I. Bushnell
1994-02-03Formerly pager.h.~4~Michael I. Bushnell
1994-01-22Formerly pager.h.~3~Michael I. Bushnell
1994-01-20Formerly pager.h.~2~Michael I. Bushnell
1994-01-20Initial revisionMichael I. Bushnell