]> git.hungrycats.org Git - linux/log
linux
21 years agoLinux 2.6.5-rc2 v2.6.5-rc2
Linus Torvalds [Fri, 19 Mar 2004 08:09:53 +0000 (00:09 -0800)]
Linux 2.6.5-rc2

21 years agoAdd FBIOBLANK to list of compatible ioctls.
Linus Torvalds [Fri, 19 Mar 2004 08:07:09 +0000 (00:07 -0800)]
Add FBIOBLANK to list of compatible ioctls.

21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
Linus Torvalds [Fri, 19 Mar 2004 08:02:09 +0000 (00:02 -0800)]
Merge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Fri, 19 Mar 2004 07:00:42 +0000 (23:00 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Fri, 19 Mar 2004 06:27:42 +0000 (22:27 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

21 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Fri, 19 Mar 2004 06:24:27 +0000 (22:24 -0800)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Fri, 19 Mar 2004 06:21:00 +0000 (22:21 -0800)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] Fix 3c509
James Bottomley [Fri, 19 Mar 2004 09:12:22 +0000 (04:12 -0500)]
[PATCH] Fix 3c509

This rolls up Marc Zyngier's EISA correction (first two) and adds a missed
netdev_priv() conversion that was causing an oops on module removal.

21 years ago[NET]: Preemption disabling is superfluous in net_rx_action().
David S. Miller [Fri, 19 Mar 2004 06:20:52 +0000 (22:20 -0800)]
[NET]: Preemption disabling is superfluous in net_rx_action().

Noticed by Jan Glauber, confirmed by Stephen Hemminger.

21 years agoMerge bk://kernel.bkbits.net/jgarzik/carmel-2.6
Linus Torvalds [Fri, 19 Mar 2004 06:18:26 +0000 (22:18 -0800)]
Merge bk://kernel.bkbits.net/jgarzik/carmel-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Fri, 19 Mar 2004 06:18:02 +0000 (22:18 -0800)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/pci-2.6

21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Fri, 19 Mar 2004 06:12:09 +0000 (22:12 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] PCI: claim PCI resources on ia64
Matthew Wilcox [Fri, 19 Mar 2004 06:08:42 +0000 (22:08 -0800)]
[PATCH] PCI: claim PCI resources on ia64

Call pci_claim_resources() so we can see what PCI resources are being used.

21 years ago[PATCH] PCI: Use insert_resource in pci_claim_resource
Matthew Wilcox [Fri, 19 Mar 2004 06:08:16 +0000 (22:08 -0800)]
[PATCH] PCI: Use insert_resource in pci_claim_resource

On ia64, the parent resources are not necessarily PCI resources and
so won't get found by pci_find_parent_resource.  Use the shiny new
insert_resource() function instead, which I think we would have used
here had it been available at the time.

21 years ago[PATCH] PCI: insert_resource can succeed and return an error
Matthew Wilcox [Fri, 19 Mar 2004 06:07:09 +0000 (22:07 -0800)]
[PATCH] PCI: insert_resource can succeed and return an error

If we start again, we can return an error even if we were successful.
Reset the result to 0 before beginning again.  Why don't we use a
tailcall here?

21 years ago[SPARC64]: Export sbus_dma_sync_X_for_device routines too.
David S. Miller [Fri, 19 Mar 2004 06:00:05 +0000 (22:00 -0800)]
[SPARC64]: Export sbus_dma_sync_X_for_device routines too.

21 years ago[SPARC64]: Update defconfig.
David S. Miller [Fri, 19 Mar 2004 05:57:54 +0000 (21:57 -0800)]
[SPARC64]: Update defconfig.

21 years ago[PM2FB]: Fix build on big-endian.
David S. Miller [Fri, 19 Mar 2004 05:55:50 +0000 (21:55 -0800)]
[PM2FB]: Fix build on big-endian.

21 years ago[SPARC64]: Implement pci_dma_error().
David S. Miller [Fri, 19 Mar 2004 05:40:56 +0000 (21:40 -0800)]
[SPARC64]: Implement pci_dma_error().

21 years ago[PATCH] fix "optimize && ?"
Russell King [Fri, 19 Mar 2004 04:52:30 +0000 (20:52 -0800)]
[PATCH] fix "optimize  &&  ?"

This prevents the "optimize && ?" message appearing when the kernel
configuration tool is run.  The message could be eliminated from the
tool, but I'd rather fix the needlessly over-complicated expression:

21 years agoMerge http://linux-sound.bkbits.net/linux-sound
Linus Torvalds [Fri, 19 Mar 2004 01:56:43 +0000 (17:56 -0800)]
Merge http://linux-sound.bkbits.net/linux-sound
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Fri, 19 Mar 2004 01:47:45 +0000 (17:47 -0800)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Fri, 19 Mar 2004 01:46:43 +0000 (17:46 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] Hotplug CPUs: Remove CPU_OFFLINE Notifier
Rusty Russell [Fri, 19 Mar 2004 00:04:23 +0000 (16:04 -0800)]
[PATCH] Hotplug CPUs: Remove CPU_OFFLINE Notifier

We no longer have a CPU_OFFLINE notifier: we freeze the machine and
kill the CPU atomically.  Remove it.

21 years ago[PATCH] Hotplug CPUs: Other CPU_DEAD Notifiers
Rusty Russell [Fri, 19 Mar 2004 00:04:13 +0000 (16:04 -0800)]
[PATCH] Hotplug CPUs: Other CPU_DEAD Notifiers

Various files keep per-cpu caches which need to be freed/moved when a
CPU goes down.  All under CONFIG_HOTPLUG_CPU ifdefs.

scsi.c: drain dead cpu's scsi_done_q onto this cpu.

buffer.c: brelse the bh_lrus queue for dead cpu.

timer.c: migrate timers from dead cpu, being careful of lock order vs
__mod_timer.

radix_tree.c: free dead cpu's radix_tree_preloads

page_alloc.c: empty dead cpu's nr_pagecache_local into nr_pagecache, and
free pages on cpu's local cache.

slab.c: stop reap_timer for dead cpu, adjust each cache's free limit, and
free each slab cache's per-cpu block.

swap.c: drain dead cpu's lru_add_pvecs into ours, and empty its committed_space
counter into global counter.

dev.c: drain device queues from dead cpu into this one.

flow.c: drain dead cpu's flow cache.

21 years ago[PATCH] Hotplug CPUs: Kswapd Changes
Rusty Russell [Fri, 19 Mar 2004 00:04:03 +0000 (16:04 -0800)]
[PATCH] Hotplug CPUs: Kswapd Changes

Keep track of kswapds: it's OK that they get moved off a node when the
last CPU goes down, but when a CPU comes back, we should try to move
the kswapd back onto its node.

21 years ago[PATCH] Hotplug CPUs: Workqueue Changes
Rusty Russell [Fri, 19 Mar 2004 00:03:54 +0000 (16:03 -0800)]
[PATCH] Hotplug CPUs: Workqueue Changes

Workqueues need to bring up/destroy the per-cpu thread on cpu up/down.

1) Add a global list of workqueues, and keep the name in the structure
   (to name the newly created thread).

2) Remove BUG_ON in run_workqueue, since thread is dragged off CPU when
   it goes down.

3) Lock out cpu up/down in flush_workqueue, create_workqueue and
   destroy_workqueue.

4) Add notifier to add/destroy workqueue threads, and take over work.

21 years ago[PATCH] Hotplug CPUs: Make ksoftirqd Handle CPU Going Down
Rusty Russell [Fri, 19 Mar 2004 00:03:44 +0000 (16:03 -0800)]
[PATCH] Hotplug CPUs: Make ksoftirqd Handle CPU Going Down

Change ksoftirqd not to assume it's on the CPU: when a cpu goes down,
it will be rudely dragged off.  Since do_softirq() uses
smp_processor_id(), it's easiest to disable preemption, check that the
cpu is still up, then call do_softirq().

If the cpu is actually offline, wait for the notifier, which kills us.

Take over tasklets from dead cpu in the notifier.

Clean up redundant double assignment in CPU_UP callback.

21 years ago[PATCH] Hotplug CPUs: Read Copy Update Changes
Rusty Russell [Fri, 19 Mar 2004 00:03:35 +0000 (16:03 -0800)]
[PATCH] Hotplug CPUs: Read Copy Update Changes

Add hook for RCU to handle jobs on dead cpu.  Requires new
tasklet_kill_immediate for RCU to clean up its tasklet (which might
have been about to run, so tasklet_kill won't work).

21 years ago[PATCH] Hotplug CPUs: Make Migration Thread Handle CPUs Going
Rusty Russell [Fri, 19 Mar 2004 00:03:25 +0000 (16:03 -0800)]
[PATCH] Hotplug CPUs: Make Migration Thread Handle CPUs Going

Change the migration thread to directly use its cpu arg, rather than
smp_processor_id(): if a cpu goes up then down rapidly, it can be on
the wrong cpu just before it is stopped.

Add code to stop the migration thread on CPU_DEAD and CPU_UP_CANCELED.

Remove the (bogus) priority of the notifier.

21 years ago[PATCH] Hotplug CPUs: Set prio of migration thread before CPU
Rusty Russell [Fri, 19 Mar 2004 00:03:16 +0000 (16:03 -0800)]
[PATCH] Hotplug CPUs: Set prio of migration thread before CPU

We need the migration thread to be RT as soon as the CPU comes online:
for example, stop_machine() (another RT task) expects to yield to it.
Extract the core of setscheduler() and do that when the migration
thread is created.  rq lock is a precaution against the (theoretical)
possibility of someone else doing setscheduer on this thread at the
same time.

21 years ago[PATCH] Hotplug CPUs: Keep IRQs off in Migration Thread Calling
Rusty Russell [Fri, 19 Mar 2004 00:03:06 +0000 (16:03 -0800)]
[PATCH] Hotplug CPUs: Keep IRQs off in Migration Thread Calling

Currently the migration thread re-enables irqs, then calls
move_task_away which disables IRQs again and actually does the move.
This means there is a race where the migration thread gets preempted,
and the target CPU can go down.

Hold irqs disabled in migration thread across move_task_away(), which
now doesn't need to save flags (the other caller is the hotplug CPU
code, where irqs are also disabled).

21 years ago[PATCH] Hotplug CPUs: Take cpu Lock Around Migration
Rusty Russell [Fri, 19 Mar 2004 00:02:56 +0000 (16:02 -0800)]
[PATCH] Hotplug CPUs: Take cpu Lock Around Migration

Grab cpu lock around sched_migrate_task() and sys_sched_setaffinity().
This is a noop without CONFIG_HOTPLUG_CPU.

The sched_migrate_task may have a performance penalty on NUMA if lots
of exec rebalancing is happening, however this only applies to
CONFIG_NUMA and CONFIG_HOTPLUG_CPU, which noone does at the moment
anyway.

Also, the scheduler in -mm solves the race another way, so this will
vanish then.

21 years ago[PATCH] Hotplug CPUs: don't pull onto offline CPUs
Rusty Russell [Fri, 19 Mar 2004 00:02:47 +0000 (16:02 -0800)]
[PATCH] Hotplug CPUs: don't pull onto offline CPUs

Don't move tasks onto offline cpus in load_balance and wake_task (the
latter is caused by a completion run from stop_machine).

Note that cpu_is_offline() is a noop when CONFIG_HOTPLUG_CPU=n.

21 years ago[PATCH] Hotplug CPUs: Sysfs Online Attribute
Rusty Russell [Fri, 19 Mar 2004 00:02:37 +0000 (16:02 -0800)]
[PATCH] Hotplug CPUs: Sysfs Online Attribute

Add "online" sysfs attribute to cpus to bring them up and down.

Again, only under CONFIG_HOTPLUG_CPU.

21 years ago[PATCH] Hotplug CPUs: cpu_down()
Rusty Russell [Fri, 19 Mar 2004 00:02:28 +0000 (16:02 -0800)]
[PATCH] Hotplug CPUs: cpu_down()

Implement cpu_down(): uses stop_machine to freeze the machine, then
uses (arch-specific) __cpu_disable() and migrate_all_tasks().

Whole thing under CONFIG_HOTPLUG_CPU, so doesn't break archs which
don't define that.

21 years ago[PATCH] remove_suid() should return error code
Andrew Morton [Thu, 18 Mar 2004 23:04:08 +0000 (15:04 -0800)]
[PATCH] remove_suid() should return error code

From: Nikita Danilov <Nikita@Namesys.COM>

remove_suid() ignores return value of notify_change()->i_op->setattr().
This mean, that even if file system fails to clear suid bit,
generic_file_aio_write_nolock() proceeds with write, which is unsafe.

Actually, even ext2's ->setattr() can fail, when trying to update ACL, for
example.

Attached patch modifies remove_suid() to return result of ->setattr(), and
updates in-tree callers.

21 years ago[PATCH] meye driver update
Andrew Morton [Thu, 18 Mar 2004 23:03:58 +0000 (15:03 -0800)]
[PATCH] meye driver update

From: Stelian Pop <stelian@popies.net>

This patchlet is just a resync with my tree, it only increments the meye
driver version number and makes some small comment changes as suggested by
Randy Dunlap.

21 years ago[PATCH] VM overcommit documentation fixes
Andrew Morton [Thu, 18 Mar 2004 23:03:49 +0000 (15:03 -0800)]
[PATCH] VM overcommit documentation fixes

From: Andy Whitcroft <andyw@uk.ibm.com>

Whilst looking at the memory overcommit logic I noticed that the pointer to
the documentation from the *_vm_enough_memory calls is incorrect.  Also
that in one instance the routine does not have the expected pointers.

21 years ago[PATCH] sonypi devinit section usage
Andrew Morton [Thu, 18 Mar 2004 23:03:39 +0000 (15:03 -0800)]
[PATCH] sonypi devinit section usage

From: Stelian Pop <stelian@popies.net>

This patch removes the usage of __devinit in the srs methods of the sonypi
driver, because those functions are also called from sonypi_pm_callback().

Patch originally from Randy Dunlap.

21 years ago[PATCH] add note about "Copyright" to SubmittingDrivers
Andrew Morton [Thu, 18 Mar 2004 23:03:30 +0000 (15:03 -0800)]
[PATCH] add note about "Copyright" to SubmittingDrivers

From: Grant Grundler <grundler@parisc-linux.org>

This patch adds a comment to "Documentation/SubmittingDrivers" about the
importance of adding a Copyright notice in submitted code.

The parisc-linux port has neglected this in the past and I've been slowly
trying to correct that (along with proper GPL header).

While I make it sound like GPL is the "only" acceptable license, I'll leave
it up to lawyers to determine what other appropriate license could be used
for a new driver.

21 years ago[PATCH] pte_chain comment fix
Andrew Morton [Thu, 18 Mar 2004 23:03:20 +0000 (15:03 -0800)]
[PATCH] pte_chain comment fix

From: Carl Spalletta <ioanamitu@yahoo.com>

Fix a comment bug.

21 years ago[PATCH] EDD: split assembly code
Andrew Morton [Thu, 18 Mar 2004 23:03:11 +0000 (15:03 -0800)]
[PATCH] EDD: split assembly code

From: Matt Domsch <Matt_Domsch@dell.com>

Split EDD assembly code from setup.S into edd.S.  This will enable it to be
#included into x86-64 too.

21 years ago[PATCH] EDD: move code from i386-specific locations to generic
Andrew Morton [Thu, 18 Mar 2004 23:03:01 +0000 (15:03 -0800)]
[PATCH] EDD: move code from i386-specific locations to generic

From: Matt Domsch <Matt_Domsch@dell.com>

move edd.c from arch/i386/kernel to new dir drivers/firmware.  Fix up
makefiles and Kconfigs.

21 years ago[PATCH] EDD: move code from i386-specific locations to generic
Andrew Morton [Thu, 18 Mar 2004 23:02:40 +0000 (15:02 -0800)]
[PATCH] EDD: move code from i386-specific locations to generic

From: Matt Domsch <Matt_Domsch@dell.com>

Three patches to move the BIOS Enhanced Disk Drive code from i386-specific
locations into more generic locations, which will allow it to be used on
x86-64 as well.

move edd.h from include/asm-i386 to include/linux

21 years ago[PATCH] Fix uninlined memcmp on i386
Andrew Morton [Thu, 18 Mar 2004 23:02:23 +0000 (15:02 -0800)]
[PATCH] Fix uninlined memcmp on i386

From: DHollenbeck <dick@softplc.com>

This patch was needed against a pristine 2.6.4 kernel when compiling with
"gcc 3.4 _very recent_" using the -Os option.

Without this patch, modules would use a non-inline memcmp() and then not
find it in the kernel, causing depmod to complain and some modules not to
load.

21 years ago[PATCH] fix HZ leaking to userspace in BSD accounting
Andrew Morton [Thu, 18 Mar 2004 23:02:14 +0000 (15:02 -0800)]
[PATCH] fix HZ leaking to userspace in BSD accounting

From: Tim Schmielau <tim@physik3.uni-rostock.de>

BSD accounting was missed in the conversion from HZ to USER_HZ.  I thought
nobody cared, but apparently there are still users to it.

21 years ago[PATCH] zlib: use kernel min/max
Andrew Morton [Thu, 18 Mar 2004 23:02:04 +0000 (15:02 -0800)]
[PATCH] zlib: use kernel min/max

From: "Randy.Dunlap" <rddunlap@osdl.org>

From: Michael Veeck <michael.veeck@gmx.net>

Remove unnecessary min/max macros and changes calls to use kernel.h macros
instead.

21 years ago[PATCH] sound: use kernel min/max
Andrew Morton [Thu, 18 Mar 2004 23:01:55 +0000 (15:01 -0800)]
[PATCH] sound: use kernel min/max

From: "Randy.Dunlap" <rddunlap@osdl.org>

From: Michael Veeck <michael.veeck@gmx.net>

Remove unnecessary min/max macros and changes calls to use kernel.h macros
instead.

21 years ago[PATCH] reiserfs: use kernel min/max
Andrew Morton [Thu, 18 Mar 2004 23:01:45 +0000 (15:01 -0800)]
[PATCH] reiserfs: use kernel min/max

From: "Randy.Dunlap" <rddunlap@osdl.org>

From: Michael Veeck <michael.veeck@gmx.net>

Remove unnecessary min/max macros and changes calls to use kernel.h macros
instead.

21 years ago[PATCH] procfs: use kernel min/max
Andrew Morton [Thu, 18 Mar 2004 23:01:35 +0000 (15:01 -0800)]
[PATCH] procfs: use kernel min/max

From: "Randy.Dunlap" <rddunlap@osdl.org>

From: Michael Veeck <michael.veeck@gmx.net>

Patch (against 2.6.3) removes unnecessary min/max macros and changes calls to
use kernel.h macros instead.

21 years ago[PATCH] ip2: fix double operator
Andrew Morton [Thu, 18 Mar 2004 23:01:26 +0000 (15:01 -0800)]
[PATCH] ip2: fix double operator

From: "Randy.Dunlap" <rddunlap@osdl.org>

This trivial patch fixes the bug #320:

http://bugme.osdl.org/show_bug.cgi?id=320

The additional comment:

http://bugme.osdl.org/show_bug.cgi?id=320#c1

Is wrong, because it will send the command twice.

We only want to see if the command got success, thus is not necessary
to test against < 0 (if the return value is not 1, we got a error).

Note that I'm using the function (bad) style.

21 years ago[PATCH] doc. updates/typos
Andrew Morton [Thu, 18 Mar 2004 23:01:15 +0000 (15:01 -0800)]
[PATCH] doc. updates/typos

From: "Randy.Dunlap" <rddunlap@osdl.org>

Remove the rest of references to smp.tex
Documentation/cpufreq => Documentation/cpu-freq
DocBook/tulip.{pdf,ps,html} => DocBook/tulip-user.{pdf,ps,html}
Bunch of other typos.

21 years ago[PATCH] slab: start_cpu_timer() can be __init
Andrew Morton [Thu, 18 Mar 2004 23:01:05 +0000 (15:01 -0800)]
[PATCH] slab: start_cpu_timer() can be __init

From: "Randy.Dunlap" <rddunlap@osdl.org>

From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>

21 years ago[PATCH] 8250_pnp: probe and remove can be __devinit/__devexit
Andrew Morton [Thu, 18 Mar 2004 23:00:55 +0000 (15:00 -0800)]
[PATCH] 8250_pnp: probe and remove can be __devinit/__devexit

From: "Randy.Dunlap" <rddunlap@osdl.org>

From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>

21 years ago[PATCH] config: choice fix
Andrew Morton [Thu, 18 Mar 2004 23:00:47 +0000 (15:00 -0800)]
[PATCH] config: choice fix

From: Roman Zippel <zippel@linux-m68k.org>

When a boolean choice value has a dependency of 'm' it can be shortly
treated as a tristate symbol.  This fixes this and also add a small
optimization to precompute the value of the module symbol instead of
checking it all the time.

21 years ago[PATCH] config: persistent qconf configuration
Andrew Morton [Thu, 18 Mar 2004 23:00:38 +0000 (15:00 -0800)]
[PATCH] config: persistent qconf configuration

From: Roman Zippel <zippel@linux-m68k.org>

This patch is by Andreas Fester <Andreas.Fester@gmx.de> and saves and
restores various runtime options of qconf.

21 years ago[PATCH] config: disable debug prints
Andrew Morton [Thu, 18 Mar 2004 23:00:28 +0000 (15:00 -0800)]
[PATCH] config: disable debug prints

From: Roman Zippel <zippel@linux-m68k.org>

This disables some debug prints, which are more confusing than helpful for
normal users.

21 years ago[PATCH] kconfig: don't rename target dir when saving config
Andrew Morton [Thu, 18 Mar 2004 23:00:19 +0000 (15:00 -0800)]
[PATCH] kconfig: don't rename target dir when saving config

From: Roman Zippel <zippel@linux-m68k.org>

conf_write() now checks the target path whether it's a directory, so it
saves the config in the directory instead of renaming it.

21 years ago[PATCH] kconfig: fix xconfig on /lib64 properly
Andrew Morton [Thu, 18 Mar 2004 23:00:09 +0000 (15:00 -0800)]
[PATCH] kconfig: fix xconfig on /lib64 properly

From: Roman Zippel <zippel@linux-m68k.org>

The correct link path is needed at config time to find the correct library,
so let's ask gcc for the real path.

21 years ago[PATCH] don't abuse empty_zero_page (x86)
Andrew Morton [Thu, 18 Mar 2004 23:00:00 +0000 (15:00 -0800)]
[PATCH] don't abuse empty_zero_page (x86)

From: Brian Gerst <bgerst@didntduck.org>

Don't abuse empty_zero_page as temporary storage for boot parameters and
command line.  This is a holdover from the days before discardable init
sections.

21 years ago[PATCH] proper alignment of init task in kernel image
Andrew Morton [Thu, 18 Mar 2004 22:59:50 +0000 (14:59 -0800)]
[PATCH] proper alignment of init task in kernel image

From: Matt Mackall <mpm@selenic.com>

This keeps the alignment of the init task matched with the stack size.

21 years ago[PATCH] sysfs: pin kobjects to fix use-after-free crashes
Andrew Morton [Thu, 18 Mar 2004 22:59:41 +0000 (14:59 -0800)]
[PATCH] sysfs: pin kobjects to fix use-after-free crashes

From: Maneesh Soni <maneesh@in.ibm.com>

Fix a sysfs use-after-free crash.  The problem we have is of the kobject
going away while we have a live dentry (the corresponding sysfs directory)
still pointing to it throuh d_fsdata pointer.  The patch makes sure to keep
the kobject alive by taking a reference to it during the life-time of
corresponding dentry.

o The following pins the kobject when sysfs assigns dentry and inode to
  the kobject. This ensures that kobject is alive during the life time of
  the dentry and inode, and people holding ref. to the dentry can access the
  kobject without any problems.

o The ref. taken for the kobject is released through dentry->d_op->d_iput()
  call when the dentry ref. count drops to zero and it is being freed. For
  this sysfs_dentry_operations is introduced.

For testing one has to run the following test on a SMP box:

1) Do insmod/rmmod "dummy.o" network driver in a forever loop.

2) Parallely do "find /sys/class/net | xargs cat" also in a forever loop.

21 years ago[PATCH] Fix dentry refcounting in sysfs_remove_group()
Andrew Morton [Thu, 18 Mar 2004 22:59:31 +0000 (14:59 -0800)]
[PATCH] Fix dentry refcounting in sysfs_remove_group()

From: Maneesh Soni <maneesh@in.ibm.com>

The following patch fixes the dentry refcounting, during
sysfs_remove_group() and also adds the missing dput() for the "extra" ref
taken during sysfs_create() for the sub-directory dentry corresponding to
attribute group.

21 years ago[PATCH] sysfs_remove_dir-vs-dcache_readdir race fix
Andrew Morton [Thu, 18 Mar 2004 22:59:22 +0000 (14:59 -0800)]
[PATCH] sysfs_remove_dir-vs-dcache_readdir race fix

From: Maneesh Soni <maneesh@in.ibm.com>

I have re-done the patch fixing the race between sysfs_remove_dir() and
dcache_readdir().  If you recall, sysfs_remove_dir(kobj) manipulates the
->d_subdirs list for the dentry corresponding to the sysfs directory being
removed.  It can end up deleting the cursor dentry which is added to the
->d_subdirs list during a concurrent dcache_dir_open() ==> dcache_readdir()
for the same directory.  And as a result dcache_readdir() can loop for ever
holding dcache_lock.

The earlier patch which was included in -mm1 created problems which
resulted in list_del() BUG hits in prune_dcache().  The reason I think is
that in the main loop in sysfs_remove_dir(), dcache_lock is dropped and
re-acquired, and this could result in inconsistent ->d_subdirs list and
prune_dcache() may try to delete an already deleted dentry.  I have
corrected this in the new patch as below.

I could do sysfs_remove_dir() more neatly on sysfs backing store patch set
as there I don't use the ->d_subdirs list.  Instead the list of children
sysfs_dirent works out well.  But untill sysfs backing store patch is
picked up the existing code suffer from this race.  This can be easily
tested by running following two loops on a SMP box

# while true; do insmod drivers/net/dummy.ko; rmmod dummy; done
# while true; do find /sys/class/net > /dev/null; done

o This patch fixes sysfs_remove_dir race with dcache_readdir.  There is
  no need for sysfs_remove_dir to modify the d_subdirs list for the
  directory being deleted as it is taken care in the final dput.  Modifying
  this list results in inconsistent d_subdirs list and causes infinite loop
  in concurrently occurring dcache_readdir.

o The main loop is restarted every time, dcache_lock is re-acquired in
  order to maintain consistency.

21 years ago[PATCH] Add dma_error() and pci_dma_error()
Andrew Morton [Thu, 18 Mar 2004 22:59:12 +0000 (14:59 -0800)]
[PATCH] Add dma_error() and pci_dma_error()

From: Anton Blanchard <anton@samba.org>

Introduce dma_error() and pci_dma_error() which are used to detect failures
in pci_map_single.

21 years ago[PATCH] ppc64: Fix POWER3 TCE allocation
Andrew Morton [Thu, 18 Mar 2004 22:59:02 +0000 (14:59 -0800)]
[PATCH] ppc64: Fix POWER3 TCE allocation

From: Anton Blanchard <anton@samba.org>

- Fix for machines with 3GB IO holes (eg nighthawk).
- Increase the maximum number of PHBs and warn if we exceed this (we used
  to walk off the end of the array)
- Only allocate an 8MB TCE table on POWER4

21 years ago[PATCH] ppc64: Fix SLB reload bug
Andrew Morton [Thu, 18 Mar 2004 22:58:53 +0000 (14:58 -0800)]
[PATCH] ppc64: Fix SLB reload bug

From: Paul Mackerras <paulus@samba.org>

Recently we found a particularly nasty bug in the segment handling in the
ppc64 kernel.  It would only happen rarely under heavy load, but when it
did the machine would lock up with the whole of memory filled with
exception stack frames.

The primary cause was that we were losing the translation for the kernel
stack from the SLB, but we still had it in the ERAT for a while longer.
Now, there is a critical region in various exception exit paths where we
have loaded the SRR0 and SRR1 registers from GPRs and we are loading those
GPRs and the stack pointer from the exception frame on the kernel stack.
If we lose the ERAT entry for the kernel stack in that region, we take an
SLB miss on the next access to the kernel stack.  Taking the exception
overwrites the values we have put into SRR0 and SRR1, which means we lose
state.  In fact we ended up repeating that last section of the exception
exit path, but using the user stack pointer this time.  That caused another
exception (or if it didn't, we loaded a new value from the user stack and
then went around and tried to use that).  And it spiralled downwards from
there.

The patch below fixes the primary problem by making sure that we really
never cast out the SLB entry for the kernel stack.  It also improves
debuggability in case anything like this happens again by:

- In our exception exit paths, we now check whether the RI bit in the
  SRR1 value is 0.  We already set the RI bit to 0 before starting the
  critical region, but we never checked it.  Now, if we do ever get an
  exception in one of the critical regions, we will detect it before
  returning to the critical region, and instead we will print a nasty
  message and oops.

- In the exception entry code, we now check that the kernel stack pointer
  value we're about to use isn't a userspace address.  If it is, we print a
  nasty message and oops.

This has been tested on G5 and pSeries (both with and without hypervisor)
and compile-tested on iSeries.

21 years ago[PATCH] ppc64: Add numa=off command line option
Andrew Morton [Thu, 18 Mar 2004 22:58:43 +0000 (14:58 -0800)]
[PATCH] ppc64: Add numa=off command line option

From: Anton Blanchard <anton@samba.org>

Add numa=off command line option to disable NUMA support at runtime.
Useful if there are issues with our parsing of the NUMA toplogy or for
testing NUMA gains.

21 years ago[PATCH] ppc64: remove IO_DEBUG
Andrew Morton [Thu, 18 Mar 2004 22:58:33 +0000 (14:58 -0800)]
[PATCH] ppc64: remove IO_DEBUG

From: Anton Blanchard <anton@samba.org>

Remove the old __IO_DEBUG stuff and add some nice comments courtesy of x86.

21 years ago[PATCH] ppc64: iSeries virtual tape driver
Andrew Morton [Thu, 18 Mar 2004 22:58:24 +0000 (14:58 -0800)]
[PATCH] ppc64: iSeries virtual tape driver

From: Stephen Rothwell <sfr@canb.auug.org.au>

This patch adds the driver for the PPC64 iSeries virtual tape.

21 years ago[libata] increase max from UDMA/100 to UDMA/133 for some drivers
Jeff Garzik [Thu, 18 Mar 2004 22:19:26 +0000 (17:19 -0500)]
[libata] increase max from UDMA/100 to UDMA/133 for some drivers

ServerWorks and Vitesse driver transfer mode maximums were
incorrectly too low.

21 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Thu, 18 Mar 2004 13:57:48 +0000 (05:57 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

21 years ago[PATCH] add touch_atime() helper
Alexander Viro [Thu, 18 Mar 2004 13:39:05 +0000 (05:39 -0800)]
[PATCH] add touch_atime() helper

Preparation for per-mountpoint noatime, nodiratime and later -
per-mountpoint r/o.  Depends on file_accessed() patch, should go after
it.

New helper - touch_atime(mnt, dentry).  It's a wrapper for
update_atime() and that's where all future per-mountpoint checks will
go.

21 years ago[PATCH] add file_accessed() helper
Alexander Viro [Thu, 18 Mar 2004 13:38:53 +0000 (05:38 -0800)]
[PATCH] add file_accessed() helper

New inlined helper - file_accessed(file) (wrapper for update_atime())

21 years ago[PATCH] missing check in do_add_mount()
Alexander Viro [Thu, 18 Mar 2004 13:38:43 +0000 (05:38 -0800)]
[PATCH] missing check in do_add_mount()

Make sure that we don't end up with symlink mounted over something

(mount --bind is safe since we use LOOKUP_FOLLOW in pathname resolution
there).

21 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Thu, 18 Mar 2004 13:18:16 +0000 (14:18 +0100)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
USB generic driver
Returned back get_iface() macro for quirks
Removed extra variable to avoid warning

21 years ago[libata] explicitly set consistent DMA mask to 0xffffffff
Jeff Garzik [Thu, 18 Mar 2004 12:55:48 +0000 (07:55 -0500)]
[libata] explicitly set consistent DMA mask to 0xffffffff

Do not rely on the default being 0xffffffff.

21 years ago[NET_SCHED]: Add packet delay scheduler.
Stephen Hemminger [Thu, 18 Mar 2004 12:51:19 +0000 (04:51 -0800)]
[NET_SCHED]: Add packet delay scheduler.

21 years ago[NET_SCHED]: Fix requeueing in HFSC scheduler.
Patrick McHardy [Thu, 18 Mar 2004 12:39:50 +0000 (04:39 -0800)]
[NET_SCHED]: Fix requeueing in HFSC scheduler.

Requeued packets are kept in a high-priority queue
which is always dequeued first.

21 years ago[PKT_SCHED]: Fix broken indentation in HFSC scheduler.
Patrick McHardy [Thu, 18 Mar 2004 12:38:40 +0000 (04:38 -0800)]
[PKT_SCHED]: Fix broken indentation in HFSC scheduler.

21 years ago[AF_KEY]: More accurate error codes.
Aidas Kasparas [Thu, 18 Mar 2004 12:36:34 +0000 (04:36 -0800)]
[AF_KEY]: More accurate error codes.

21 years agoMerge redhat.com:/spare/repo/linux-2.6
Jeff Garzik [Thu, 18 Mar 2004 12:30:00 +0000 (07:30 -0500)]
Merge redhat.com:/spare/repo/linux-2.6
into redhat.com:/spare/repo/libata-2.6

21 years ago[NET]: Give struct flowi explicit alignment, with help from yoshfuji.
Andrew Morton [Thu, 18 Mar 2004 12:23:46 +0000 (04:23 -0800)]
[NET]: Give struct flowi explicit alignment, with help from yoshfuji.

21 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Thu, 18 Mar 2004 12:18:44 +0000 (13:18 +0100)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
add comments in USB MIDI vendor-specific detection functions

21 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Thu, 18 Mar 2004 12:18:25 +0000 (13:18 +0100)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
replace usage of interface index with calls to usb_ifnum_to_if

21 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Thu, 18 Mar 2004 12:18:04 +0000 (13:18 +0100)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
fix get_iface_desc macro

21 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Thu, 18 Mar 2004 12:17:46 +0000 (13:17 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core
added the quirk for Compaq Evo D510C.

21 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Thu, 18 Mar 2004 12:17:24 +0000 (13:17 +0100)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
PPC PMAC driver
Fix against the new DMA API

21 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Thu, 18 Mar 2004 12:17:06 +0000 (13:17 +0100)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
don't resubmit unlinked urbs;
move interface releasing after urb unlinking

21 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Thu, 18 Mar 2004 12:16:42 +0000 (13:16 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
au88x0 driver
Manuel Jander <mjander@elo.utfsm.cl>:
clean up and small bugfixes, the routing code fix for multiple streams.

21 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Thu, 18 Mar 2004 12:16:23 +0000 (13:16 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
SPARC cs4231 driver
fixed the compilation error (missing comma).

21 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Thu, 18 Mar 2004 12:16:02 +0000 (13:16 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
SPARC cs4231 driver
fixed the dma allocation type.

21 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Thu, 18 Mar 2004 12:15:45 +0000 (13:15 +0100)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
MPU401 UART
use global variable to count cards

21 years ago[wireless prism54] add two final missing bits
Luis R. Rodriguez [Thu, 18 Mar 2004 12:15:27 +0000 (07:15 -0500)]
[wireless prism54] add two final missing bits

One a fairly important one, ensuring an skb slot is noted to be NULL.

21 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Thu, 18 Mar 2004 12:15:22 +0000 (13:15 +0100)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
MPU401 UART
don't use negative return value as card count

21 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Thu, 18 Mar 2004 12:15:03 +0000 (13:15 +0100)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
MPU401 UART
don't use acpi_disabled because it isn't exported in all archs

21 years ago[PATCH] Fw: [PATCH 2.6] netpoll for pcnet_cs
Andrew Morton [Thu, 18 Mar 2004 12:11:01 +0000 (07:11 -0500)]
[PATCH] Fw: [PATCH 2.6] netpoll for pcnet_cs

From: Stelian Pop <stelian@popies.net>
Subject: [PATCH 2.6] netpoll for pcnet_cs

This patch adds netpoll support to pcnet_cs. Tested with
the netconsole facility.

21 years ago[PATCH] revert some netdev_priv() changes
Randy Dunlap [Thu, 18 Mar 2004 12:10:53 +0000 (07:10 -0500)]
[PATCH] revert some netdev_priv() changes

These drivers don't use the usual/normal/typical netdevice->priv
storage, so converting them to use netdev_priv() was not the
right thing to do.  Back to using dev->priv for them.

21 years agoMerge kernel.bkbits.net:carmel-2.6
Jeff Garzik [Thu, 18 Mar 2004 12:02:23 +0000 (07:02 -0500)]
Merge kernel.bkbits.net:carmel-2.6
into redhat.com:/spare/repo/carmel-2.6