Re: [1/3] Add 4GB DMA32 zone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 12 September 2005 14:45, Roman Zippel wrote:
> Hi,
>
> On Sun, 11 Sep 2005, Andi Kleen wrote:
> > -#define MAX_NR_ZONES		3	/* Sync this with ZONES_SHIFT */
> > -#define ZONES_SHIFT		2	/* ceil(log2(MAX_NR_ZONES)) */
> > +#define MAX_NR_ZONES		4	/* Sync this with ZONES_SHIFT */
> > +#define ZONES_SHIFT		3	/* ceil(log2(MAX_NR_ZONES)) */
>
> Why needs ZONES_SHIFT to be increased?
>
> > -#define FLAGS_RESERVED		8
> > +#define FLAGS_RESERVED		9
>
> I would prefer to keep this at 8.

sparsemem needs these two.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux