1. 04 10月, 2006 6 次提交
  2. 03 10月, 2006 1 次提交
    • G
      [SCSI] enable clustering for tmscsim · 8f6fd19f
      Guennadi Liakhovetski 提交于
      following an email from John Adams <johna@onevista.com> to me with a patch
      to enable tmscsim to use blocks up to 1MB and a discussion on linux-scsi,
      below is a patch to enable clustering for tmscsim. I made it switchable
      with a module parameter, with default "enable" - in case somebody gets
      problems with it. Unfortunately, I was not able to check if this alone
      lets you use any bigger blocks with a tape, as my tape seems to only
      support 1 block size - only "mt setblk 1" is successful, any other value
      fails. OTOH, testing on a P-133 showed that enabling clustering alone
      improves throughput by 10% and reduces CPU load by another 10%, so, seems
      a worthy thing to do. As for setting max_sectors, that might become a
      separate patch...
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      8f6fd19f
  3. 02 10月, 2006 9 次提交
  4. 01 10月, 2006 1 次提交
  5. 28 9月, 2006 1 次提交
  6. 27 9月, 2006 17 次提交
  7. 26 9月, 2006 5 次提交
    • H
      [PATCH] s390: fix cmm kernel thread handling · e8216dee
      Heiko Carstens 提交于
      Convert cmm's usage of kernel_thread to kthread_run.  Also create the
      cmmthread at module load time, so it is possible to check if creation of
      the thread fails.
      
      In addition the cmmthread now gets terminated when the module gets unloaded
      instead of leaving a stale kernel thread.  Also check the return values of
      other registration functions at module load and handle their return values
      appropriately.
      
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e8216dee
    • J
      [PATCH] Make UML use ptrace-abi.h · e8df8c33
      Jeff Dike 提交于
      Include the host architecture's ptrace-abi.h instead of ptrace.h.
      
      There was some cpp mangling of names around the ptrace.h include to avoid
      symbol clashes between UML and the host architecture.  Most of these can go
      away.  The exception is struct pt_regs, which is convenient to have in
      userspace, but must be renamed in order that UML can define its own.
      
      ptrace-x86_64.h needed to have some now-obsolete cpp cruft and a declaration
      removed.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e8df8c33
    • J
      [PATCH] Split i386 and x86_64 ptrace.h · 70e0eb8e
      Jeff Dike 提交于
      The use of SEGMENT_RPL_MASK in the i386 ptrace.h introduced by
      x86-allow-a-kernel-to-not-be-in-ring-0.patch broke the UML build, as UML
      includes the underlying architecture's ptrace.h, but has no easy access to the
      x86 segment definitions.
      
      Rather than kludging around this, as in the past, this patch splits the
      userspace-usable parts, which are the bits that UML needs, of ptrace.h into
      ptrace-abi.h, which is included back into ptrace.h.  Thus, there is no net
      effect on i386.
      
      As a side-effect, this creates a ptrace header which is close to being usable
      in /usr/include.
      
      x86_64 is also treated in this way for consistency.  There was some trailing
      whitespace there, which is cleaned up.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      70e0eb8e
    • A
      [PATCH] UML: tty locking · b1fc0b1f
      Alan Cox 提交于
      Ensure current->signal->tty doesn't get freed during log_exec().
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Acked-by: NJeff Dike <jdike@addtoit.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b1fc0b1f
    • J
      [PATCH] uml: stack usage reduction · 75e29b18
      Jeff Dike 提交于
      The KSTK_* macros used an inordinate amount of stack.  In order to overcome
      an impedance mismatch between their interface, which just returns a single
      register value, and the interface of get_thread_regs, which took a full
      pt_regs, the implementation created an on-stack pt_regs, filled it in, and
      returned one field.  do_task_stat calls KSTK_* twice, resulting in two
      local pt_regs, blowing out the stack.
      
      This patch changes the interface (and name) of get_thread_regs to just
      return a single register from a jmp_buf.
      
      The include of archsetjmp.h" in registers.h to get the definition of
      jmp_buf exposed a bogus include of <setjmp.h> in start_up.c.  <setjmp.h>
      shouldn't be used anywhere any more since UML uses the klibc
      setjmp/longjmp.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      75e29b18