- 12 Mar, 2002 10 commits
-
-
Stephen Rothwell authored
Second in a series of patches from Thomas Hood. This patch eliminates the 0 initializers on three static variables inside the apm_cpu_idle function. These initializers are superfluous. The initializers are replaced with comments whose purpose is to indicate that the code relies upon the fact that these variables are initialized to zero at load time.
-
Stephen Rothwell authored
This is the first of a series of patches I have got from Thomas Hood that modify the apm code mainly for better self documentation. This one does: Variable "waiting_for_resume" is renamed 'ignore_sys_suspend'. The reason for the change is that this flag variable is employed in a manner analogous to that of other flag variables named 'ignore ...'. When the flag is set, the driver needs to ignore further system suspends. The driver does not "wait" in the usual sense of that word. The only sense in which the driver waits is the sense in which it needs to continue to ignore system suspends until certain events occur. One such event is a resume. However, another such event is the vetoing of the suspend request by a driver. So it would be more accurate to call the flag 'waiting_for_resume_or_suspend_reject' or something like that. But for the reason mentioned first, an even better name is 'ignore_sys_suspend'.
-
Alexander Viro authored
kill_super() and deactivate_super() merged. Next step will be to export these suckers - after that we will be finally done with infrastructure for filesystems with nontrivial ->get_sb().
-
Alexander Viro authored
New helper - sget(). get_sb_bdev() and get_anon_super() switched to using it. Basically, it's get_anon_super() done right (and get_anon_super() itself will probably die).
-
John Clemens authored
Last week I sent you a patch adding a config option to honor the pirq mask in the PCI routing table. On your suggestion, Cory Bell made it a command line option using the pci= interface and we both agree with you, it's -much- cleaner this way. Patch against 2.5.6 (Cory's submitting for 2.4, I've tested and submitting towards 2.5). All credit goes to Cory Bell, with only minor input and testing from myself.
-
Stephen Rothwell authored
This adds DMI recognition for anohter broken Dell laptop BIOS (BIOS version A12 on the Insiron 2500). Reported by Mihnea-Costin Grigore <mgc8@totalnet.ro>.
-
Brian Gerst authored
Switch to using kmalloc to allocate the minix superblock structure.
-
Brian Gerst authored
Start of cleaning up the union of filesystem-specific structures in struct super_block. The goal is to remove dependence on filesystem headers in fs.h. This patch abstracts the access to the minix_sb_info structure through the function minix_sb().
-
Stephen Rothwell authored
The following patch makes directory notifications per thread group instead of per process tree as they are now. This means, in particular, that if a child closes a file descriptor that has a directory open with notifies enabled, the notification will not be removed. Thanks to Andrea for the push in the right direction.
-
Neil Brown authored
Support fsid=<number> export option to be device number independent This patch was largely supplied by Steven Whitehouse <steve@gw.chygwyn.com> A new export option "NFSEXP_FSID" indicates that the ex_dev passed down is a user specified number, not a device number. It should be used in fsid_type==1 filehandles to identify the the exportpoint rather than the devid and inode (as in fsid_type == 0). This allows filehandles to be device-number independent so that when Linux changes device numbers on you (after reboot), your filesystems wont go stale. User-space support for this is in the nfs-utils CVS and will be in the next release (any release > 1.0).
-
- 11 Mar, 2002 1 commit
-
-
- 12 Mar, 2002 2 commits
-
-
Russell King authored
-
Russell King authored
-
- 11 Mar, 2002 21 commits
-
-
Russell King authored
-
Russell King authored
-
Russell King authored
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Alexander Viro authored
Grr... When loop in get_sb_bdev() had been switched from global list of superblock to per-type one, we should have switched from sb_entry(p) (aka. list_entry(p, struct super_block, s_list)) to list_entry(p, struct super_block, s_instances). As it is, we end up with false negatives all the time. I.e. second mount from the same block device with the same type gices a new superblock. With obvious nasty results... This fixes that.
-
Alexander Viro authored
bdev filesystems switched. Changes documented in Locking and porting.
-
Alexander Viro authored
The rest of nodev filesystems switched.
-
Alexander Viro authored
FS_LITTER filesystems (ramfs-like) switched to use of ->kill_sb(). FS_LITTER is gone.
-
Alexander Viro authored
New method - ->kill_sb(). It will eventually replace current fs/super.c::shutdown_super() - i.e. it's called when fs driver must shut the superblock down, remove it from all lists, etc.
-
Neil Brown authored
Fix a few kNFSd problems. 1/ export svc_reserve which was introduced for NFS/TCP support. Without this we cannot load nfsd.o as a module 2/ the hash chain of clients was being changed (to put the found entry at the top of the list) while we only had a read-lock. This could corrupt the list and cause big problems. For now, just disable this code. Might add a lock later... 3/ lockd was calling exp_getclient without getting a readlock on the export table first. 4/ Add Config.help entry for CONFIG_NFSD_TCP
-
Andrew Morton authored
If you create a shared mapping of a sparse file, dirty it and then run msync, all the file's blocks are laid out backwards. This is because filemap_sync puts the lowest-index page at mapping->dirty_pages.prev and the highest at mapping->dirty_pages.next. I think that by walking the dirty pages list in ascending file offset order as we instantiate their disk mappings we will generally get better layout.
-
bk://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Alan Cox authored
Fix rlimit on accounting file.
-
Bob Miller authored
While looking at the bug fix for part 1 I coded up this patch to change the BSD accounting code to use a spinlock instead of the BKL.
-
Bob Miller authored
Below is a patch to remove a small race in kernel/acct.c.
-
Vojtech Pavlik authored
This patch replaces the current AMD IDE driver (by Andre Hedrick) by mine. Myself I think my implementation is much cleaner, but I'll leave upon others to judge that. My driver also additionally supports the AMD-8111 IDE. It's well tested, and I'd like to have this in the kernel instead of what's there now.
-
bk://bcrlbits.bkbits.net/linux-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Benjamin LaHaise authored
is called once the inode is unlocked.
-
Jean Tourrilhes authored
Quick summary : this patch build on the first part to offer two important new features : o Wireless Events o Wireless Cell Scanning Wireless Events are events generated by device, driver or the wireless subsystem. It allows for example a device to notify user space when it register to a new cell (roaming) or loose contact with the current Access Points. Currently, the other defined events include some configuration changes and packet drop due to excessive retries, more may come in the future. All those events are useful for MobileIP, V-Handoff and Ad-Hoc routing. Wireless Cell Scanning is a generic API to allow device/drive to report Wireless Cells discovered (including ESSID, frequency and QoS). This is similar to what is available in WindowsXP (except that it's compliant to Wireless Extensions). This patch has been submitted for review on this list a couple of time in January, has been on my web page since and used intensively by other people. It was rediffed to 2.5.6. Driver patches have been submitted to maintainers.
-
Martin Dalecki authored
- Fix oversight in replacement of sti() cli() pairs for data structure access protection. This finally resolvs my problems with the 2.5.6 kernel series. Now I'm in fact quite puzzled how it was even possible for the system to get into the init stage without this fix.. - Fix usage of CONFIG_BLK_DEV_IDE_MODULES instead of CONFIG_BLK_DEV_IDE_MODULE. - Make idescsi_init global for usage in systems without module support enabled. - Apply Pavels Macheks patch for suspend support. Whatever some persons argue that it's not fully implemented, I think that we are in development series right now. I don't buy the mock-up examples for problems with either outdated or broken hardware. Micro Drives are for example expected to be drop in replacements for CF cards in digital cameras and I would rather expect them to be very tolerant about the driver in front of them. And then the WB caches of IDE devices are not caches in the sense of a MESI cache, they are more like buffer caches and should therefore flush them self after s short period of inactivity without the application of any special flush command. The upcoming explicit flushing commands in the ATA standard are about data integrity guarantees in high reliability systems, like DB servers for example, and not about simple cache validity. - Apply Vojtech Pavliks fix to the VIA host chip initialization code. - Add missing if-defs around PIO timing tables. - Fix max() min() related compile warnings in IDE-scsi.
-
Martin Dalecki authored
No fixes for new problems which occured since today, just syncup. - Remove help text about suitable compiler versions, which is obsoleted by the overall kernel reality. - Remove traces of not progressing work in progress code for the CONFIG_BLK_DEV_ADMA option as well as the empty ide-adma.c file as well as CONFIG_BLK_DEV_IDEDMA_TCQ. - Remove redundant CONFIG_BLK_DEV_IDE != n check in ide/Config.in. Hugh, this is a tricky one... - Add EXPORT_SYMBOL(ide_fops) again, since it's used in ide-cd.c add a note there that this is actually possibly adding the same device twice to the devfs stuff. - Finally change the MAINTAINER entry. Just too many persons bogged me about it and it doesn't take me too much time apparently. - Apply sis.patch.20020304_1. - Don't call ide_release_dma twice in cleanup_ata, since ide_unregister is already calling it for us. Change prototype of ide_unregister to take a hwif as parameter and disable an ioctl for removing/scanning hwif from the list of handled interfaces. I see no reasons for having it and doing it is the fastest DOS attack on my home system I know about it. Contrary to the comments found here and there, hdparm doesn't use it. There are better hot plugging interfaces coming to the kernel right now anyway. - Wrap invalidate_drives in ide_unregister under the ide_lock instead of disabling and enabling interrupts during this operation. There are plenty of other places where the IDE drivers are enabling and disabling interrupts just to protect some data structures. - Don't call destroy_proc_ide_drives(hwif) for every single drive out there.This routine takes a hwif as a parameter. - Resync with the instable 2.5.6...
-
- 10 Mar, 2002 6 commits
-
-
Russell King authored
-
Russell King authored
into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk
-
Russell King authored
selection depending on processor features.
-
Russell King authored
handler to allow for better optimisation.
-
Nicolas Pitre authored
This should bring better performances as all interrupts are always run with clock switching enabled and the idle spinning always with the lower clock. This also keeps the brokenness of that architecture localized while preserving the sanity of the common SA idle function.
-
Russell King authored
-