public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [tip:x86/urgent] x86: add boundary check for 32bit res before expand e820 resource to alignment
       [not found] <tip-4b05c392955458757790414bd7ba4280e1a515b0@git.kernel.org>
@ 2009-07-03  6:56 ` Ingo Molnar
  2009-07-03  7:01   ` Yinghai Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Ingo Molnar @ 2009-07-03  6:56 UTC (permalink / raw)
  To: linux-kernel, mingo, hpa, yinghai, tglx, mikpe, alex.shi,
	Linus Torvalds
  Cc: linux-tip-commits


* tip-bot for Yinghai Lu <yinghai@kernel.org> wrote:

> Commit-ID:  4b05c392955458757790414bd7ba4280e1a515b0
> Gitweb:     http://git.kernel.org/tip/4b05c392955458757790414bd7ba4280e1a515b0
> Author:     Yinghai Lu <yinghai@kernel.org>
> AuthorDate: Thu, 2 Jul 2009 11:10:56 -0700
> Committer:  H. Peter Anvin <hpa@zytor.com>
> CommitDate: Thu, 2 Jul 2009 11:53:15 -0700
> 
> x86: add boundary check for 32bit res before expand e820 resource to alignment
> 
> Avoid incorrect address arithmetic, ascerbated by previous improper
> definition of the round_up() macro.
> 
> fix hang with HIGHMEM_64G and 32bit resource.
> according to hpa and Linus, use (resource_size_t)-1 to fend off big ranges.
> analyized by hpa
> 
> Alex found:
> for i386 machine the specjbb2005 still can not run with hugepage
> 
> -v2: it also fix hugepage problem
> 
> Reported-and-tested-by: Mikael Pettersson <mikpe@it.uu.se>
> Reported-and-Tested-by: Alex Shi <alex.shi@intel.com>
> Signed-off-by: Yinghai Lu <yinghai@kernel.org>
> Signed-off-by: H. Peter Anvin <hpa@zytor.com>

Peter, Yinghi - i zapped this and the other e820 patch from 
x86/urgent as Linus already applied slightly different versions 
upstream:

7c5371c: x86: add boundary check for 32bit res before expand e820 resource to alignment
4364467: x86: fix power-of-2 round_up/round_down macros

Mind checking what the differences are and queue up any deltas that 
might still be needed?

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [tip:x86/urgent] x86: add boundary check for 32bit res before expand e820 resource to alignment
  2009-07-03  6:56 ` [tip:x86/urgent] x86: add boundary check for 32bit res before expand e820 resource to alignment Ingo Molnar
@ 2009-07-03  7:01   ` Yinghai Lu
  0 siblings, 0 replies; 2+ messages in thread
From: Yinghai Lu @ 2009-07-03  7:01 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, mingo, hpa, tglx, mikpe, alex.shi, Linus Torvalds,
	linux-tip-commits

Ingo Molnar wrote:
> * tip-bot for Yinghai Lu <yinghai@kernel.org> wrote:
> 
>> Commit-ID:  4b05c392955458757790414bd7ba4280e1a515b0
>> Gitweb:     http://git.kernel.org/tip/4b05c392955458757790414bd7ba4280e1a515b0
>> Author:     Yinghai Lu <yinghai@kernel.org>
>> AuthorDate: Thu, 2 Jul 2009 11:10:56 -0700
>> Committer:  H. Peter Anvin <hpa@zytor.com>
>> CommitDate: Thu, 2 Jul 2009 11:53:15 -0700
>>
>> x86: add boundary check for 32bit res before expand e820 resource to alignment
>>
>> Avoid incorrect address arithmetic, ascerbated by previous improper
>> definition of the round_up() macro.
>>
>> fix hang with HIGHMEM_64G and 32bit resource.
>> according to hpa and Linus, use (resource_size_t)-1 to fend off big ranges.
>> analyized by hpa
>>
>> Alex found:
>> for i386 machine the specjbb2005 still can not run with hugepage
>>
>> -v2: it also fix hugepage problem
>>
>> Reported-and-tested-by: Mikael Pettersson <mikpe@it.uu.se>
>> Reported-and-Tested-by: Alex Shi <alex.shi@intel.com>
>> Signed-off-by: Yinghai Lu <yinghai@kernel.org>
>> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
> 
> Peter, Yinghi - i zapped this and the other e820 patch from 
> x86/urgent as Linus already applied slightly different versions 
> upstream:
> 
> 7c5371c: x86: add boundary check for 32bit res before expand e820 resource to alignment

the same, only comments is different.

> 4364467: x86: fix power-of-2 round_up/round_down macros
more safe.

do we need to move it include/linux/kernel.h ?

YH



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-03  7:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <tip-4b05c392955458757790414bd7ba4280e1a515b0@git.kernel.org>
2009-07-03  6:56 ` [tip:x86/urgent] x86: add boundary check for 32bit res before expand e820 resource to alignment Ingo Molnar
2009-07-03  7:01   ` Yinghai Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox