I mean MAP_PRIVATE stuff, not MAP_SHARED.
> Theoretically, if you had some pages that were predominatly read-only,
> and very occasionally got written to, it *might* be worth it.
> But probably not ;-)
>
> > Also, keeping an per-node active-page-list and then forcefully copying
> > the page to a node-local page-frame when accesing a page which is
> > active on another node could be good.
>
> Not sure what you mean by this. wrt the active-page list here's a per-node
> LRU already. Or you mean something on a per-address-space basis?
Yes, I meant a per-node active LRU. I'd better get a closer look
at what's already done ;)
> Yes, faulting the pages in lazily from another node as we touch them is
> probably the right thing to do. Giving secondary copies some LRU disadvantage
> (perhaps always keeping them on the inactive list, never the active),
> would be fun, but then you get into the whole "who is the primary owner,
> and what do we do when they ditch the page" complexity. The node bitmap
> I suggested earlier might help. But I'd rather keep it simple at first ;-)
>
> M.
Antonio.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/