On Fri, 2010-04-16 at 11:07 -0500, Christoph Lameter wrote:
I don't want to force using '_node' postfix on UMA users.
Maybe they don't care getting page from any node and event don't need to
know about _NODE_.
alloc_pages_node have multiple meaning as you said. So some of users
misuses that API. I want to clear intention of user.
Sure. I must do it before any progressing.
Yes, now it's totally different.
On UMA, It's any node but on NUMA, local node.
My concern is following as.
alloc_pages_node means any node but it has nid argument.
Why should user of alloc_pages who want to get page from any node pass
nid argument? It's rather awkward.
Some of user misunderstood it and used alloc_pages_node instead of
alloc_pages_exact_node although he already know exact _NID_.
Of course, it's not a BUG since if nid >= 0 it works well.
But I want to remove such multiple meaning to clear intention of user.