- 18 Nov, 2003 15 commits
-
-
Andrew Morton authored
From: Oleg Drokin <green@linuxhacker.ru> reiserfs shouldn't be holding a ref against a buffer when running set_blocksize(): it means that truncate_inode_pages() cannot free that page. Which is not fatal - the page will drift aimlessly down the LRU until the VM nails it. But it's better this way.
-
Andrew Morton authored
From: Thomas Schlicter sched_clock() will try to use the TSC even if the system is not using the TSC as a time source. It causes bad scheduling decisions and poor interactivity. The problem was exhibited by the patch which uses ACPI PM as a time source, but could also happen if the system is using the PIT.
-
Andrew Morton authored
From: Stephen Hemminger <shemminger@osdl.org> The original problem all this is solving is that when NTP is slowing the clock there existed real cases where time appeared to go backwards. Assuming NTP was slowing the clock, then it would update the xtime by 999us at the next timer interrupt. If a program read time three times: A: xtime = t0 B: A+1000 xtime = t0 + 1000 C: B+1 xtime = t0 + 999 To behave correctly C > B > A; but we were returning C < B The code does have bug if we are losing clock interrupts. The test for lost interrupts needs to be after the interval clamp.
-
Andrew Morton authored
There's a window in this function where a wakeup can get lost.
-
Andrew Morton authored
From: Zwane Mwaikambo <zwane@arm.linux.org.uk> gcc-3.2.2-5 miscompiles constant_test_bit(). Tweak it so the compiler gets it right. It cleans it up too!
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Andrew Morton authored
We need to make the scan data unsigned, since we do length = ((data[0] << 24) | (data[1] << 16) | (data[2] << 8) | (data[3] << 0)); and if data[3] is 0xff, this expression will always evaluate to 0xffffffff. etcetera.
-
David S. Miller authored
into hera.kernel.org:/home/davem/BK/net-2.5
-
David Stevens authored
-
Patrick McHardy authored
-
Patrick McHardy authored
Problem introduced by cset 1.1046.1.318
-
Patrick McHardy authored
-
Herbert Xu authored
-
Paul Mackerras authored
This is the PPC64 counterpart of the fix for the potential race in the syscall restart code that has gone into other architectures. It resets current_thread_info()->restart_block.fn to do_no_syscall_restart in the sigreturn code.
-
- 17 Nov, 2003 8 commits
-
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Ville Nuorvala authored
-
David Stevens authored
When binding to two different multicast addresses on the same UDP port, a copy sent to either multicast address is delivered to both.
-
David S. Miller authored
into nuts.ninka.net:/disk1/davem/BK/net-2.5
-
David S. Miller authored
While here, fix the existing conditional. The || should be an && as all config options mentioned should prevent VGA_CONSOLE from being offered.
-
David S. Miller authored
-
Jesse Barnes authored
Russell King reports: "With previous kernels, the nodes are added to the list in reverse order, so architecture code knew we had to add the highest PFN first and the lowest PFN node last. Unfortunately, init_bootmem_core() now sorts the nodes according to their start pfn. This active sorting broke ARM discontig memory support." Andrew Morton chimes in: "It looks to be bogus on ia64 as well, for which the patch was written" Yep, I think it is bogus. There's only one caller on ia64 that would be affected--swiotlb_init(), and afaik multi-node systems won't be using that code (except maybe NEC?), so even if the pgdat list is out of order we should be ok. If not I'll fix the ia64 discontig code.
-
Herbert Xu authored
kernel_thread() returns the pid if successful, so the test for errors is to test for _negative_ values.
-
- 16 Nov, 2003 3 commits
-
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Prasanna Meda authored
It is using local variable `i' in both the inner and outer loop. Need to bring the for loop outside the loop. Otherwise we need to reset the setup_frame to tp->setup_frame after every loop. You do not need to set the setup_frm for every mc address, we can set once after the complete has_table is ready.
-
Russell King authored
Always disable system call restart when returning from a signal handler. This follows the new x86 behaviour.
-
- 15 Nov, 2003 4 commits
-
-
Paul Mackerras authored
We're actually much better off resetting system call restart at signal return. This makes all other resets unnecessary. Here's the ppc version of it.
-
Linus Torvalds authored
invoking the signal. This fixes all races. As per discussion with Paul Mackerras on linux-kernel.
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
David Mosberger authored
-
- 14 Nov, 2003 2 commits
-
-
Paul Mackerras authored
This patch ensures that the PPC kernel cancels any pending restarted system call when it delivers a signal. This is the PPC counterpart of the change that has recently gone into i386 and other architectures.
-
Paul Mackerras authored
This patch fixes a bug on PPC where the kernel will oops if a process does a system call and the system call number is out of range. While fixing that, I noticed that if the process is being ptraced, an out-of-range system call will not get traced on the way in but will on the way out. This patch fixes that too, by making it get traced on the way in as well as the way out. It turned out to be less change, and fewer instructions overall, to do that than to make the out-of-range system call not be traced at all.
-
- 13 Nov, 2003 8 commits
-
-
David S. Miller authored
into nuts.ninka.net:/disk1/davem/BK/net-2.5
-
Venkatesh Pallipadi authored
Early ACPI table parse for HPET tables has a bug, where in it does not do proper set_fixmap for ACPI-HPET table. This bug was lost in oversight, and was not noticed during my testing too, as the ACPI-HPET table on all my test systems happened to be in 1st Gig of memory (where __va() will do the job).
-
Jason Holmes authored
The 2.4 megaraid driver recognizes the Intel PCI vendor id whereas the 2.6 driver does not. The attached patch against 2.6.0-test9 adds the missing two lines from the 2.4 driver to enable this.
-
http://linux-ntfs.bkbits.net/ntfs-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Anton Altaparmakov authored
into cantab.net:/home/aia21/ntfs-2.6
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-