1. 27 3月, 2009 1 次提交
  2. 18 10月, 2008 2 次提交
  3. 02 8月, 2008 1 次提交
    • T
      [IA64] Move include/asm-ia64 to arch/ia64/include/asm · 7f30491c
      Tony Luck 提交于
      After moving the the include files there were a few clean-ups:
      
      1) Some files used #include <asm-ia64/xyz.h>, changed to <asm/xyz.h>
      
      2) Some comments alerted maintainers to look at various header files to
      make matching updates if certain code were to be changed. Updated these
      comments to use the new include paths.
      
      3) Some header files mentioned their own names in initial comments. Just
      deleted these self references.
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      7f30491c
  4. 29 4月, 2008 1 次提交
  5. 10 4月, 2008 1 次提交
    • P
      [IA64] fix getpid and set_tid_address fast system calls for pid namespaces · 96ded9da
      Pavel Emelyanov 提交于
      The sys_getpid() and sys_set_tid_address() behavior changed from
      
      	return current->tgid
      
      to
      
      	struct pid *pid;
      	pid = current->pids[PIDTYPE_PID].pid;
      	return pid->numbers[pid->level].nr;
      
      But the fast system calls on ia64 still operate the old way.  Patch them
      appropriately to let ia64 work with pid namespaces.  Besides, this is one more
      step in deprecating of pid and tgid on task_struct.
      
      The fsys_getppid() is to be patched as well, but its logic is much
      more complex now, so I will make it later.
      
      One thing I'm not 100% sure is the trick with the IA64_UPID_SHIFT.  On order
      to access the pid->level's element of an array I have to perform the following
      calculations
      
      	pid + sizeof(struct upid) * pid->level
      
      The problem is that ia64 can only multiply float point registers, while all
      the offsets I have in code are in rXX ones.  Fortunately, the sizeof(struct
      upid) is 32 bytes on ia64 (and is very unlikely to ever change), so the
      calculations get simpler:
      
      	pid + pid->level << 5
      
      So, I introduce the IA64_UPID_SHIFT and use the shl instruction.  I also
      looked at how gcc compiles the similar place and found that it makes it with
      shift as well.  Is this OK to do so?
      
      Tested with ski emulator with 2.6.24 kernel, but fits 2.6.25-rc4 and
      2.6.25-rc4-mm1 as well.
      Signed-off-by: NPavel Emelyanov <xemul@openvz.org>
      Cc: David Mosberger-Tang <davidm@hpl.hp.com>
      Cc: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      Cc: Amy Griffis <amy.griffis@hp.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      96ded9da
  6. 21 2月, 2008 1 次提交
    • H
      [IA64] VIRT_CPU_ACCOUNTING (accurate cpu time accounting) · b64f34cd
      Hidetoshi Seto 提交于
      This patch implements VIRT_CPU_ACCOUNTING for ia64,
      which enable us to use more accurate cpu time accounting.
      
      The VIRT_CPU_ACCOUNTING is an item of kernel config, which s390
      and powerpc arch have.  By turning this config on, these archs
      change the mechanism of cpu time accounting from tick-sampling
      based one to state-transition based one.
      
      The state-transition based accounting is done by checking time
      (cycle counter in processor) at every state-transition point,
      such as entrance/exit of kernel, interrupt, softirq etc.
      The difference between point to point is the actual time consumed
      during in the state. There is no doubt about that this value is
      more accurate than that of tick-sampling based accounting.
      Signed-off-by: NHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      b64f34cd
  7. 21 7月, 2007 1 次提交
  8. 08 3月, 2007 1 次提交
    • F
      [IA64] fsys_getcpu for IA64 · 3bc207d2
      Fenghua Yu 提交于
      On 1.6GHz Montectio Tiger4, the following performance data is measured with
      kernel built with defconfig which has NUMA configured:
      
      Fastest sys_getcpu: 502 itc counts.
      Fastest fsys_getcpu: 28 itc counts.
      
      fsys_getcpu performance is largly impacted by whether data (node_to_cpu_map
      etc) is in cache. It can take fsys_getcpu up to ~150 itc counts in cold
      cache case.
      Signed-off-by: NFenghua Yu <fenghua.yu@intel.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      3bc207d2
  9. 01 7月, 2006 1 次提交
  10. 22 6月, 2006 1 次提交
    • K
      [IA64] Sanitize assembler code for ia64_sal_os_state · d270acbc
      Keith Owens 提交于
      struct ia64_sal_os_state has three semi-independent sections.  The code
      in mca_asm.S assumes that these three sections are contiguous, which
      makes it very awkward to add new data to this structure.  Remove the
      assumption that the sections are contiguous.  Define a macro to shorten
      references to offsets in ia64_sal_os_state.
      
      This patch does not change the way that the code behaves.  It just
      makes it easier to update the code in future and to add fields to
      ia64_sal_os_state when debugging the MCA/INIT handlers.
      Signed-off-by: NKeith Owens <kaos@sgi.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      d270acbc
  11. 13 9月, 2005 1 次提交
  12. 12 9月, 2005 1 次提交
    • K
      [PATCH] MCA/INIT: use per cpu stacks · 7f613c7d
      Keith Owens 提交于
      The bulk of the change.  Use per cpu MCA/INIT stacks.  Change the SAL
      to OS state (sos) to be per process.  Do all the assembler work on the
      MCA/INIT stacks, leaving the original stack alone.  Pass per cpu state
      data to the C handlers for MCA and INIT, which also means changing the
      mca_drv interfaces slightly.  Lots of verification on whether the
      original stack is usable before converting it to a sleeping process.
      Signed-off-by: NKeith Owens <kaos@sgi.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      7f613c7d
  13. 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