Re: [rfc] generic allocator and mspec driver

Jesse Barnes
2005-02-03T17:41:05Z

On Wednesday, February 2, 2005 11:47 pm, Jes Sorensen wrote:
> >>>>> "Jesse" = Jesse Barnes <jbarnes@engr.sgi.com> writes:
>
> Jesse> On Wednesday, February 2, 2005 11:10 am, Jes Sorensen wrote:
> >> The remaining issue I am facing is that for the uncached pool I
> >> want to make it node aware and we want to use the spill pages from
> >> the lower granules for this pool which is easily done on
> >> SN2. However I see no generic way to get from a physical address to
> >> node id for pages that do not have a struct page assigned to
> >> them. I am curious if anyone has any suggestions for how to solve
> >> this in a generic way?
>
> Jesse> paddr_to_nid?
>
> It's not clear to me this covers the spill memory found in the lower
> granules and second it's really really slow, though that may not be a
> real problem.

You're right, it won't deal with low addresses, only regular, cachable ones
afaict.

Jesse