- 08 Feb, 2003 8 commits
-
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/net-2.5
-
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.
-
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.
-
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
-
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.
-
Chris Wedgwood authored
Sound drivers need <linus/interrupt.h> for tasklets
-
Jaroslav Kysela authored
- emu10k1 - fixed makefile to not build synth module when emu10k1 is not selected
-
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
-
- 07 Feb, 2003 9 commits
-
-
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.
-
Chris Wedgwood authored
Accomodate the signal locking moving from "tsk->sig" to "tsk->sighand".
-
Daniel Jacobowitz authored
-
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.
-
Linus Torvalds authored
already take care of it. This fixes kernel threads that _do_ block SIGKILL/STOP.
-
Andrew Morton authored
Spotted by davem. Strange that it ever worked. Don't know why the compiler didn't warn...
-
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.
-
Roland McGrath authored
This patch removes all the comments on the SA_NOCLDWAIT definitions, since SA_NOCLDWAIT is fully supported now.
-
Steven Cole authored
This fixes the following common misspellings and their variants. consistant -> consistent dependant -> dependent persistant -> persistent
-
- 06 Feb, 2003 23 commits
-
-
James Morris authored
-
James Morris authored
-
James Morris authored
-
James Morris authored
-
James Morris authored
-
Lennert Buytenhek authored
-
Lennert Buytenhek authored
-
James Morris authored
-
James Morris authored
-
Bart De Schuymer authored
-
Daniel Jacobowitz authored
-
Linus Torvalds authored
-
Roland McGrath authored
Here is a cleanup moving the new pending thread signal check into exit_notify. I also made exit_notify and do_exit consistent in using the saved tsk variable instead of current, as most of do_exit already does.
-
Daniel Jacobowitz authored
-
Daniel Jacobowitz authored
-
Daniel Jacobowitz authored
-
Anton Blanchard authored
Add a missing include for those pesky S_IRUGO thingys.
-
Frank Davis authored
This patch for bt819.c addresses buzilla bug #169 (compile error).
-
Frank Davis authored
This patch to saa7185 to resolves buzilla bug #168 (compile error). It has been sent to l-k and has received no objections.
-
Frank Davis authored
This fixes a bt856.c compile error. The driver now compiles. Its a straightforward patch and have emailed l-k and no objections have been reported.
-
Christoph Hellwig authored
The Stanford checker disclose that vxfs_read_fshead was missing any unwinding in the error cases..
-
Andries E. Brouwer authored
-
Andries E. Brouwer authored
In struct char_dev the fields openers and sem are unused. The file char_dev.c claims that it is called differently.
-