- 30 Mar, 2004 2 commits
-
-
Jeff Garzik authored
Due to rounding and HZ==100, sometimes delays would not occur for the desired length of time, or even at all. Fix call to schedule_timeout() to ensure we delay -at least- for the correct amount of time.
-
Jeff Garzik authored
into redhat.com:/spare/repo/libata-2.6
-
- 29 Mar, 2004 9 commits
-
-
Jeff Garzik authored
We already fixed this bug locally, so fix up the automerge by removing the upstream change.
-
Jeff Garzik authored
into redhat.com:/spare/repo/libata-2.6
-
Linus Torvalds authored
-
Bartlomiej Zolnierkiewicz authored
Acked by Grant Grundler and Matthew Wilcox.
-
Bartlomiej Zolnierkiewicz authored
Acked by David Miller.
-
bk://linux-dj.bkbits.net/agpgartLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Dave Jones authored
-
Jeff Garzik authored
Here's one for -rc... either this bit is assumed on most modern drives, or nobody uses the 6-byte commands for read/write (which is very likely). Either way it definitely wants fixing. Since we use the modern "LBA" method of addressing sectors, this bit must be present in the Device register when issuing a read or write. There are three code paths that need this bit, and only two of them actually set it. This patch fixes the third (and apparently never used) code path.
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
- 30 Mar, 2004 1 commit
-
-
Russell King authored
Acorn decided to use an esoteric method for handling the year. Update RTC implementation to follow this method.
-
- 29 Mar, 2004 22 commits
-
-
Russell King authored
- Since the coherent DMA allocator is not currently compatible with HUGETLB, ensure that we fail at compile time should this option be selected. - Move struct device/dma mask handling into consistent_alloc(). - Complain if someone tries to allocate coherent memory larger than their DMA mask will permit. - Rename consistent_alloc() to __dma_alloc() to ensure that there is no confusion that consistent_alloc() has gone. - Ensure warnings and errors report the correct function name.
-
Russell King authored
Since we've eliminated users of these functions, we can unexport them. Instead, drivers should use the DMA API interfaces.
-
Russell King authored
-
Russell King authored
This is mainly for ARM framebuffer drivers, some of which are presently either open-coding this functionality, or using some internal ARM architecture function to get what they want.
-
Russell King authored
-
Russell King authored
-
Andrew Morton authored
It's a bit late in 2.6.5-rc for this, but it does fix a significant bug: for the first five minutes after boot, prior to the jiffy wrap, /bin/sync doesn't write all of the dirty data. We currently record an inode's time-of-first-dirtying in the address_space. This causes a few problems with dirty block special inodes: when the device node for /dev/hda1 needs to be written back we bogusly inspect the timestamp for the address_space, which belongs to a different inode. So move the inode's dirtying time up into the inode itself. This means that for block-special inodes, inode->dirtied_when represents the time at which the inode itself was dirtied. For regular files it represents the time at which the inode or its pages were dirtied. For blockdevs, the time-of-first-dirtying is recorded in the kernel-internal blockdev inode. Only I_DIRTY_PAGES makes sense on these inodes. The reason all this works is that when dirtying a page we always run __mark_inode_dirty(page->mapping->host); which refers to the kernel-internal blockdev inode.
-
Andrew Morton authored
From: Andi Kleen <ak@muc.de> We are in production now. No more debugging needed.
-
Andrew Morton authored
From: Olaf Hering <olh@suse.de> Further to the recent removal of CDROMs from /proc/partitions.
-
Andrew Morton authored
From: Hugh Dickins <hugh@veritas.com> There's an irritating extra space upsetting alignment in the 2.6 /proc/swaps, which already arranges a space to separate the fields.
-
Andrew Morton authored
From: Jeff Garzik <jgarzik@pobox.com> I pretty much said 'no' to everything "(NEW)", so any "=y" you see are the result of Kconfig rules, not me.
-
Andrew Morton authored
From: Pavel Machek <pavel@ucw.cz> Suspend/resume support in ide seems to work okay these days, so this should be applied.
-
Andrew Morton authored
From: mike.miller@hp.com If no device is attached we now return -ENXIO instead of some bogus numbers. Prevents applications from trying to access non-existent disks. Also adds HDIO_GETGEO_BIG IOCTL that fdisk uses.
-
Andrew Morton authored
From: <mike.miller@hp.com> This change is required to support the new MSA30 storage enclosure. If you do a SCSI inquiry to a SATA disk bad things happen. This patch prevents the inquiry from going to SATA disks.
-
Andrew Morton authored
From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br> sound/oss/opl3sa2.c:163: warning: `opl3sa2_lock' defined but not used
-
Andrew Morton authored
From: Andi Kleen <ak@suse.de> ptrace/access_process_vm was passing current to get_user_pages as task, but it should have been clearly the child task instead. This fixes the fault accounting in ptrace and the vsyscall debugging on x86-64 (it needs the correct task_struct to map the vsyscall pages)
-
Andrew Morton authored
From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br> sound/oss/cmpci.c: In function `cm_release_mixdev': sound/oss/cmpci.c:1465: warning: unused variable `s'
-
Andrew Morton authored
From: Rusty Russell <rusty@rustcorp.com.au> From: Srivatsa Vaddagiri <vatsa@in.ibm.com> Hit a couple of (cpu hotplug) races in slab allocator during my tests. Mostly it was because of continuous loading/unloading fs/minix/minix.ko while simultaneously doing offline/online of CPUs. As part of its init and exit routines, minix.ko create/destroys caches, which lead to several oopses. 1. kmem_cache_create In brief, kmem_cache_create does: a) calls enable_cpucache to create per-cpu cache for all online CPUs. b) adds the cache to the global list of caches These two are not done atomically and thats what causes problems. For ex: lets say that at the time of step a) CPU1 is not online. Hence no per-cpu cache is created for CPU1 (cachep->array[1] is NULL). However CPU1 is not completely dead in the sense that CPU_DEAD processing for it is not yet over. By the time CPU_DEAD processing starts for CPU1, step b) is complete. So cpuup_callback finds this cache and tries freeing it's per-cpu cache associated with CPU1. In the process it dereferences a NULL pointer and dies. 2. kmem_cache_destroy In brief, kmem_cache_destroy does: a) deletes the cache from the global list of caches b) Drain per-cpu cache (drain_cpu_caches), which basically uses smp_call_function to run do_drain on all online CPUs. One possible race is let's say that CPU1 is coming up. By the time CPU_UP_PREPARE is processed for CPU1, step a) is complete. Hence cpuup_callback does not allocate any per-cpu cache for the cache that is being destroyed. However by the time step b) is run, CPU1 is completely online (taking interrupts). It receives the IPI and tries draining it per-cpu cache (which is NULL) and dies there. I think we need to serialize kmem_cache_create/destroy against CPU hotplug to prevent these problems. Patch below does that by taking CPU Hotplug sem (which is OK since kmem_cache_create/destroy are not very frequently used?).
-
Andrew Morton authored
From: Joe Korty <joe.korty@ccur.com> The following fixes a problem where a SCHED_FIFO task would on occasion be moved to the end of its runqueue when returned to from a preemption. Cause was due to some SCHED_OTHER code in schedule() which was being run for tasks of every policy.
-
Andrew Morton authored
From: NeilBrown <neilb@cse.unsw.edu.au> This helps raid5 work on at least 1 very large array.. Thanks to Evan Felix <evan.felix@pnl.gov>
-
Andrew Morton authored
-
http://linux-watchdog.bkbits.net/linux-2.6-watchdogLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
- 28 Mar, 2004 6 commits
-
-
Alain Knaff authored
-
Benjamin Herrenschmidt authored
From: Colin Leroy <colin@colino.net> rmmod'ing pmac_zilog currently oopses because uart_unregister_driver(), which nullifies drv->tty_driver, is called before uart_remove_one_port(), which uses said drv->tty_driver. The comment at top of uart_unregister_driver() specifically says we have to have removed all our ports via uart_remove_one_port() before.
-
Armin Schindler authored
From: Frank A. Uepping This fixes capiminor_alloc() to assign the lowest free minor for a new capi_tty. Thanks to Frank A. Uepping and Tim Woods.
-
Benjamin Herrenschmidt authored
The syscall return path on ppc64 checks if the error is between -LAST_ERRNO and 0, if it is, does the usual inversion along with setting a CR bit indicating to glibc that an error occured. However, we had an interesting bug where we used a 32 bits logica (unsigned) comparison, thus possibly doing false positives for valid 64 bits unsigned values whose low 32 bits happen to be in the error range. Fix that.
-
Felipe Alfaro Solana authored
Just as there is documentation for BINFMT_MISC and Java bytecodes support, I thought it could be interesting to add documentation on how to add BINFMT_MISC support for directly running .NET ".exe" binaries using the Mono CLR.
-
Benjamin Herrenschmidt authored
This patch fixes more cases of possible preempt issue when testing MSR for FP or VEC bits and then doing giveup_fpu or giveup_altivec that I missed in my previous round of fixes (bk get helps before grepping ;) I also change the single step and program check exceptions to not re-enable interrupts right away on C code entry, it was useless and would cause interesting issues with preempt & xmon
-