How FREEBSD deals with request for continuous physical pages

2005-06-03 Thread Bao Zhao
Linux use buddy allocator.but I find it seems that FREEBSD uses single page linked list. but SLAB and some drivers need continuous physical pages, so I wonder how FREEBSD solved this problem. Best Regards, Bao Zhao __ Do You Yahoo!? Tired of

Re: Re[2]: relation between PQ_CACHESIZE and PQ_L2_SIZE

2005-03-27 Thread Bao Zhao
direct map caches. The correct formula is (cache size in bytes / page size in bytes) / degree of cache associativity Thus, the comments would lead one to configure his/her system with too many colors. " I think Alan is right . What's you opinion?

Re: relation between PQ_CACHESIZE and PQ_L2_SIZE

2005-03-26 Thread Bao Zhao
--- Bruce M Simpson <[EMAIL PROTECTED]> wrote: > On Sat, Mar 26, 2005 at 09:44:36AM -0800, Bao Zhao > wrote: > > some think it is 4-way set associative,but I think > it > > is the page's size-4KB. > > > > If I'm right, How BSD deals with 8KB page

relation between PQ_CACHESIZE and PQ_L2_SIZE

2005-03-26 Thread Bao Zhao
hi,all in vm_page.h PQ_CACHESIZE/PQ_L2_SIZE is always equal to 4. what does "4 " mean? some think it is 4-way set associative,but I think it is the page's size-4KB. If I'm right, How BSD deals with 8KB page size? Be

relation between PQ_CACHESIZE and PQ_L2_SIZE

2005-03-26 Thread Bao Zhao
hi, all in vm_page.h PQ_CACHESIZE / PQ_L2_SIZE is always equal to 4. some think "4" represents a 4-way set associative, but I think "4" is the page size.Which is right? If I'm right, how bsd deal with 8KB page size