1. 23 5月, 2011 3 次提交
    • H
      [S390] smp: add __noreturn attribute to cpu_die() · b456d94a
      Heiko Carstens 提交于
      Add missing __noreturn attribute to cpu_die():
      
      arch/s390/kernel/smp.c:691:6: error: symbol 'cpu_die' redeclared with different type
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      b456d94a
    • P
      [S390] vdso: disable gcov profiling · add7490c
      Peter Oberparleiter 提交于
      The concepts of VDSO and gcov-based profiling don't mix: the former
      includes kernel-provided code running in userspace, the latter adds
      instructions that modify counters in kernel data segments. On s390
      this has not been a problem so far due to VDSO code being written in
      all-assembler which is exempt from gcov-based profiling. This could
      change in the future, so disable profiling excplicitly for VDSO code.
      Signed-off-by: NPeter Oberparleiter <peter.oberparleiter@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      add7490c
    • M
      [S390] Remove data execution protection · 043d0708
      Martin Schwidefsky 提交于
      The noexec support on s390 does not rely on a bit in the page table
      entry but utilizes the secondary space mode to distinguish between
      memory accesses for instructions vs. data. The noexec code relies
      on the assumption that the cpu will always use the secondary space
      page table for data accesses while it is running in the secondary
      space mode. Up to the z9-109 class machines this has been the case.
      Unfortunately this is not true anymore with z10 and later machines.
      The load-relative-long instructions lrl, lgrl and lgfrl access the
      memory operand using the same addressing-space mode that has been
      used to fetch the instruction.
      This breaks the noexec mode for all user space binaries compiled
      with march=z10 or later. The only option is to remove the current
      noexec support.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      043d0708
  2. 10 5月, 2011 3 次提交
  3. 14 4月, 2011 1 次提交
  4. 05 4月, 2011 1 次提交
  5. 04 4月, 2011 2 次提交
  6. 31 3月, 2011 1 次提交
  7. 24 3月, 2011 3 次提交
  8. 23 3月, 2011 8 次提交
  9. 16 3月, 2011 1 次提交
  10. 15 2月, 2011 1 次提交
  11. 25 1月, 2011 1 次提交
    • T
      percpu: align percpu readmostly subsection to cacheline · 19df0c2f
      Tejun Heo 提交于
      Currently percpu readmostly subsection may share cachelines with other
      percpu subsections which may result in unnecessary cacheline bounce
      and performance degradation.
      
      This patch adds @cacheline parameter to PERCPU() and PERCPU_VADDR()
      linker macros, makes each arch linker scripts specify its cacheline
      size and use it to align percpu subsections.
      
      This is based on Shaohua's x86 only patch.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Shaohua Li <shaohua.li@intel.com>
      19df0c2f
  12. 12 1月, 2011 4 次提交
  13. 05 1月, 2011 11 次提交