- 06 Mar, 2003 9 commits
- 04 Mar, 2003 17 commits
-
-
Linus Torvalds authored
-
Ben Collins authored
- Cleanup Makefile. - Fix potentional crash in dv1394 module unload. - Why does ARM's memcpy not return void*? Oh well, work around it in eth1394 by not expecting standard behavior.
-
Linus Torvalds authored
-
Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Andi Kleen authored
- Inode and dcache Hash table only needs half the memory/cache because of using hlists. - Simplify dcache-rcu code. With NULL end markers in the hlists is_bucket is not needed anymore. Also the list walking code generates better code on x86 now because it doesn't need to dedicate a register for the list head. - Reorganize struct dentry to be more cache friendly. All the state accessed for the hash walk is in one chunk now together with the inline name (all at the end) - Add prefetching for all the list walks. Old hash lookup code didn't use it. - Some other minor cleanup.
-
bk://ldm.bkbits.net/linux-2.5-coreLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
-
Patrick Mochel authored
Originally from Nikita Danliov. - Add struct subsystem to struct file_system_type. - Add fs_subsys_init() to explicitly call sysfs_init() very early. - Register base fs subsystem then, too. - Register filesystems' embedded subsystem when registered with fs core. Resulting tree looks like: # tree /sys/fs/ /sys/fs/ |-- bdev |-- devpts |-- eventpollfs |-- ext2 |-- ext3 |-- futexfs |-- iso9660 |-- pipefs |-- proc |-- ramfs |-- rootfs |-- sockfs |-- sysfs `-- tmpfs
-
Patrick Mochel authored
- For matching registered platform devices with platform drivers. - Also, make sure platform_bus is initialized early, with the rest of the core stuff.
-
Patrick Mochel authored
This ensures that sysfs is initialized very early, before anything can possibily registered with it. It happens early enough that all filesystems can registered with sysfs (besides sysfs itself), which is coming next.
-
Patrick Mochel authored
- Call driver_init() from init/main.c::do_basic_setup(). This ensures that all the driver model subsystems are initialized before any drivers or devices can be registered. It nearly frees up the core and postcore initcall levels, making them available for other kernel code to use freely.
-
Ben Collins authored
-
Patrick Mochel authored
From Andrew Morton
-
Ben Collins authored
- Add ioctl32 compat function registration for video1394, dv1394 and amdtp. - Convert SBP-2 driver to new SCSI hotplug host/device interfaces. - Initial Async ISO (GASP) support.
-
Linus Torvalds authored
-
bk://kernel.bkbits.net/davem/sparc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Andrew Morton authored
-
- 03 Mar, 2003 14 commits
-
-
David S. Miller authored
-
David S. Miller authored
-
Bruce D. Elliott authored
-
Patrick Mochel authored
-
Patrick Mochel authored
-
Patrick Mochel authored
- Create and register kobjects when adding a cpu to the cpufreq interface, instead of the terminally broken struct intf_data. ACKed by Dominik Brodowski.
-
John Levon authored
-
bk://ldm.bkbits.net/linux-2.5-coreLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Nicolas Pitre authored
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
-
Patrick Mochel authored
- Remove struct intf_data. It was silly, and gave us an unbalanced interface. Instead, when removing a device_interface, all of a class's devices are iterated over, and intf->remove_device() is called for each. (Instead of the device's list of interfaces it belongs to). Interfaces are expected to tell if they support the device being removed. - Remove struct device::intf_list. - Protect classes' device list access with devclass_sem, which is taken when a device or interface is added or removed. This allows access to the list w/o taking the class's lock, which allows subordinate objects to be registered (e.g. the interface itself, or objects the interfaces create for a device). - This should fix a deadlock when devices are added to interfaces, which calls intf->add_device(), then interface_add_data(), which call kobject_register() and hangs, since it tries to take the class's lock again.
-
Patrick Mochel authored
Check whether kset is NULL or not before doing container_of(). From Dominik Brodowski
-
Patrick Mochel authored
From Matt Wilcox
-
Patrick Mochel authored
If a file that doesn't exist was looked up in a directory, and that directory is later removed, sysfs would reap the negative dentrys along with the valid ones. Fix is to manually remove the dentrys from the parent's list under the dcache_lock, then check if they're valid with dget_locked(). This ensures all the dentrys are removed, valid and invalid, and we don't reap anything we shouldn't.
-