1. 30 6月, 2006 1 次提交
  2. 21 6月, 2006 1 次提交
  3. 26 4月, 2006 1 次提交
  4. 04 4月, 2006 1 次提交
  5. 24 2月, 2006 1 次提交
    • P
      powerpc: Implement accurate task and CPU time accounting · c6622f63
      Paul Mackerras 提交于
      This implements accurate task and cpu time accounting for 64-bit
      powerpc kernels.  Instead of accounting a whole jiffy of time to a
      task on a timer interrupt because that task happened to be running at
      the time, we now account time in units of timebase ticks according to
      the actual time spent by the task in user mode and kernel mode.  We
      also count the time spent processing hardware and software interrupts
      accurately.  This is conditional on CONFIG_VIRT_CPU_ACCOUNTING.  If
      that is not set, we do tick-based approximate accounting as before.
      
      To get this accurate information, we read either the PURR (processor
      utilization of resources register) on POWER5 machines, or the timebase
      on other machines on
      
      * each entry to the kernel from usermode
      * each exit to usermode
      * transitions between process context, hard irq context and soft irq
        context in kernel mode
      * context switches.
      
      On POWER5 systems with shared-processor logical partitioning we also
      read both the PURR and the timebase at each timer interrupt and
      context switch in order to determine how much time has been taken by
      the hypervisor to run other partitions ("steal" time).  Unfortunately,
      since we need values of the PURR on both threads at the same time to
      accurately calculate the steal time, and since we can only calculate
      steal time on a per-core basis, the apportioning of the steal time
      between idle time (time which we ceded to the hypervisor in the idle
      loop) and actual stolen time is somewhat approximate at the moment.
      
      This is all based quite heavily on what s390 does, and it uses the
      generic interfaces that were added by the s390 developers,
      i.e. account_system_time(), account_user_time(), etc.
      
      This patch doesn't add any new interfaces between the kernel and
      userspace, and doesn't change the units in which time is reported to
      userspace by things such as /proc/stat, /proc/<pid>/stat, getrusage(),
      times(), etc.  Internally the various task and cpu times are stored in
      timebase units, but they are converted to USER_HZ units (1/100th of a
      second) when reported to userspace.  Some precision is therefore lost
      but there should not be any accumulating error, since the internal
      accumulation is at full precision.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      c6622f63
  6. 11 11月, 2005 1 次提交
  7. 09 11月, 2005 3 次提交
  8. 01 11月, 2005 1 次提交
  9. 26 10月, 2005 1 次提交
    • P
      powerpc: Fix interrupt-tree parsing · 6d0124fc
      Paul Mackerras 提交于
      The interrupt-tree parsing code wasn't offsetting interrupt numbers
      by 16 on 32-bit platforms with an i8259 interrupt controller, and
      it was confused about the encoding of interrupt sense and level
      (which is different for i8259 and openpic interrupt controllers,
      just to make things interesting).
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      6d0124fc
  10. 20 10月, 2005 1 次提交
    • P
      powerpc: Merge time.c and asm/time.h. · f2783c15
      Paul Mackerras 提交于
      We now use the merged time.c for both 32-bit and 64-bit compilation
      with ARCH=powerpc, and for ARCH=ppc64, but not for ARCH=ppc32.
      This removes setup_default_decr (folds its function into time_init)
      and moves wakeup_decrementer into time.c.  This also makes an
      asm-powerpc/rtc.h.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f2783c15
  11. 10 10月, 2005 1 次提交
  12. 22 9月, 2005 1 次提交
    • K
      [PATCH] powerpc: merged hw_irq.h · b671ad2b
      Kumar Gala 提交于
      Merged hw_irq.h between ppc32 & ppc64.  Added support to use the Book-E
      wrtee[i] instructions that allow modifying MSR[EE] atomically.
      Additionally, added get_irq_desc() macros to ppc32 to allow mask_irq(),
      unmask_irq(), and ack_irq() to be common between ppc32 & ppc64.
      
      Note: because 64-bit Book-E implementations only have a 32-bit MSR the
      macro's for Book-E need to come before the PPC64 macro's to ensure the
      right thing happends for 64-bit Book-E processors.
      Signed-off-by: NKumar Gala <kumar.gala@freescale.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      b671ad2b
  13. 18 9月, 2005 1 次提交
  14. 10 9月, 2005 1 次提交
  15. 08 9月, 2005 1 次提交
  16. 05 9月, 2005 1 次提交
  17. 22 6月, 2005 2 次提交
  18. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4