Up to [cvs.NetBSD.org] / src / sys / uvm
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: gmcgarry_ctxsw_base
Revision 1.39 / (download) - annotate - [select for diffs], Sun Jul 14 23:53:41 2002 UTC (21 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
gehenna-devsw-base,
fvdl_fs64_base
Changes since 1.38: +5 -2
lines
Diff to previous 1.38 (colored)
when dropping a kernel loan, if this was the last loan-to-kernel but the page is still loaned to an anon, we should put the page back on a paging queue. this is because while pages loaned to the kernel really do need to stay resident (since the kernel is accessing the physical memory directly), pages loaned to anons can be paged out just fine. (the page will be paged out twice, first to the object and then again to the anon, but after that the page can be reused.)