take the DRAM performance of the processes into consideration when scheduling

2014-12-11 Thread Beilei Sun
The CFS scheduler in Linux schedules the processes based on the virtual
runtime of CPU.

But, the DRAM memory is the bottleneck in most of the emerging domains. Why
not take the DRAM performance of the processes into consideration when
choosing the next process?

Could anyone please give an explanation? Thank you...
___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


issue compiling topic-leg-uefi kernel with UEFI-stub

2014-12-11 Thread Varad Gautam
I'm getting

arch/arm/kernel/efi_phys.S: Assembler messages:
arch/arm/kernel/efi_phys.S:42: Error: selected processor does not
support ARM mode `isb'
arch/arm/kernel/efi_phys.S:50: Error: selected processor does not
support ARM mode `isb'
make[1]: *** [arch/arm/kernel/efi_phys.o] Error 1

when compiling the topic-leg-uefi kernel [1] with EFI_STUB support for
omap2plus_defconfig (to run on a BeagleBone Black with AM335x SoC). I've
checked that armv7 supports `isb`, and I've tried the kernel.org
4.6.3-nolibc toolchain [2] and the Linaro gcc-arm-none-eabi-4.8 release.
The build goes fine without EFI support. I need some help figuring out
what's wrong.


[1]
https://git.linaro.org/people/leif.lindholm/linux.git/shortlog/refs/heads/topic-leg-uefi
[2] https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.3/

Thanks,
Varad


___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


Re: issue compiling topic-leg-uefi kernel with UEFI-stub

2014-12-11 Thread Arnd Bergmann
On Thursday 11 December 2014 19:27:03 Varad Gautam wrote:
> I'm getting
> 
> arch/arm/kernel/efi_phys.S: Assembler messages:
> arch/arm/kernel/efi_phys.S:42: Error: selected processor does not
> support ARM mode `isb'
> arch/arm/kernel/efi_phys.S:50: Error: selected processor does not
> support ARM mode `isb'
> make[1]: *** [arch/arm/kernel/efi_phys.o] Error 1
> 
> when compiling the topic-leg-uefi kernel [1] with EFI_STUB support for
> omap2plus_defconfig (to run on a BeagleBone Black with AM335x SoC). I've
> checked that armv7 supports `isb`, and I've tried the kernel.org
> 4.6.3-nolibc toolchain [2] and the Linaro gcc-arm-none-eabi-4.8 release.
> The build goes fine without EFI support. I need some help figuring out
> what's wrong.
> 

The code should be changed to use the instr_sync macro instead of
using the isb instruction directly.

Arnd

___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


Re: issue compiling topic-leg-uefi kernel with UEFI-stub

2014-12-11 Thread Varad Gautam
On Thursday 11 December 2014 09:15 PM, Arnd Bergmann wrote:
> On Thursday 11 December 2014 19:27:03 Varad Gautam wrote:
>> I'm getting
>>
>> arch/arm/kernel/efi_phys.S: Assembler messages:
>> arch/arm/kernel/efi_phys.S:42: Error: selected processor does not
>> support ARM mode `isb'
>> arch/arm/kernel/efi_phys.S:50: Error: selected processor does not
>> support ARM mode `isb'
>> make[1]: *** [arch/arm/kernel/efi_phys.o] Error 1
>>
>> when compiling the topic-leg-uefi kernel [1] with EFI_STUB support for
>> omap2plus_defconfig (to run on a BeagleBone Black with AM335x SoC). I've
>> checked that armv7 supports `isb`, and I've tried the kernel.org
>> 4.6.3-nolibc toolchain [2] and the Linaro gcc-arm-none-eabi-4.8 release.
>> The build goes fine without EFI support. I need some help figuring out
>> what's wrong.
>>
> The code should be changed to use the instr_sync macro instead of
> using the isb instruction directly.
>
>   Arnd

Thanks, that did it. Should I send in a fix?

___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


Re: issue compiling topic-leg-uefi kernel with UEFI-stub

2014-12-11 Thread Leif Lindholm
On 11 December 2014 at 17:42, Varad Gautam  wrote:
> On Thursday 11 December 2014 09:15 PM, Arnd Bergmann wrote:
>> On Thursday 11 December 2014 19:27:03 Varad Gautam wrote:
>>> I'm getting
>>>
>>> arch/arm/kernel/efi_phys.S: Assembler messages:
>>> arch/arm/kernel/efi_phys.S:42: Error: selected processor does not
>>> support ARM mode `isb'
>>> arch/arm/kernel/efi_phys.S:50: Error: selected processor does not
>>> support ARM mode `isb'
>>> make[1]: *** [arch/arm/kernel/efi_phys.o] Error 1
>>>
>>> when compiling the topic-leg-uefi kernel [1] with EFI_STUB support for
>>> omap2plus_defconfig (to run on a BeagleBone Black with AM335x SoC). I've
>>> checked that armv7 supports `isb`, and I've tried the kernel.org
>>> 4.6.3-nolibc toolchain [2] and the Linaro gcc-arm-none-eabi-4.8 release.
>>> The build goes fine without EFI support. I need some help figuring out
>>> what's wrong.
>>>
>> The code should be changed to use the instr_sync macro instead of
>> using the isb instruction directly.
>
> Thanks, that did it. Should I send in a fix?

Since you are building for a v7 platform, I guess this is caused by
the TI platforms building for ARMv6 .
If you send a patch to the linaro-uefi list, I'll apply it to my topic
branch and it will get pulled into the next leg-kernel release.
Changing the kernel config to disable v6 support would be a workaround.

(Given Ard Biesheuvel's upcoming core changes, this particular file
may actually disappear in future.)

/
Leif

___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev