mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
o Remove some long dead code: from revision 1.41 of vm/vm_pager.c
3+ years ago. o Remove some unused prototypes.
This commit is contained in:
parent
d186bb1240
commit
c2eda4b565
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99196
@ -289,25 +289,6 @@ vm_pager_strategy(vm_object_t object, struct bio *bp)
|
||||
* vm_pager_page_removed() - inline, see vm/vm_pager.h
|
||||
*/
|
||||
|
||||
#if 0
|
||||
/*
|
||||
* vm_pager_sync:
|
||||
*
|
||||
* Called by pageout daemon before going back to sleep.
|
||||
* Gives pagers a chance to clean up any completed async pageing
|
||||
* operations.
|
||||
*/
|
||||
void
|
||||
vm_pager_sync()
|
||||
{
|
||||
struct pagerops **pgops;
|
||||
|
||||
for (pgops = pagertab; pgops < &pagertab[npagers]; pgops++)
|
||||
if (pgops && ((*pgops)->pgo_sync != NULL))
|
||||
(*(*pgops)->pgo_sync) ();
|
||||
}
|
||||
#endif
|
||||
|
||||
vm_offset_t
|
||||
vm_pager_map_page(m)
|
||||
vm_page_t m;
|
||||
|
@ -99,10 +99,7 @@ static __inline int vm_pager_get_pages(vm_object_t, vm_page_t *, int, int);
|
||||
static __inline boolean_t vm_pager_has_page(vm_object_t, vm_pindex_t, int *, int *);
|
||||
void vm_pager_init(void);
|
||||
vm_object_t vm_pager_object_lookup(struct pagerlst *, void *);
|
||||
vm_offset_t vm_pager_map_pages(vm_page_t *, int, boolean_t);
|
||||
vm_offset_t vm_pager_map_page(vm_page_t);
|
||||
void vm_pager_sync(void);
|
||||
void vm_pager_unmap_pages(vm_offset_t, int);
|
||||
void vm_pager_unmap_page(vm_offset_t);
|
||||
void vm_pager_strategy(vm_object_t object, struct bio *bp);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user