tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
UVM aobj pager vs uvm_swap
Hi Guys,
I am currently starting a project where I have to modify the allocation
policies in the swap system. I thought that probably NetBSD is a good match
to develop my project so I go for it. I was reading the UVM documentation
that is very interesting yet too long for a couple of days.
After a long reading, I still have a small concern. It seems like
anonymous pages can be handled in two ways: either by anon's or aobj's. In
case of swapping, these two structures seem to follow different paths.
The former case is controlled directly through the uvm_swap, located in
uvm_swap.c. The second case is done with the aobj pager. I would guess
that these two cases, after some code indirection, are handled by the same
swap allocation policies and structures.
Is my intuition correct? What files or functions would you suggest to
modify in order to change the swap allocation policies?
Thanks in advance,
--
Luis Useche <luis%cs.fiu.edu@localhost>
Ph.D. Student
Florida International University
Home |
Main Index |
Thread Index |
Old Index