1. 08 Feb, 2003 8 commits
    • David S. Miller's avatar
      Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5 · fd7c713f
      David S. Miller authored
      into kernel.bkbits.net:/home/davem/net-2.5
      fd7c713f
    • Jamie Lokier's avatar
      [PATCH] CONFIG_PREEMPT fix of do_debug() · 28a59cb0
      Jamie Lokier authored
      If CONFIG_PREEMPT is enabled, and the kernel is preempted just before
      do_debug() has a chance to save the debug register values, DR6 could be
      read from the wrong CPU.
      
      It is exactly the same problem as reading %cr2 in the page fault
      handler.  Same fix: make the handler a interrupt gate, and enable
      interrupts only once safe.
      28a59cb0
    • Andrew Morton's avatar
      [PATCH] Fix compile warning for 'sys_exit_group' · 167b1210
      Andrew Morton authored
      sys_exit_group() doesn't return any value, and obviously cannot.
      
      So don't make the compiler unhappy about it by claiming it does.
      167b1210
    • Russell King's avatar
      [PATCH] Fix Alt-SysRQ-T status, and comment · cdb4ec5d
      Russell King authored
      Fix wrong order of process status. It's
      
      	#define TASK_RUNNING            0
      	#define TASK_INTERRUPTIBLE      1
      	#define TASK_UNINTERRUPTIBLE    2
      	#define TASK_STOPPED            4
      	#define TASK_ZOMBIE             8
      	#define TASK_DEAD               16
      
      but SysRQ printout routines switch stopped and zombie around.
      
      So, for one more time, here's another mailing of the same patch to fix
      this brokenness.  In addition, fix the wrong comment in fs/proc/array.c
      cdb4ec5d
    • Linus Torvalds's avatar
      More signal handling fixups for the threaded signal fix upheavals. · 5654988e
      Linus Torvalds authored
      This fixes the signal code to not wake up threads with blocked signals,
      especially noticeable with kernel threads that may not be able to handle
      signals at all.
      
      We also don't unnecessarily wake processes in TASK_UNINTERRUPTIBLE.
      5654988e
    • Chris Wedgwood's avatar
      [PATCH] missing sound include file · b07f7f53
      Chris Wedgwood authored
      Sound drivers need <linus/interrupt.h> for tasklets
      b07f7f53
    • Jaroslav Kysela's avatar
      ALSA update · 613b00db
      Jaroslav Kysela authored
        - emu10k1 - fixed makefile to not build synth module when emu10k1 is not selected
      613b00db
    • Jaroslav Kysela's avatar
      ALSA update · 0d3e15d1
      Jaroslav Kysela authored
        - cmipci driver cleanups (ac3 & surround)
        - replaced snd_dma_residue() with snd_dma_pointer()
        - GCC 3.3 warnings removal
        - timer interface
          - recoded using tasklet
          - improved slave timer locking (should be much faster)
          - added async support
        - improved ioctl32 wrapper functions
        - fixed Makefile problems (synth modules were build for not selected driver)
        - AC97 codec
          - improved SPSA control
          - moved reset function outside the main init code
          - improved ALC650 initialization
        - USB driver
          - added quirk for Roland XV-2020
      0d3e15d1
  2. 07 Feb, 2003 9 commits
    • Roland McGrath's avatar
      [PATCH] TASK_STOPPED wakeup cleanup · 03e21831
      Roland McGrath authored
      For handle_stop_signal to do the special case for SIGKILL and have it
      work right in all SMP cases (without changing all the existing ptrace
      stops), it needs to at least set TIF_SIGPENDING on each thread before
      resuming it.
      
      handle_stop_signal addresses a related race for SIGCONT by setting
      TIF_SIGPENDING already, so having SIGKILL handled the same way makes
      sense.
      
      Now it seems pretty clean to have handle_stop_signal resume threads for
      SIGKILL, and have on SIGKILL special case in group_send_sig_info.
      
      There is also an SMP race issue with cases like do_syscall_trace, i.e.
      TASK_STOPPED state set without holding the siglock.  So I think
      handle_stop_signal should call wake_up_process unconditionally.
      03e21831
    • Chris Wedgwood's avatar
      [PATCH] signal locking update · 631da088
      Chris Wedgwood authored
      Accomodate the signal locking moving from "tsk->sig" to "tsk->sighand".
      631da088
    • Daniel Jacobowitz's avatar
      Hand merge · 687bc18d
      Daniel Jacobowitz authored
      687bc18d
    • Linus Torvalds's avatar
      Split up "struct signal_struct" into "signal" and "sighand" parts. · 8eae2998
      Linus Torvalds authored
      This is required to get make the old LinuxThread semantics work
      together with the fixed-for-POSIX full signal sharing. A traditional
      CLONE_SIGHAND thread (LinuxThread) will not see any other shared
      signal state, while a new-style CLONE_THREAD thread will share all
      of it.
      
      This way the two methods don't confuse each other.
      8eae2998
    • Linus Torvalds's avatar
      Don't special-case SIGKILL/SIGSTOP - the blocking masks should · fef31b03
      Linus Torvalds authored
      already take care of it.
      
      This fixes kernel threads that _do_ block SIGKILL/STOP.
      fef31b03
    • Andrew Morton's avatar
      [PATCH] Fix possible uninitialised variable in vma merging code · b1ab5049
      Andrew Morton authored
      Spotted by davem.  Strange that it ever worked.  Don't know why the compiler
      didn't warn...
      b1ab5049
    • Roland McGrath's avatar
      [PATCH] do_sigaction locking cleanup · 530a7dbc
      Roland McGrath authored
      This changes do_sigaction to avoid read_lock(&tasklist_lock) on every
      call.  Only in the fairly uncommon cases where it's really needed will
      it take that lock (which requires unlocking and relocking the siglock
      for locking order).
      
      I also changed the ERESTARTSYS added in my earlier patch to ERESTARTNOINTR.
      That is an "instantaneous" case, and there is no reason to have it possibly
      return EINTR if !SA_RESTART (which AFAIK sigaction never could before, and
      it might not be kosher by POSIX); rollback is always better.
      530a7dbc
    • Roland McGrath's avatar
      [PATCH] SA_NOCLDWAIT now supported - update comments · 9e549588
      Roland McGrath authored
      This patch removes all the comments on the SA_NOCLDWAIT definitions,
      since SA_NOCLDWAIT is fully supported now.
      9e549588
    • Steven Cole's avatar
      [PATCH] Spelling fixes for consistent, dependent, persistent · da11be46
      Steven Cole authored
      This fixes the following common misspellings and their variants.
      
        consistant -> consistent
        dependant  -> dependent
        persistant -> persistent
      da11be46
  3. 06 Feb, 2003 23 commits