Messages in this thread | | | Date | Sun, 23 Nov 2003 14:49:03 -0800 | Subject | Re: [RFC] Simplify node/zone portion of page->flags | From | (Jesse Barnes) |
| |
On Sun, Nov 23, 2003 at 02:40:52PM -0800, Andrew Morton wrote: > > zone_num. This makes it trivial to recover either the node or zone > > number with a simple bitshift. There are many places in the kernel > > where we do things like: page_zone(page)->zone_pgdat->node_id to > > determine the node a page belongs to. With this patch we save several > > pointer dereferences, and it boils down to shifting some bits. > > This rather conflicts with the patch from Jesse which I have. Can you guys > work that out and let me know when you're done?
I like Matt's patch, but haven't tested it yet. I'll try it out on Monday.
Jesse - 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/
| |