Bjorn Helgaas wrote:
>
> On Tuesday 08 June 2004 2:03 am, Zoltan Menyhart wrote:
> > - You keep my code, it is correct for a memory size up to 16 Tbytes.
>
> Many if not most large machines have sparse address spaces,
> so you may have memory at an address that will cause a
> problem even if the actual amount of memory is much smaller.
>
> The main point is that I wouldn't want a time bomb that
> will silently fail when somebody happens to boot on such
> a machine. Whether that's avoided by a "miraculous" bit,
> throwing away problem pages at boot-time, avoiding task
> allocation at specific addresses, etc., is secondary.
I see.
No use to make it too much complicated.
There is always the option CONFIG_DEBUG_SPINLOCK.
On our no-more-than-512-Gbyte-machine, this small stuff
"saved my life" twice.
I just wanted to share it...
Regards,
Zolt?n