[lkml]   [2007]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRE: [Patch] Allocate sparse vmemmap block above 4G
    On Fri, 9 Nov 2007, Zou, Nanhai wrote:

    > > More magic values, both the 4GiB address here and the magic "1" at the
    > > end are problems.
    > >
    > Yes, the 4UL*1024*1024*1024 could be a define here.

    The 4GB boundary here is MAX_DMA32_ADDRESS I guess? We are only having
    this problem because of the two DMA zones on x86_64. I thought Andi was
    getting rid of the first one at 16MB. If he would do so then ZONE_DMA
    could be used instead of DMA32 and everything will be fine.

    For now you may want to put

    #ifdef CONFIG_ZONE_DMA32

    around this code since it depends on DMA32.
    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: 2007-11-09 02:57    [W:0.019 / U:0.788 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site