- 11 Nov, 2003 8 commits
-
-
Linus Torvalds authored
Otherwise, a restarted system call that gets interrupted before the restart has taken effect by _another_ signal will potentially restart the wrong system call.
-
Linus Torvalds authored
It would oops on any machines that had an ALI northbridge but didn't have the exact ISA bridge we expected.
-
George Anzinger authored
The problem with clock_nanosleep() restarting was that the address of the users return timespec was being saved at the wrong place. In needs to be saved in the sys call interface code rather than the do_clock_nanosleep(). My original tests were a bit weak as they only did one signal rather than two or more which were required to break it. The attached patch fixes the problem. I also added a few comments about how restart works, and added my name to the MAINTAINERS list.
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
The bug is probably impossible to trigger on x86, due to its fairly strong coherency model (the SMP-safe bitops end up being memory barriers etc), but other architectures - notably ppc64 - can apparently trigger a race whereby the signal sender doesn't wake up the target because it doesn't notice that it has gone to sleep. The optimization also optimizes only what appears to be the uncommon case, where the signal happens for an already-running process.
-
Daniel McNeil authored
This makes the AIO submit path holds an extra reference until just before returning. This fixes the referencing a free kiocb. Without this patch the kernel will oops if the AIO completes early.
-
Linus Torvalds authored
Noticed by Petr Vandrovec. In the out-of-memory case, do_wp_page() would unlock page_table_lock twice - once before allocating, and once in the exit path. Rewrite the exit paths to be more readable, and don't try to share the code between all the exit cases, since they are very different.
-
- 10 Nov, 2003 12 commits
-
-
David S. Miller authored
- Delete fd_{enable,disable}_irq() interfaces, never used. - Move ebus_dma_irq_enable() calls into sun_pci_fd_{request,free}_irq().
-
Hideaki Yoshifuji authored
-
Hideaki Yoshifuji authored
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
David Mosberger authored
-
Paul Jackson authored
Display of cpumask for /proc/irq/prof_cpu_mask has a botch in the print loop - should consume 2 bytes per loop.
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
David Mosberger authored
Found by Russell King.
-
Andries E. Brouwer authored
Since 2.6.x by default does not remap the disk partitions any more, it would be a good idea to warn when we see EZD or DM signatures. That informs the user to fix his setup (or pass in "hdx=remap" on the kernel command line).
-
bk://gkernel.bkbits.net/net-drivers-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
bk://gkernel.bkbits.net/libata-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
* flush host FIFO after sending data to DIMM window * don't set SCR addresses, as the hardware doesn't have SCRs (cosmetic)
-
- 09 Nov, 2003 20 commits
-
-
Andrew Morton authored
From: James Bottomley <James.Bottomley@SteelEye.com> The cpu_callout_map differs from the prototype in asm-i386/smp.h by a volatile. gcc-3.3 now treats this as an error, so voyager support will only compile with older gcc's. The fix is to remove the spurious volatile.
-
Andrew Morton authored
This fixes a JBD assertion failure (goes BUG) in __journal_remove_journal_head(). When the journal had aborted due to earlier internal consistency errors (or I/O errors) it is possible that we free journal_heads which still have attached copyout buffers. So just free them up.
-
Andrew Morton authored
From: Mike Tran <mhtran@us.ibm.com> This fixes the RAID1 recovery problems; it seems to be a simple thinko: sync_request_write() is passing "ok=0" into md_done_sync(). Clearly, `ok' should be true here. (acked by neilb)
-
Andrew Morton authored
From: Rusty Russell <rusty@rustcorp.com.au> Module aliases are all of form "char-major-<major>-<minor>". char_dev.c calls request_module with "char-major-<major>".
-
Andrew Morton authored
It's not ready for prime time yet, so hide it until the additional work has been done.
-
Andrew Morton authored
If this CPU decides that an ext2 block group has a free block it will then go in and try to acquire it. No locks are held, so another CPU can come in and steal the last block. In this case we will bogusly report a corrupted filessytem. Fix it by just restarting the scan - this will choose a different blockgroup or will generate -ENOSPC.
-
Andrew Morton authored
Only include mca.h if CONFIG_MCA: only ia32 and ia64 have <asm/mca.h>
-
Andrew Morton authored
From: Nick Piggin <piggin@cyberone.com.au> as_completed_request() can be called for requests which were not generated by the generic block layer. Handle these, to avoid a subsequent WARN_ON (at least). Also kill a separate WARN_ON which is bogusly triggering.
-
David S. Miller authored
into hera.kernel.org:/home/davem/BK/net-2.5
-
Neil Brown authored
An extra dput was introduced in nfsd_rename 20 months ago.... time to remove it.
-
Paul Mackerras authored
The __start___ex_table and __start___bug_table symbols could end up pointing a few bytes before the actual __ex_table and __bug_table sections, if the preceding section had an odd length. This led to oopses in some situations. Patch from Sam Ravnborg.
-
David S. Miller authored
into nuts.ninka.net:/disk1/davem/BK/net-2.5
-
Hideaki Yoshifuji authored
-
Hideaki Yoshifuji authored
-
Bart De Schuymer authored
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Russell King authored
If we are unable to deliver a signal to the process (eg, due to stack pointer corruption) block the signal so other fatal signals can kill off the process.
-
Andi Kleen authored
K8 has an erratum (#100) that essentially causes some compat mode processes to fault occassionally. The issue can be worked around in the OS. It only applies to x86-64, in 32bit it is fine. This adds a check to the page fault handler that checks for addresses >4GB from compat mode. If they happen just return; the CPU will reexecute the instruction and the condition that caused the problem is gone. More details in Opteron/Athlon64 specification update on the AMD website. Also I removed a left over debugging printk in the prefetch handling code.
-
Vojtech Pavlik authored
default values after probing This sets the mouse to 100 samples/second, 200 dpi, 1:1 mapping, which is a standard setting, as close to 2.4 XFree86 behavior as possible, and a good performance setting, too. It also in the case of 'psmouse_noext' doesn't probe and set anything all, though it still issues the RESET command. This is as safe as one can get. The only real problem remaining is that the report rate and resolution cannot be set from XFree86 config and only is available as a kernel/module parameter. The fix is, howewer not 2.6.0 material.
-
Andi Kleen authored
The K8 IOMMU code had some broken BUG_ON()s that hit with <4K aligned IO through the IOMMU. This patch fixes this. Without this database raw IO is often broken.
-