Re: [Lhms-devel] [PATCH 4/4] V4 ia64 SPARSEMEM - SPARSEMEM code changes

From: Dave Hansen <haveblue_at_us.ibm.com>
Date: 2005-09-23 04:05:07
On Thu, 2005-09-22 at 13:59 -0400, Bob Picco wrote:
> > > +#ifdef CONFIG_VIRTUAL_MEM_MAP
> > >             NODE_DATA(node)->node_mem_map = vmem_map + pfn_offset;
> > > +#endif
> > 
> > Is CONFIG_FLAT_NODE_MEM_MAP more appropriate here?  That's how
> > ->node_mem_map is #ifdef'd to begin with in mmzone.h.
>
> Well I think this is doable but probaably shouldn't. This code is very
> specific to CONFIG_VIRTUAL_MEM_MAP.

FLAT_NODE_MEM_MAP depends on only !SPARSEMEM, as does VIRTUAL_MEM_MAP.
So, I guess they're functionally equivalent right now.  It might be most
nice to at least add a comment, saying that it actually depends on both.



-- Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Sep 23 04:06:07 2005

This archive was generated by hypermail 2.1.8 : 2005-09-23 04:06:17 EST