o Reinline vm_page_undirty(), reducing the kernel size. (This reverts
a part of vm_page.h revision 1.87 and vm_page.c revision 1.167.)
This commit is contained in:
parent
4bcccb2ebd
commit
f3b676f0ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105549
@ -545,17 +545,6 @@ vm_page_dirty(vm_page_t m)
|
||||
m->dirty = VM_PAGE_BITS_ALL;
|
||||
}
|
||||
|
||||
/*
|
||||
* vm_page_undirty:
|
||||
*
|
||||
* Set page to not be dirty. Note: does not clear pmap modify bits
|
||||
*/
|
||||
void
|
||||
vm_page_undirty(vm_page_t m)
|
||||
{
|
||||
m->dirty = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* vm_page_splay:
|
||||
*
|
||||
|
@ -333,7 +333,6 @@ void vm_page_free_zero(vm_page_t m);
|
||||
int vm_page_sleep_busy(vm_page_t m, int also_m_busy, const char *msg);
|
||||
int vm_page_sleep_if_busy(vm_page_t m, int also_m_busy, const char *msg);
|
||||
void vm_page_dirty(vm_page_t m);
|
||||
void vm_page_undirty(vm_page_t m);
|
||||
void vm_page_wakeup(vm_page_t m);
|
||||
|
||||
void vm_pageq_init(void);
|
||||
@ -374,5 +373,16 @@ void vm_page_cowfault (vm_page_t);
|
||||
void vm_page_cowsetup (vm_page_t);
|
||||
void vm_page_cowclear (vm_page_t);
|
||||
|
||||
/*
|
||||
* vm_page_undirty:
|
||||
*
|
||||
* Set page to not be dirty. Note: does not clear pmap modify bits
|
||||
*/
|
||||
static __inline void
|
||||
vm_page_undirty(vm_page_t m)
|
||||
{
|
||||
m->dirty = 0;
|
||||
}
|
||||
|
||||
#endif /* _KERNEL */
|
||||
#endif /* !_VM_PAGE_ */
|
||||
|
Loading…
Reference in New Issue
Block a user