Re: fix a few uvm includes

2011-06-22 Thread Ted Unangst
On Mon, 20 Jun 2011, Miod Vallat wrote: > > uvm_extern.h is the header people should be consuming. change a few uvm.h > > to uvm_extern.h. > > This is not what, say, kern_fork.c does. If you include , you > don't need any other , and definitely not > . > > > also, simplify and move the bufcach

Re: fix a few uvm includes

2011-06-20 Thread Ted Unangst
On Mon, Jun 20, 2011 at 3:43 PM, Miod Vallat wrote: >> uvm_extern.h is the header people should be consuming. change a few uvm.h >> to uvm_extern.h. > > This is not what, say, kern_fork.c does. If you include , you > don't need any other , and definitely not > . kern_fork.c was relying on vnode.

Re: fix a few uvm includes

2011-06-20 Thread Miod Vallat
> uvm_extern.h is the header people should be consuming. change a few uvm.h > to uvm_extern.h. This is not what, say, kern_fork.c does. If you include , you don't need any other , and definitely not . > also, simplify and move the bufcache adjustment code from sysctl to the > vfs_bio.c where i

fix a few uvm includes

2011-06-20 Thread Ted Unangst
uvm_extern.h is the header people should be consuming. change a few uvm.h to uvm_extern.h. a couple other sys .h headers included uvm when they don't need to. fix that. fix a few .c files that depended on getting headers from headers. also, simplify and move the bufcache adjustment code from