- 02 Jul, 2002 9 commits
-
-
Matthew Wilcox authored
For PA-RISC, we need find_vma_prev to return `prev', even if vma is NULL. Our stack is at the top of memory, growing upwards, so when we page fault we need to see prev. For added bonus points, the code becomes simpler, less indented, shorter and (for me, anyway) easier to understand. The code is well-tested, even on x86. For PA and ia64 this code is called in the page fault handler path so it is exercised frequently.
-
http://linux-scsi.bkbits.net/scsi-for-linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
James Bottomley authored
-
James Bottomley authored
-
James Bottomley authored
into mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.5
-
James Bottomley authored
into mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.5
-
James Bottomley authored
-
Mike Sullivan authored
-
Brad Heilbrun authored
Fix APM that got broken by getting rid of "struct tms" and clock_t.
-
- 01 Jul, 2002 3 commits
-
-
Matthew Wilcox authored
Doug Gilbert and James Bottomley hassled me all through KernelSummit & OLS to explain about softirqs, tasklets and bottom halves. In the end, it was easier to write the code myself. Thanks to James for pointing out that the pointer handling in my original code was completely broken and helping me debug. I've booted this patch on a 4-way system at OSDL with two Adaptec SCSI cards. I haven't tried stressing it (not quite sure which discs I can use ;-), and I don't understand the locking in the scsi subsystem at all. The main effect of applying this patch is that scsi_softirq() [was scsi_tasklet_func, and before that scsi_bottom_half_handler()] can now be run on multiple CPUs at the same time. We _seem_ to do enough locking elsewhere in the SCSI stack that this is safe. But someone who really understands the SCSI stack should audit this. This work shows up a hole in the current softirq API -- there's no support for unregistering a softirq (close_softirq or similar). We should do this in scsi_exit -- make sure no softirqs are running while we unload. This probably isn't a problem in practice, but it'd be nice to fix it.
-
Linus Torvalds authored
Stop using "struct tms" internally - always use timer ticks (or one of the sane timeval/timespec types) instead. Explicitly convert to clock_t when copying to user space for the old broken interfaces that still use "clock_t". Clean up and unify jiffies<->timeval conversion.
-
Linus Torvalds authored
-
- 30 Jun, 2002 10 commits
-
-
http://linux-ntfs.bkbits.net/ntfs-tng-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Anton Altaparmakov authored
-
Anton Altaparmakov authored
-
Anton Altaparmakov authored
into cantab.net:/usr/src/tng-2.0.13
-
Anton Altaparmakov authored
-
Anton Altaparmakov authored
into cantab.net:/usr/src/tng-2.0.12
-
Anton Altaparmakov authored
into cantab.net:/usr/src/tng-2.0.11
-
Petr Vandrovec authored
This fixes an off by one error in getcolreg/setcolreg in matroxfb's secondary head driver.
-
Petr Vandrovec authored
When James converted all drivers to unified do_install_cmap(), he blindly changed also matroxfb, which happily uses fbcon.currcon == -1. This caused memory corruption because of memory before fb_display[] array was overwritten. Default do_install_cmap() also installed invalid default color map in some matroxfb resolutions. Not all world have >= 4bpp.
-
Samuel Thibault authored
Disable volume control irq on maestro module unload.
-
- 29 Jun, 2002 1 commit
-
-
Linus Torvalds authored
-
- 28 Jun, 2002 1 commit
-
-
Doug Ledford authored
Fix the usage of pci_map and pci_unmap in the driver, mainly on 0 length cmds inia100.c: Fix the usage of pci_map and pci_unmap in the driver, fix use on 0 length cmds
-
- 27 Jun, 2002 2 commits
-
-
Doug Ledford authored
Oops, global variable defined in two different files. One needed extern.
-
Anton Altaparmakov authored
- Remove nr_mft_bits and the now superfluous union with nr_mft_records from ntfs_volume structure. - Remove nr_lcn_bits and the now superfluous union with nr_clusters from ntfs_volume structure. - Use iget5_locked() and friends instead of conventional iget(). Wrap the call in fs/ntfs/inode.c::ntfs_iget() and update callers of iget() to use ntfs_iget(). Leave only one iget() call at mount time so we don't need an ntfs_iget_mount(). - Change fs/ntfs/inode.c::ntfs_new_extent_inode() to take mft_no as an additional argument.
-
- 26 Jun, 2002 2 commits
-
-
Doug Ledford authored
* 06/25/02 Doug Ledford <dledford@redhat.com> - v1.02d * - Remove limit on number of controllers * - Port to DMA mapping API * - Clean up interrupt handler registration * - Fix memory leaks * - Fix allocation of scsi host structs and private data
-
Anton Altaparmakov authored
- Merge fs/ntfs/aops.c::end_buffer_read_mst_async() and fs/ntfs/aops.c::end_buffer_read_file_async() into one function fs/ntfs/aops.c::end_buffer_read_attr_async() using NInoMstProtected() to determine whether to apply mst fixups or not. - Above change allows merging fs/ntfs/aops.c::ntfs_file_read_block() and fs/ntfs/aops.c::ntfs_mst_readpage() into one function fs/ntfs/aops.c::ntfs_attr_read_block(). Also, create a tiny wrapper fs/ntfs/aops.c::ntfs_mst_readpage() to transform the parameters from the VFS readpage function prototype to the ntfs_attr_read_block() function prototype.
-
- 25 Jun, 2002 1 commit
-
-
Anton Altaparmakov authored
- Move definition of ntfs_inode_state_bits to fs/ntfs/inode.h and do some macro magic (adapted from include/linux/buffer_head.h) to expand all the helper functions NInoFoo(), NInoSetFoo(), and NInoClearFoo(). - Add new flag to ntfs_inode_state_bits: NI_Sparse. - Add new fields to ntfs_inode structure to allow use of fake inodes for attribute i/o: type, name, name_len. Also add new state bits: NI_Attr, which, if set, indicates the inode is a fake inode, and NI_MstProtected, which, if set, indicates the attribute uses multi sector transfer protection, i.e. fixups need to be applied after reads and before/after writes. - Rename fs/ntfs/inode.c::ntfs_{new,clear,destroy}_inode() to ntfs_{new,clear,destroy}_extent_inode() and update callers. - Use ntfs_clear_extent_inode() in fs/ntfs/inode.c::__ntfs_clear_inode() instead of ntfs_destroy_extent_inode(). - Cleanup memory deallocations in {__,}ntfs_clear_{,big_}inode(). - Make all operations on ntfs inode state bits use the NIno* functions. - Set up the new ntfs inode fields and state bits in fs/ntfs/inode.c::ntfs_read_inode() and add appropriate cleanup of allocated memory to __ntfs_clear_inode(). - Cleanup ntfs_inode structure a bit for better ordering of elements w.r.t. their size to allow better packing of the structure in memory.
-
- 20 Jun, 2002 11 commits
-
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Andi Kleen authored
The last changes did trigger another latent bug in the inline assembly. akpm noticed it because he compiles his kernels with frame pointers.
-
http://gkernel.bkbits.net/irda-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jens Axboe authored
Uninline elv_next_request() and move it to elevator.c, where it belongs. Because of CURRENT declaration, this actually saves lots of space. From Andrew.
-
Robert Kuebel authored
init_rootfs() (from ramfs) doesn't appear in any header file. I didn't see any that looked like a good home, so lets put a prototype at the top of fs/namespace.c. This only use of this function is in namespace.c.
-
Robert Kuebel authored
This patch makes sure the 3c509 module license is always GPL. Currently the MODULE_LICENSE() marco is only used when CONFIG_ISAPNP or CONFIG_ISAPNP_MODULE is defined. I have moved MODULE_LICENSE() to the #ifdef MODULE section at the bottom of 3c509.c. Same is true for the MODULE_DEVICE_TABLE() macro.
-
William Lee Irwin III authored
Not sure why I forgot to do this, but here is a small bit of tidying up of some leftover parentheses from the memlist macro removal. The parentheses are just noise and should go.
-
William Lee Irwin III authored
page_alloc.c does not use either slab.h or swapctl.h. This removes the inclusion of those headers from page_alloc.c
-
William Lee Irwin III authored
nr_free_pages() is overly verbose. The following is perhaps clearer and gets to the point with fewer lines of code and inside of 80 columns.
-
William Lee Irwin III authored
-