On Tue, Mar 1, 2011 at 6:37 PM, Amit Kulkarni <amitk...@gmail.com> wrote: > 2) another question. Most allocations are either 1 or a power of two. > But there are a few allocations of 3 pages, specifically most > allocations are either 1 page, 2 page, some 16's, some 32's, one > single 128. I printed this info by checking for value of search[try] > at label rescan: on line 901 in uvm_pmemrange.c > > Would this cause fragmentation or misalignment and ultimately a > problem? There were exactly eight 3 page allocations after bios got > handed control to /bsd immediately after the lines
I haven't looked too closely at the rest of your email, but handling allocations of various sizes in a good way is one of the reasons pmemrange exists.