lkml.org 
[lkml]   [2009]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG 2.6.31-rc1] HIGHMEM64G causes hang in PCI init on 32-bit x86
H. Peter Anvin wrote:
> Yinghai Lu wrote:
>>>>
>>> That doesn't quite look right; for one thing it doesn't handle the
>>> (admittedly somewhat unlikely) case of end pointing to the end of the
>>> address space.
>>>
>>> Something like:
>>>
>>> if (start > (resource_size_t)end-1)
>>> continue;
>>>
>
>> + if (start > (resource_size_t)end)
>> continue;
>
> Erk... thinko on my part. Should have been (resource_size_t)-1.
>

how about start is already 32M ?
you will insert blank one...

64bit, we could expand range that is above 4g to be aligned.

YH


\
 
 \ /
  Last update: 2009-06-30 03:27    [W:0.073 / U:7.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site