Messages in this thread | | | Date | Tue, 07 Feb 2012 14:11:46 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH -v2] x86, mm: Probe memory block size for generic x86 64bit |
| |
On 01/30/2012 12:24 AM, Yinghai Lu wrote: > Usually if the system support memory remapping to get back memory for mmio > range, we will have 128M ... 2G at the end. > > Try to probe that size. > > So we can get less entries in /sys/devices/system/memory/ > > -v2: don't probe it every time when /sys/../block_size_byte is showed... >
Okay... what on Earth is the point of this?
This just screams "dangerous toxic heuristic that's likely to break unusual configurations", and reducing the number of entries in a /sys directory is hardly motivation for anything.
You need a much better description of what you're trying to accomplish and why that matters in the first place.
-hpa
| |