]>
git.hungrycats.org Git - linux/log
Linus Torvalds [Thu, 6 Mar 2003 05:14:03 +0000 (21:14 -0800)]
Merge
Ingo Molnar [Thu, 6 Mar 2003 05:08:47 +0000 (21:08 -0800)]
[PATCH] "interactivity changes", sched-2.5.64-A6
This includes the following items:
- a new wakeup feature: SMART_WAKE_CHILD (now unconditional) [this is a
reworked version of the wakeup changes from Andrea's tree.]
- scheduler parameter tunings (CHILD_PENALTY, MAX_TIMESLICE,
STARVATION_LIMIT, MAX_SLEEP_AVG)
- activate_task() splitup to separate the interactivity-active variant
from the task-queue variant => this fixes our statistics in some cases.
- finer-grained preemption: if priority is equal then the task with the
longer pending timeslice wins.
- make it possible to disable sync-wakeups via SYNC_WAKEUPS (default:1)
- a naming cleanup (sleep_timestamp => last_run)
- fix up STARVATION_LIMIT usage so that a value of 0 is recognized as 'no
starvation limit'.
It also merges Linus' "priority boost backmerging"
Linus Torvalds [Thu, 6 Mar 2003 04:59:29 +0000 (20:59 -0800)]
Make the "interactive bonus" work both ways - both the process
that is actually showing interactive behaviour (sleeping) and the
process that wakes up the interative process get a bonus.
This means that processes that help interactive processes (usually
system daemons, and X11 in particular) will themselves get some bonus.
The waker only gets whatever is left over from the "real" interactive
user, to avoid any bad behaviour.
Linus Torvalds [Thu, 6 Mar 2003 02:11:16 +0000 (18:11 -0800)]
Merge bk://are.twiddle.net/axp-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
Ivan Kokshaysky [Thu, 6 Mar 2003 01:36:37 +0000 (17:36 -0800)]
[PATCH] alpha pcibios_claim_console_setup fix
pcibios_claim_console_setup() doesn't look behind PCI-PCI bridges.
Noticed by Anton Blanchard.
Ivan.
David S. Miller [Thu, 6 Mar 2003 01:02:04 +0000 (17:02 -0800)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5
Harald Welte [Thu, 6 Mar 2003 01:11:27 +0000 (17:11 -0800)]
[NETFILTER]: Fix ipv6 build.
James Morris [Thu, 6 Mar 2003 01:08:59 +0000 (17:08 -0800)]
[IPV4]: Fix multicast route lookups.
Linus Torvalds [Wed, 5 Mar 2003 13:39:41 +0000 (05:39 -0800)]
Fix up some timeouts to use the proper types.
(While "signed long" is the same in practice, it is technically
incorrect, and the new anal type-checker complains).
David S. Miller [Wed, 5 Mar 2003 13:22:59 +0000 (05:22 -0800)]
[JIFFIES]: Use typecheck in time_foo jiffies macros.
David S. Miller [Wed, 5 Mar 2003 13:22:16 +0000 (05:22 -0800)]
[KERNEL]: Add typecheck macro for verifying types at compile time.
Linus Torvalds [Wed, 5 Mar 2003 08:18:07 +0000 (00:18 -0800)]
Merge bk://ldm.bkbits.net/linux-2.5-core
into home.transmeta.com:/home/torvalds/v2.5/linux
Patrick Mochel [Wed, 5 Mar 2003 11:44:21 +0000 (05:44 -0600)]
cpufreq: fix compile error.
Use ->dev instead of ->intf.dev in struct cpufreq_policy. Introduced whilst
cleaning up part of the cpufreq code.
Patrick Mochel [Wed, 5 Mar 2003 11:38:05 +0000 (05:38 -0600)]
sysfs: don't complain when sysfs can't register.
During startup, sysfs won't succeed in registering with itself, because
it's not yet inititialized. This was causing an unnecessary error on boot.
Patrick Mochel [Wed, 5 Mar 2003 11:33:10 +0000 (05:33 -0600)]
driver model: fix platform_match()
- Make it compare the name in struct platform_dev to the driver's name.
From Dominik Brodowski
Patrick Mochel [Wed, 5 Mar 2003 11:27:00 +0000 (05:27 -0600)]
sysfs: Make sure root inode is executable and readable by everyone.
Kazunori Miyazawa [Wed, 5 Mar 2003 07:50:01 +0000 (23:50 -0800)]
[IPSEC]: Add full ipv6 support.
Credits also to Mitsuru Kanda <kanda@karaba.org>,
YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>,
and Kunihiro Ishiguro.
David S. Miller [Wed, 5 Mar 2003 07:01:20 +0000 (23:01 -0800)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5
John Levon [Wed, 5 Mar 2003 06:25:25 +0000 (22:25 -0800)]
[PATCH] Fix oprofile on UP, small additional fix
The below has been in -mm for a while, and has been tested on my UP
and 2-way machines.
OProfile was completely unsafe on UP - a spinlock is no protection
against the NMI arriving and putting data into the buffer. Pretty stupid
bug. This fixes it by implementing reader/writer windows in the buffer
and removing the lock altogether. This patch was originally done by Will
Cohen.
It also fixes the oops Dave Hansen saw on 2.5.62 SMP
Mike Anderson [Wed, 5 Mar 2003 03:57:07 +0000 (19:57 -0800)]
[PATCH] Fix SCSI error handler abort case
I had my list empty checks reversed if aborting and bus device reset
failed. The condition that causes the error handler to run is still
unknown.
Jeff Wiedemeier [Wed, 5 Mar 2003 02:16:58 +0000 (18:16 -0800)]
[PATCH] enable setting of marvel/titan agp->type
Now that the agpgart support is in, this can be enabled.
/jeff
David S. Miller [Wed, 5 Mar 2003 00:23:08 +0000 (16:23 -0800)]
[SPARC64]: Fix cpufreq config deps.
David S. Miller [Wed, 5 Mar 2003 00:18:34 +0000 (16:18 -0800)]
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
David S. Miller [Tue, 4 Mar 2003 23:36:20 +0000 (15:36 -0800)]
[PATCH] Fix time comparison typing bugs.
Many places use inappropriate types for comparing jiffies,
int for example. Fix those places up.
Linus Torvalds [Tue, 4 Mar 2003 11:11:19 +0000 (03:11 -0800)]
Linux 2.5.64
Ben Collins [Tue, 4 Mar 2003 08:25:16 +0000 (00:25 -0800)]
[PATCH] More IEEE1394 updates
- 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 [Tue, 4 Mar 2003 07:46:50 +0000 (23:46 -0800)]
Fix up sunrpc for the dentry hash list changes.
Linus Torvalds [Tue, 4 Mar 2003 06:30:19 +0000 (22:30 -0800)]
Merge penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/hlist
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
Andi Kleen [Tue, 4 Mar 2003 06:28:32 +0000 (22:28 -0800)]
[PATCH] dcache/inode hlist patchkit
- 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.
Linus Torvalds [Tue, 4 Mar 2003 03:09:35 +0000 (19:09 -0800)]
Merge bk://ldm.bkbits.net/linux-2.5-core
into home.transmeta.com:/home/torvalds/v2.5/linux
Patrick Mochel [Tue, 4 Mar 2003 06:17:16 +0000 (00:17 -0600)]
Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
Patrick Mochel [Tue, 4 Mar 2003 06:13:14 +0000 (00:13 -0600)]
sysfs: Register filesystems with sysfs.
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 [Tue, 4 Mar 2003 04:20:36 +0000 (22:20 -0600)]
driver model: implement platform_match()
- 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 [Tue, 4 Mar 2003 04:17:19 +0000 (22:17 -0600)]
sysfs: initialize from fs/namespace.c::mnt_init().
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 [Tue, 4 Mar 2003 04:13:44 +0000 (22:13 -0600)]
driver model: Make initialization explicit.
- 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 [Tue, 4 Mar 2003 02:58:48 +0000 (18:58 -0800)]
[PATCH] IEEE1394 ioctl allocation documentation
Patrick Mochel [Tue, 4 Mar 2003 02:57:38 +0000 (20:57 -0600)]
sysfs: fix warning.
From Andrew Morton
Ben Collins [Tue, 4 Mar 2003 02:55:45 +0000 (18:55 -0800)]
[PATCH] IEEE1394 updates
- 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.
David S. Miller [Tue, 4 Mar 2003 01:55:37 +0000 (17:55 -0800)]
[SBUSFB]: Fix up ioctl helper changes.
David S. Miller [Tue, 4 Mar 2003 01:46:42 +0000 (17:46 -0800)]
[SBUSFB]: Implement enough ioctls to get X working.
Linus Torvalds [Tue, 4 Mar 2003 01:13:00 +0000 (17:13 -0800)]
pnp interface.c needs <linux/slab.h> for 'kfree()'
David S. Miller [Tue, 4 Mar 2003 00:56:22 +0000 (16:56 -0800)]
[FRAMEBUFFER]: No need for check_var/set_par ops in SBUS fb drivers.
Linus Torvalds [Tue, 4 Mar 2003 00:42:43 +0000 (16:42 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
Andrew Morton [Tue, 4 Mar 2003 00:26:42 +0000 (16:26 -0800)]
[PATCH] sysfs build fix
David S. Miller [Mon, 3 Mar 2003 20:27:42 +0000 (12:27 -0800)]
[HOTPLUG]: drivers/base/hotplug.c needs linux/sched.h and linux/string.h
David S. Miller [Mon, 3 Mar 2003 20:25:17 +0000 (12:25 -0800)]
[SYSFS]: fs/sysfs/mount.c needs linux/init.h
Bruce D. Elliott [Mon, 3 Mar 2003 20:06:04 +0000 (12:06 -0800)]
[SPARC64]: Fix SMP boot failures.
Patrick Mochel [Mon, 3 Mar 2003 11:11:30 +0000 (05:11 -0600)]
sysfs: fix more merge breakage.
Patrick Mochel [Mon, 3 Mar 2003 10:59:28 +0000 (04:59 -0600)]
sysfs: fixup merge
Patrick Mochel [Mon, 3 Mar 2003 10:38:53 +0000 (04:38 -0600)]
cpufreq: convert to use new interface code.
- 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 [Mon, 3 Mar 2003 10:13:49 +0000 (02:13 -0800)]
[PATCH] Another bitop on boolean in pnpbios
Linus Torvalds [Mon, 3 Mar 2003 10:13:05 +0000 (02:13 -0800)]
Merge bk://ldm.bkbits.net/linux-2.5-core
into home.transmeta.com:/home/torvalds/v2.5/linux
Nicolas Pitre [Mon, 3 Mar 2003 10:11:31 +0000 (02:11 -0800)]
[PATCH] small tty irq race fix
Patrick Mochel [Mon, 3 Mar 2003 07:32:15 +0000 (01:32 -0600)]
Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
Patrick Mochel [Mon, 3 Mar 2003 06:48:38 +0000 (00:48 -0600)]
driver model: fix device interfaces.
- 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 [Mon, 3 Mar 2003 03:59:26 +0000 (21:59 -0600)]
kobject: fix oops in to_kset()
Check whether kset is NULL or not before doing container_of().
From Dominik Brodowski
Patrick Mochel [Mon, 3 Mar 2003 03:48:58 +0000 (21:48 -0600)]
driver model: remove <linux/sched.h> from include/linux/device.h
From Matt Wilcox
Patrick Mochel [Mon, 3 Mar 2003 03:43:37 +0000 (21:43 -0600)]
sysfs: fix oops in directory removal.
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.
David S. Miller [Mon, 3 Mar 2003 02:41:07 +0000 (18:41 -0800)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5
Ivan Kokshaysky [Mon, 3 Mar 2003 01:33:30 +0000 (17:33 -0800)]
[PATCH] nautilus poweroff
The power management unit on newer 1535D/D+ ALI bridges
(UP1100/UP1500) is quite different to 1543C one on UP1000.
Even though it has the same PCI id and revision number...
This makes poweroff(8) work on UP1100 and UP1500.
Ivan.
Mala Anand [Mon, 3 Mar 2003 00:52:02 +0000 (16:52 -0800)]
[NET]: Move SKB header init to allocation time for better cache behavior.
Steven Cole [Mon, 3 Mar 2003 00:34:23 +0000 (16:34 -0800)]
[PATCH] Spelling fixes from spell-fix.pl
This patch contains the first fruits of the automatic spell checking and
correcting scripts written by Dan Kegel and Matthias Schniedermeyer.
Those scripts are available here: http://www.kegel.com/kerspell/
This patch fixes these six words from the first five lines of
spell-fix.txt. 280 lines remaining.
accesible -> accessible
accesing -> accessing
accomodate -> accommodate
acommodate -> accommodate
Acknowlege -> Acknowledge
acknoledged -> acknowledged
Linus Torvalds [Mon, 3 Mar 2003 00:33:50 +0000 (16:33 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
James Morris [Sun, 2 Mar 2003 21:33:45 +0000 (13:33 -0800)]
[NET]: dst_clone --> dst_hold where appropriate.
David S. Miller [Sun, 2 Mar 2003 21:09:32 +0000 (13:09 -0800)]
[IPSEC]: Use dst_hold unless assigning result to something.
James Morris [Sun, 2 Mar 2003 20:57:04 +0000 (12:57 -0800)]
[NET]: Convert volatile char socket flags to real bitops mask, work by Pedro Hortas.
Bart De Schuymer [Sun, 2 Mar 2003 20:41:19 +0000 (12:41 -0800)]
[EBTABLES]: Trivial changes and cleanups.
James Morris [Sun, 2 Mar 2003 20:38:51 +0000 (12:38 -0800)]
[IPSEC]: Add family argument to compile_policy.
Benjamin LaHaise [Sun, 2 Mar 2003 19:21:41 +0000 (11:21 -0800)]
[NET]: Make sure nr_frags is accurate on paged SKB allocation failure.
David S. Miller [Sun, 2 Mar 2003 18:13:09 +0000 (10:13 -0800)]
[SCTP]: net/sctp/proc.c needs linux/init.h
Chas Williams [Sun, 2 Mar 2003 17:49:48 +0000 (09:49 -0800)]
[ATM SUNI]: suni_init should not be __init and remove mod inc/dec.
Hideaki Yoshifuji [Sun, 2 Mar 2003 17:47:53 +0000 (09:47 -0800)]
[IPV6]: More C99 initializers.
Joy Latten [Sun, 2 Mar 2003 17:45:33 +0000 (09:45 -0800)]
[IPSEC]: Make sure ESP output pads Null Encryption properly.
Art Haas [Sun, 2 Mar 2003 17:43:48 +0000 (09:43 -0800)]
[BRIDGE]: C99 patches for net/bridge/netfilter.
Harald Welte [Sun, 2 Mar 2003 17:40:56 +0000 (09:40 -0800)]
[NETFILTER]: Add new ip6tables matches.
Harald Welte [Sun, 2 Mar 2003 17:27:23 +0000 (09:27 -0800)]
[NETFILTER]: Fix typo in ftp conntrack helper.
Harald Welte [Sun, 2 Mar 2003 17:25:50 +0000 (09:25 -0800)]
[NETFILTER]: Fix conntrack bug introduced by list_del change.
Harald Welte [Sun, 2 Mar 2003 17:24:05 +0000 (09:24 -0800)]
[NETFILTER]: fix NAT ICMP reply translation of inner packet.
Harald Welte [Sun, 2 Mar 2003 17:21:38 +0000 (09:21 -0800)]
[NETFILTER]: Fix icmp-type all problem in iptables.
Chas Williams [Sun, 2 Mar 2003 17:18:42 +0000 (09:18 -0800)]
[ATM FORE200E]: Fix build.
Chas Williams [Sun, 2 Mar 2003 17:16:52 +0000 (09:16 -0800)]
[ATM]: Let upper layer k now lec supports multicast.
Rusty Russell [Sun, 2 Mar 2003 17:15:46 +0000 (09:15 -0800)]
[NETFILTER]: Switch over to new-style module refcounting, help from Christoph Hellwig.
Chas Williams [Sun, 2 Mar 2003 17:13:53 +0000 (09:13 -0800)]
[ATM]: Get minimum frame size right in lec.c
Hideaki Yoshifuji [Sun, 2 Mar 2003 17:12:02 +0000 (09:12 -0800)]
[IPV6]: Make sure temporary addresses are regenerated properly.
David S. Miller [Sun, 2 Mar 2003 17:10:24 +0000 (09:10 -0800)]
[ATM]: Fix mispatch.
Chas Williams [Sun, 2 Mar 2003 17:09:03 +0000 (09:09 -0800)]
[ATM]: Use skb_pull instead of direct skb mangling.
Christoph Hellwig [Sun, 2 Mar 2003 17:07:05 +0000 (09:07 -0800)]
[NET]: Remove 2.0/2.2 compat code from netfilter, approved by Rusty.
Bruce Allan [Sun, 2 Mar 2003 17:02:36 +0000 (09:02 -0800)]
[IPV6]: Export in6addr_{any,loopback} to modules.
David S. Miller [Sun, 2 Mar 2003 17:01:01 +0000 (09:01 -0800)]
Resolve conflicts.
David S. Miller [Sun, 2 Mar 2003 16:49:35 +0000 (08:49 -0800)]
[SPARC64]: Use EXTRA_CFLAGS instead of mangling CFLAGS directly.
Christoph Hellwig [Sun, 2 Mar 2003 16:47:43 +0000 (08:47 -0800)]
[NET]: Move fc_type_trans into generic code.
Pete Zaitcev [Sun, 2 Mar 2003 16:45:12 +0000 (08:45 -0800)]
[SPARC32/64]: Expand ioctl size field in backwards-compatible way.
Dominik Brodowski [Sun, 2 Mar 2003 16:34:51 +0000 (08:34 -0800)]
[SPARC64]: update us3_cpufreq to support userspace governor.
Pete Zaitcev [Sun, 2 Mar 2003 16:33:56 +0000 (08:33 -0800)]
[SPARC]: Fix Kconfig typo.
Pete Zaitcev [Sun, 2 Mar 2003 16:33:24 +0000 (08:33 -0800)]
[SPARC]: Kill GFP_DMA in iommu code.
David S. Miller [Sun, 2 Mar 2003 15:36:16 +0000 (07:36 -0800)]
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
David S. Miller [Sun, 2 Mar 2003 15:25:11 +0000 (07:25 -0800)]
[SPARC64]: Solaris module asm needs asm/thread_info.h
David S. Miller [Sun, 2 Mar 2003 15:24:05 +0000 (07:24 -0800)]
[SPARC64]: Update defconfig.
David S. Miller [Sun, 2 Mar 2003 15:19:36 +0000 (07:19 -0800)]
[FRAMEBUFFER]: Convert TCX driver to new APIs.
David S. Miller [Sun, 2 Mar 2003 14:52:03 +0000 (06:52 -0800)]
[FRAMEBUFFER]: Convert P9100 driver to new APIs.