[lkml]   [2006]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [SPARSEMEM] confusing uses of SPARSEM_EXTREME (try #2)
Franck Bui-Huu wrote:
> Hi Andy
> 2006/6/12, Andy Whitcroft <>:
>> In my mind the positive option is selecting for code supporting EXTREME
>> so it seems to make sense to use that option.
> well I find it confusing because in my mind, something like this seems
> more logical.
> static struct mem_section *sparse_index_alloc(int nid)
> {
> return alloc_bootmem_node(...);
> }
> #else
> static struct mem_section *sparse_index_alloc(int nid)
> {
> /* nothing to do here, since it has been statically allocated */
> return 0;
> }
> #endif

But also in this case the code in the first stanza is only applicable to
SPARSEMEM EXTREME, therefore its also logical to say

special handling for that mode
normal handling

Which is what the code currently says right?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-06-12 19:35    [W:0.044 / U:7.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site