Re: memory-hotplug : suppres "Trying to free nonexistent resource " warning

2012-10-09 Thread Andrew Morton
On Tue, 9 Oct 2012 11:51:38 +0900 Yasuaki Ishimatsu wrote: > > Anyway, please have a think, and see if we can come up with the best > > and most accurate choice of types and identifiers in this code. > > Your concern is right. Overflow bug may occur in the future. > So I changed type of "i" and

Re: memory-hotplug : suppres "Trying to free nonexistent resource " warning

2012-10-08 Thread Yasuaki Ishimatsu
Hi Andrew, 2012/10/06 6:09, Andrew Morton wrote: On Thu, 4 Oct 2012 14:31:09 +0900 Yasuaki Ishimatsu wrote: When our x86 box calls __remove_pages(), release_mem_region() shows many warnings. And x86 box cannot unregister iomem_resource. "Trying to free nonexistent resource " release_mem_reg

Re: memory-hotplug : suppres "Trying to free nonexistent resource " warning

2012-10-05 Thread Andrew Morton
On Thu, 4 Oct 2012 14:31:09 +0900 Yasuaki Ishimatsu wrote: > When our x86 box calls __remove_pages(), release_mem_region() shows > many warnings. And x86 box cannot unregister iomem_resource. > > "Trying to free nonexistent resource " > > release_mem_region() has been changed as called in each

Re: memory-hotplug : suppres "Trying to free nonexistent resource " warning

2012-10-05 Thread KOSAKI Motohiro
CC to Dave Hanse. Hello Dave, I think following patch works both x86 and ppc. but I'm not ppc expert. So I'm glad if you double check it. thank you. > When our x86 box calls __remove_pages(), release_mem_region() shows > many warnings. And x86 box cannot unregister iomem_resource. > > "Tryin

memory-hotplug : suppres "Trying to free nonexistent resource " warning

2012-10-03 Thread Yasuaki Ishimatsu
When our x86 box calls __remove_pages(), release_mem_region() shows many warnings. And x86 box cannot unregister iomem_resource. "Trying to free nonexistent resource " release_mem_region() has been changed as called in each PAGES_PER_SECTION chunk since applying a patch(de7f0cba96786c). Because p