- 29 Feb, 2004 1 commit
-
-
Jens Axboe authored
Here's a much better version. The real bug was of course that the get_user/put_user for data_direction were transposed. This patch also fixes the translation of "quiet" and "timeout" to be safer and clearer (instead of memcpying them as two ints and knowing that "quiet" is first and assuming that "compat_int_t" is always the same as the native "int", the code now handles them explicitly). We should use "access_ok()" and __get_user/__put_user to generate better code for this, but it's not performance-critical, so we don't care. Some other day, perhaps.
-
- 28 Feb, 2004 2 commits
-
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/net-2.6
-
David S. Miller authored
-
- 27 Feb, 2004 37 commits
-
-
Alexander Viro authored
Maurice van der Stee noted that he got an oops on a HPFS filesystem when saving an edited file.. <stares at the code> <blinks> <wonders whereTF do we assign hpfs1_i and hpfs2_i if both inodes are non-NULL> <finds the patch in question> <stares at jgarzik> This fixes it. That, BTW, means that *nobody* had ever tried to use hpfs r/w since 2.5.3-pre3.
-
Adrian Bunk authored
From Hans Ulrich Niedermann All sound documentation with the exception of the OSS rme96xx documentation is under Documentation/sound/{alsa,oss}. Move the rme966xx docs, and fix the Kconfig comments
-
Philippe Elie authored
P4 oprofile needs cpu_sibling_map and smp_num_siblings, the later was not exported
-
Olof Johansson authored
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
David Mosberger authored
The pdflush kernel threads can lead to an unbounded chain of thread-creations which can overflow the kernel stacks because we didn't uses to reset the stack on kernel thread-creation. We do now. Reported by Andreas Schwab, tracked down with help from Keith Owens.
-
Peter Chubb authored
This patch changes the I/O SAPIC code to cache the low 32 bits of the mask word in kernel memory. This greatly speeds up mask_irq() and unmask_irq(). Normally, these operations are not on the speed-critical path of the kernel but with certain devices drivers (including users-level device- drivers) they can become performance-critical.
-
Stéphane Eranian authored
- fix bug in pfm_unload(), not allowed when not on correct CPU for system-wide - some perf/cleanup in overflow handler - fix reset_pmds to be on a per PMD basis on counter overflow rather than global - remove timing debug code on messages - no kernel info leak on PFM_END_MSG - remove double-store on reg_flags for pfm_write_pmcs, pfm_write_pmds - on restart reset_pmds is 0 by default - cleanup useless macros - cleanup some debug prints - added ability to remove debug code - streamlined sys_perfmonctl(), pfm_read_pmds(), pfm_write_*() - added current->tgid to default format sample header by using one reserved field
-
David Mosberger authored
The problem was that IDE-disks on machines with IDE harddisks, memory above 4GB and no hardware I/O TLB would go BUG_ON() in blk_queue_bounce_limit() because the IDE-controller could only address 4GB of memory and that was much less than BLK_BOUNCE_ISA (which is equal to ISA_DMA_THRESHOLD). Note that the problem does NOT trigger with CD-ROMs, which always uses the software I/O TLB (and hence bounce-buffers) on such machines. The best fix seems to be to simply lower ISA_DMA_THRESHOLD to 4GB-1 since that will ensure that the IDE block layer allocates memory with GFP_DMA, which will minimize bounce buffering.
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Russell King authored
Allow command line partitioning for use with Integrator flash.
-
Russell King authored
Tighten AFS partition checks: - check footer checksum. - check that the image name is NUL terminated. - return error from mtd->read intact. This prevents us finding bogus AFS partitions.
-
Russell King authored
-
Russell King authored
-
Olof Johansson authored
This makes it possible for people like me with a small-mem G5 to enable the DART. I see two reasons for wanting to do so: 1. To debug/test DART/iommu code itself (small audience, including myself). 2. To debug drivers on small-mem machines, since bad pci_map*() usage will be punished (possibly larger audience).
-
bk://kernel.bkbits.net/gregkh/linux/pci-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Chip Salzenberg authored
kNFSd needs it.
-
David Mosberger authored
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5
-
Kenneth W. Chen authored
This patch fixes a bug which could cause do_softirq() to be called at the wrong time (from do_IRQ()) or without pre-emption protection.
-
Linus Torvalds authored
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/net-2.6
-
http://linux-lksctp.bkbits.net/lksctp-2.5.workDavid S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
David S. Miller authored
-
bk://gkernel.bkbits.net/misc-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
of redundancy, and to help prevent future errors.
-
Hollis Blanchard authored
This makes GregKH happy by removing the device name from the device.bus_id field (and replacing it with a "name" sysfs attribute). It also renames the parent device from "vdevice" to "vio", making the /sys/bus and /sys/devices hierarchies consistent.
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Russell King authored
-
Russell King authored
Add documentation for the above two functions. Allow a NULL name to be passed to amba_request_regions. In this case, we use the driver's name associated with the device.
-
Russell King authored
-
Russell King authored
This allows the decompressor to automatically detect the geometry of the cache while booting to ensure correct behaviour over a wider number of ARM CPUs.
-
Russell King authored
This optimises the underlying string-long read function for little endian platforms.
-
Russell King authored
This gives greater information on the cause of the bad IRQ, allowing the cause to be more effectively traced.
-
Russell King authored
-
Russell King authored
The old sysctl PM interface has been replaced by the driver models interface. This has been gone for a while in the -rmk tree and no one complained, so there's no point keeping it around.
-
Russell King authored
-
Russell King authored
- use dev_dbg for device-centric debugging messages - use pr_debug for general debugging messages - use dmapools instead of pcipools - use NULL rather than 0 for NULL pointers - use enum dma_data_direction rather than int - use DMA_* direction definitions rather than PCI_DMA_* - only check for sane DMA direction on mapping functions, but check that DMA direction matches when unmapping/syncing.
-