On Mon, 14 Nov 2011, Pekka Enberg wrote: > On Fri, Nov 11, 2011 at 10:07 PM, Christoph Lameter <cl@xxxxxxxxx> wrote: > > The node field is always page_to_nid(c->page). So its rather easy to > > replace. Note that there will be additional overhead in various hot paths > > due to the need to mask a set of bits in page->flags and shift the > > result. > > > > Signed-off-by: Christoph Lameter <cl@xxxxxxxxx> > > This is a nice cleanup even if we never go irqless in the slowpaths. > Is page_to_nid() really that slow? The fastpath only uses a few cycles now. Relatively high overhead is added. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>