Re: [PATCH] sparc64: Fix array size reported by vmemmap_populate()

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

 



From: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
Date: Sat, 03 Apr 2010 21:41:20 +0100

> vmemmap_populate() attempts to report the used index and total size of
> vmemmap_table, but it wrongly shifts the total size so that it is
> always shown as 0.
> 
> Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx>

It's not the total, size, it's the total number of chunks that
the area supports.

So it's trying to say:

	entry=${NUM_CHUNKS}/${MAX_CHUNKS}

So I think the printk statement is correct and if you check
you'll find that every other vmemmap supporting platform
has this same printk statement.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux