mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Use vm_page_undirty() instead of manually setting a page field.
Reviewed by: alc MFC after: 3 days
This commit is contained in:
parent
2dc39caa91
commit
897d0c6617
1 changed files with 1 additions and 1 deletions
|
|
@ -3397,7 +3397,7 @@ vm_page_advise(vm_page_t m, int advice)
|
|||
* But we do make the page as freeable as we can without
|
||||
* actually taking the step of unmapping it.
|
||||
*/
|
||||
m->dirty = 0;
|
||||
vm_page_undirty(m);
|
||||
else if (advice != MADV_DONTNEED)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue