1. 11 3月, 2015 1 次提交
  2. 21 11月, 2014 1 次提交
  3. 13 9月, 2013 2 次提交
  4. 29 6月, 2013 1 次提交
  5. 09 10月, 2012 1 次提交
  6. 16 5月, 2012 1 次提交
  7. 05 5月, 2012 1 次提交
  8. 10 4月, 2012 1 次提交
  9. 29 3月, 2012 1 次提交
  10. 24 3月, 2012 1 次提交
  11. 08 12月, 2011 2 次提交
  12. 06 12月, 2011 1 次提交
  13. 17 10月, 2011 1 次提交
  14. 19 7月, 2011 1 次提交
  15. 02 7月, 2011 1 次提交
  16. 01 7月, 2011 1 次提交
    • P
      perf: Remove the nmi parameter from the swevent and overflow interface · a8b0ca17
      Peter Zijlstra 提交于
      The nmi parameter indicated if we could do wakeups from the current
      context, if not, we would set some state and self-IPI and let the
      resulting interrupt do the wakeup.
      
      For the various event classes:
      
        - hardware: nmi=0; PMI is in fact an NMI or we run irq_work_run from
          the PMI-tail (ARM etc.)
        - tracepoint: nmi=0; since tracepoint could be from NMI context.
        - software: nmi=[0,1]; some, like the schedule thing cannot
          perform wakeups, and hence need 0.
      
      As one can see, there is very little nmi=1 usage, and the down-side of
      not using it is that on some platforms some software events can have a
      jiffy delay in wakeup (when arch_irq_work_raise isn't implemented).
      
      The up-side however is that we can remove the nmi parameter and save a
      bunch of conditionals in fast paths.
      Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Michael Cree <mcree@orcon.net.nz>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
      Cc: Anton Blanchard <anton@samba.org>
      Cc: Eric B Munson <emunson@mgebm.net>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Jason Wessel <jason.wessel@windriver.com>
      Cc: Don Zickus <dzickus@redhat.com>
      Link: http://lkml.kernel.org/n/tip-agjev8eu666tvknpb3iaj0fg@git.kernel.orgSigned-off-by: NIngo Molnar <mingo@elte.hu>
      a8b0ca17
  17. 22 2月, 2011 1 次提交
  18. 15 2月, 2011 1 次提交
  19. 22 12月, 2010 1 次提交
    • R
      ARM: pgtable: switch order of Linux vs hardware page tables · d30e45ee
      Russell King 提交于
      This switches the ordering of the Linux vs hardware page tables in
      each page, thereby eliminating some of the arithmetic in the page
      table walks.  As we now place the Linux page table at the beginning
      of the page, we can deal with the offset in the pgt by simply masking
      it away, along with the other control bits.
      
      This also makes the arithmetic all be positive, rather than a mixture.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      d30e45ee
  20. 08 9月, 2010 1 次提交
  21. 27 7月, 2010 5 次提交
  22. 09 6月, 2010 1 次提交
  23. 15 5月, 2010 1 次提交
  24. 13 2月, 2010 1 次提交
  25. 06 10月, 2009 1 次提交
    • I
      ARM: 5742/1: ARM: add debug check for invalid kernel page faults · 1d212712
      Imre Deak 提交于
      According to the following in arch/arm/mm/fault.c page faults from
      kernel mode are invalid if mmap_sem is already held and there is
      no exception handler defined for the faulting instruction:
      
      /*
       * As per x86, we may deadlock here.  However, since the kernel only
       * validly references user space from well defined areas of the code,
       * we can bug out early if this is from code which shouldn't.
       */
      if (!down_read_trylock(&mm->mmap_sem)) {
      	if (!user_mode(regs) && !search_exception_tables(regs->ARM_pc))
      		goto no_context;
      
      Since mmap_sem can be held at arbitrary times by another thread this
      also means that any page faults from kernel mode are invalid if no
      exception handler is defined for them, regardless whether mmap_sem is
      held at the time of fault.
      
      To easier detect code that can trigger the above error, add a check
      also for the case where mmap_sem is acquired. As this has an overhead
      make it a VM debug check.
      Signed-off-by: NImre Deak <imre.deak@nokia.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1d212712
  26. 03 10月, 2009 2 次提交
  27. 20 9月, 2009 5 次提交
  28. 18 8月, 2009 1 次提交
  29. 24 7月, 2009 1 次提交