16 years agoPPC fixes for SMP; also fix the stack overflow detection, remove
Paul Mackerras [Sat, 16 Feb 2002 09:14:24 +0000 (20:14 +1100)]
PPC fixes for SMP; also fix the stack overflow detection, remove
various bits of cruft, and remove the third argument to switch_to.

16 years agoMerge bk://
Paul Mackerras [Fri, 15 Feb 2002 09:28:28 +0000 (20:28 +1100)]
Merge bk://

16 years agoMerge
Paul Mackerras [Fri, 15 Feb 2002 05:23:15 +0000 (16:23 +1100)]

16 years agoMerge bk://
Tom Rini [Wed, 13 Feb 2002 15:20:03 +0000 (07:20 -0800)]
Merge bk://

16 years agoPPC updates: call schedule_tail only on SMP, update sched_find_first_bit,
Paul Mackerras [Wed, 13 Feb 2002 07:28:44 +0000 (18:28 +1100)]
PPC updates: call schedule_tail only on SMP, update sched_find_first_bit,
include <linux/binfmts.h> in signal.c.

16 years agoMerge cargo.(none):/home/paulus/kernel/linux-2.5
Paul Mackerras [Wed, 13 Feb 2002 06:17:31 +0000 (17:17 +1100)]
Merge cargo.(none):/home/paulus/kernel/linux-2.5
into cargo.(none):/home/paulus/kernel/linuxppc-2.5

16 years agoFurther PPC updates - fix thread_saved_pc, make sure init_thread_union
Paul Mackerras [Wed, 13 Feb 2002 06:16:11 +0000 (17:16 +1100)]
Further PPC updates - fix thread_saved_pc, make sure init_thread_union
is properly 8kB-aligned.

16 years ago[PATCH] BKL shifted inside ->unlink()
Alexander Viro [Wed, 13 Feb 2002 04:31:22 +0000 (20:31 -0800)]
[PATCH] BKL shifted inside ->unlink()

Next one in the series - this time it's ->unlink()...

16 years ago[PATCH] misc fixes
Alexander Viro [Wed, 13 Feb 2002 04:31:17 +0000 (20:31 -0800)]
[PATCH] misc fixes

1) proc/<pid>/fd readdir() has broken locking - sometimes it ends up with
task->files->file_lock locked.

2) missing variable definition in arch/s390x/kernel/linux32.c::cp_new_stat32().

Please, apply - the first one is really serious.

16 years ago[PATCH] BKL shifted into ->mknod()
Alexander Viro [Wed, 13 Feb 2002 04:31:13 +0000 (20:31 -0800)]
[PATCH] BKL shifted into ->mknod()

16 years ago[PATCH] SMP-safe ext2/namei.c
Alexander Viro [Wed, 13 Feb 2002 04:31:09 +0000 (20:31 -0800)]
[PATCH] SMP-safe ext2/namei.c

BKL held around ->i_nlink changes in ext2/namei.c.  That makes
namei.c SMP-safe (dir.c already is).  BKL dropped around ext2_free_inode() -
it's already SMP-safe (the only place that needed BKL was DQUOT_FREE_INODE()
and it got BKL in the previous patch).

16 years ago[PATCH] BKL shifted into ->create()
Alexander Viro [Wed, 13 Feb 2002 04:31:05 +0000 (20:31 -0800)]
[PATCH] BKL shifted into ->create()

BKL shifted into ->create().  lock_kernel()/unlock_kernel() added
in dquot_{alloc,free}_inode() - that makes {ext2,minix,sysv,ufs}_read_inode()

16 years ago[PATCH] ext2/inode.c cleanup.
Alexander Viro [Wed, 13 Feb 2002 04:31:00 +0000 (20:31 -0800)]
[PATCH] ext2/inode.c cleanup.

ext2_read_inode() and ext2_update_inode() share large chunk
of code - getting a buffer_head with raw inode in it.
Moved into a helper function (ext2_get_inode()), the rest
of ext2_{read,update}_inode() slightly cleaned up.

16 years ago[PATCH] x86_64 merge: fs/proc/inode.c #include fix
Andi Kleen [Wed, 13 Feb 2002 04:17:43 +0000 (20:17 -0800)]
[PATCH] x86_64 merge: fs/proc/inode.c #include fix

fs/proc/inode.c is using __init, but for some reason missing an
#include <linux/init.h>. Add this.

16 years ago[PATCH] x86-64 MAINTAINERS
Andi Kleen [Wed, 13 Feb 2002 04:17:39 +0000 (20:17 -0800)]

Add Andi Kleen as x86-64 maintainer.

16 years ago[PATCH] x86_64 merge: arch + asm
Andi Kleen [Wed, 13 Feb 2002 04:17:35 +0000 (20:17 -0800)]
[PATCH] x86_64 merge: arch + asm

This adds the x86_64 arch and asm directories and a Documentation/x86_64.

It took a bit longer because I first had to make preemption and thread_info
work and also found some other bugs while doing this. The port has been
tested for a long time on UP.

I'm not sure what I should describe.  A lot is based on i386 with
a lot of cleanups. I wrote a paper about it for last year's OLS that describes
most of the changes ( It is
a bit outdated now, but should give a good overview.

It currently has a completely cut'n'pasted from others+hacked 32bit
emulation. I hope to clean that up in the future by merging the generic
core of this with other 64bit archs.


16 years ago[PATCH] x86_64-merge file.c warning
Andi Kleen [Wed, 13 Feb 2002 04:17:29 +0000 (20:17 -0800)]
[PATCH] x86_64-merge file.c warning

Just an gcc 3.1 warning fix. It now warns about __FUNCTION__ string
concatenation. Also remove the check because it does not seem to trigger


16 years agoAvoid pci driver warnings on 64-bit hosts
Linus Torvalds [Wed, 13 Feb 2002 04:09:34 +0000 (20:09 -0800)]
Avoid pci driver warnings on 64-bit hosts

16 years agoupdate version
Linus Torvalds [Wed, 13 Feb 2002 03:34:48 +0000 (19:34 -0800)]
update version

16 years agoMerge
Linus Torvalds [Wed, 13 Feb 2002 05:02:27 +0000 (21:02 -0800)]

16 years agoInclude linux/compiler.h in include/asm-i386/bitops.h,
Jeff Garzik [Wed, 13 Feb 2002 09:05:47 +0000 (04:05 -0500)]
Include linux/compiler.h in include/asm-i386/bitops.h,
for the definition of unlikely().

16 years ago[PATCH] flush_icache_user_range (v2.5.4)
Paul Mackerras [Wed, 13 Feb 2002 04:27:37 +0000 (20:27 -0800)]
[PATCH] flush_icache_user_range (v2.5.4)

The patch below changes access_process_vm to use a new architecture
hook, flush_icache_user_range, instead of flush_icache_page, and adds
a definition of flush_icache_user_range which does the same thing as
flush_icache_page for all architectures except PPC.  (The PPC update
that is in Linus' BK tree already includes a suitable definition of

The reason for doing this is that when flush_icache_page is called
from do_no_page or do_swap_page, I want to be able to do the flush
conditionally, based on the state of the page.  In contrast,
access_process_vm needs to do the flush unconditionally since it has
just modified the page.  In the access_process_vm case it is useful to
have the information about the user address and length that have been
modified since then we can just flush the affected cache lines rather
than the whole page.

This patch should make it easy to improve performance on alpha, since
there (as I understand it) the icache flush is not needed at all in
do_no_page or do_swap_page, but is needed in access_process_vm.  All
that is needed is to make flush_icache_page a noop on alpha.  The
patch below doesn't do this, I'll let the alpha maintainers push that
change if they want.

16 years ago[PATCH] fix sd_find_target (v2.5.4)
Paul Mackerras [Wed, 13 Feb 2002 04:27:31 +0000 (20:27 -0800)]
[PATCH] fix sd_find_target (v2.5.4)

This patch fixes a compile error on PPC.  It's in sd_find_target, a
function that returns a kdev_t.

16 years agoMerge bk://
Linus Torvalds [Wed, 13 Feb 2002 04:24:15 +0000 (20:24 -0800)]
Merge bk://

16 years ago[PATCH] menuconfig: fix error exit if awk fails
Michael Elizabeth Chastain [Wed, 13 Feb 2002 04:23:42 +0000 (20:23 -0800)]
[PATCH] menuconfig: fix error exit if awk fails

This one-liner fixes an error case in Menuconfig when awk fails.
Written by Andrew Church (
Reviewed and tested by Michael Elizabeth Chastain (

Michael Elizabeth Chastain


16 years agoMake Jaroslav the sound maintainer, remove Alan on his request.
Linus Torvalds [Wed, 13 Feb 2002 04:05:43 +0000 (20:05 -0800)]
Make Jaroslav the sound maintainer, remove Alan on his request.

16 years ago[PATCH] 2.5.4, add help texts to drivers/net/pcmcia/
Steven Cole [Wed, 13 Feb 2002 03:58:48 +0000 (19:58 -0800)]
[PATCH] 2.5.4, add help texts to drivers/net/pcmcia/


16 years agoMerge
Linus Torvalds [Wed, 13 Feb 2002 03:57:41 +0000 (19:57 -0800)]

16 years agoMerge
Linus Torvalds [Wed, 13 Feb 2002 03:56:50 +0000 (19:56 -0800)]

16 years agoMerge
Linus Torvalds [Wed, 13 Feb 2002 03:34:08 +0000 (19:34 -0800)]

16 years ago[PATCH] ALSA patch for 2.5.4
Jaroslav Kysela [Wed, 13 Feb 2002 03:32:11 +0000 (19:32 -0800)]
[PATCH] ALSA patch for 2.5.4

Integrate ALSA into v2.5.4


16 years agoMerge
Linus Torvalds [Wed, 13 Feb 2002 02:57:46 +0000 (18:57 -0800)]

16 years agocleanups.
Ingo Molnar [Wed, 13 Feb 2002 20:32:25 +0000 (21:32 +0100)]

16 years ago- make the preempt-enable test cheaper - only test for the (very rare) TIF_NEED_RESCHED
Ingo Molnar [Wed, 13 Feb 2002 15:01:58 +0000 (16:01 +0100)]
- make the preempt-enable test cheaper - only test for the (very rare) TIF_NEED_RESCHED
  condition, we test the preemption count in preempt_schedule(). This reduces the icache
  footprint and the overhead of preemption.

- plus optimize the irq-path preemption check a bit.

16 years agothis is a fragile piece of the ptrace code, the code relies on a single wakeup coming...
Ingo Molnar [Wed, 13 Feb 2002 14:32:22 +0000 (15:32 +0100)]
this is a fragile piece of the ptrace code, the code relies on a single wakeup coming from the parent.
This fix is necessery after the preempt_schedule() cleanups, it unbreaks 'strace strace ...'.

16 years agodo not unlock irqs before calling schedule() - besides being a small exit() speedup...
Ingo Molnar [Wed, 13 Feb 2002 03:45:03 +0000 (04:45 +0100)]
do not unlock irqs before calling schedule() - besides being a small exit() speedup, this also
fixes a preemption race that was introduced by my removal of PREEMPT_ACTIVE.

16 years agoMerge
Jeff Garzik [Wed, 13 Feb 2002 02:01:25 +0000 (18:01 -0800)]

16 years agoMerge
Jeff Garzik [Wed, 13 Feb 2002 01:57:20 +0000 (17:57 -0800)]

16 years agoMerge quango.(none):/home/paulus/kernel/linux-2.5
Paul Mackerras [Tue, 12 Feb 2002 21:23:28 +0000 (08:23 +1100)]
Merge quango.(none):/home/paulus/kernel/linux-2.5
into quango.(none):/home/paulus/kernel/linuxppc-2.5

16 years agoa cleanup and a bugfix in the preemptive kernel:
Ingo Molnar [Tue, 12 Feb 2002 19:57:41 +0000 (20:57 +0100)]
a cleanup and a bugfix in the preemptive kernel:

- the PREEMPT_ACTIVE trick is not needed

- schedule() should check for need_resched, we might miss a
  reschedule otherwise.

the cleanup also fixes the bug. The only reason why i kept
preempt_schedule() was to fix up p->state to TASK_RUNNING,
to make it possible to preempt from places that mark the
task TASK_UNINTERRUPTIBLE before adding the task to a waitqueue,
and thus a preemption in that small window could cause the
task to be removed from the runqueue erroneously.

16 years agomove sched_find_first_bit() from mmu_context.h to bitops.h, it belongs there.
Ingo Molnar [Tue, 12 Feb 2002 19:05:41 +0000 (20:05 +0100)]
move sched_find_first_bit() from mmu_context.h to bitops.h, it belongs there.

16 years agooptimization, cleanup: switch_to(3 parameter) => switch_to(2 parameter).
Ingo Molnar [Tue, 12 Feb 2002 18:53:21 +0000 (19:53 +0100)]
optimization, cleanup: switch_to(3 parameter) => switch_to(2 parameter).

16 years ago[PATCH] usb_set_interface: correct toggle reset
Martin Diehl [Tue, 12 Feb 2002 14:55:33 +0000 (06:55 -0800)]
[PATCH] usb_set_interface: correct toggle reset

this is a patch to prevent usb_set_interface() from erroneously resetting
the toggles for all endpoints instead of only the affected ones from the
requested interface/altsetting. I've also added some missing parentheses
to related macros in usb.h as I prefered not to take special care for
nasty side-effects ;-)

Patch below was created against 2.4.18-pre9 (with some lines of offset it
applies to 2.5.4-pre5 as well).

Tested in multi-interface configuration to provide evidence it:
* correctly identifies the affected endpoints and resets the toggles
* doesn't touch endpoints from other interfaces
* provides correct handling of shared EP0
* solves an issue I had with 2.4.18-pre9 where setting one interface
  occasionally caused transfers on other interface to hang due to lost
  toggle synchronisation

Despite being a pure bugfix, well localized and (IMHO) pretty obviously
correct wrt. USB-spec, I'd like to suggest including this in early
2.4.19-pre. Just in case some existing driver would somehow workaround
the currently wrong behavior and might break with this fix. And it's
not very urgent right now, as we are probably close to 2.4.18-rc1.


16 years agousb hid driver:
Vojtech Pavlik [Tue, 12 Feb 2002 14:48:06 +0000 (06:48 -0800)]
usb hid driver:
- patch to fix bug where urbs were freed too soon.

16 years agoUpdate PPC for recent generic changes; in particular adapt to
Paul Mackerras [Tue, 12 Feb 2002 09:26:28 +0000 (20:26 +1100)]
Update PPC for recent generic changes; in particular adapt to
having the thread_info struct at the base of the stack and
the task_struct elsewhere.

16 years agoAdd Macrolink board PCI ids to pci.ids and pci_ids.h.
Jeff Garzik [Tue, 12 Feb 2002 03:40:11 +0000 (22:40 -0500)]
Add Macrolink board PCI ids to pci.ids and pci_ids.h.

Contributor: Ed Vance @ Macrolink

16 years agoAdd new pci id to 8139too net driver, for Allied Telesyn cardbus cards.
Jeff Garzik [Tue, 12 Feb 2002 03:24:42 +0000 (22:24 -0500)]
Add new pci id to 8139too net driver, for Allied Telesyn cardbus cards.

Contributor: Go Taniguchi

16 years agoMerge bug fixes and PPC-specific feature additions from 2.4.x
Jeff Garzik [Tue, 12 Feb 2002 03:22:45 +0000 (22:22 -0500)]
Merge bug fixes and PPC-specific feature additions from 2.4.x
into bmac and mace net drivers.

Via Dave Jones.

16 years agoRemove GMAC net driver, with the ok of the PPC folks.
Jeff Garzik [Tue, 12 Feb 2002 03:19:14 +0000 (22:19 -0500)]
Remove GMAC net driver, with the ok of the PPC folks.
'sungem' which DaveM is maintaining is the replacement.

16 years agoMerge quango.(none):/home/paulus/kernel/linux-2.5
Paul Mackerras [Mon, 11 Feb 2002 22:56:01 +0000 (09:56 +1100)]
Merge quango.(none):/home/paulus/kernel/linux-2.5
into quango.(none):/home/paulus/kernel/linuxppc-2.5

16 years agoAdd new pci id to via-rhine net driver.
Jeff Garzik [Mon, 11 Feb 2002 20:56:54 +0000 (15:56 -0500)]
Add new pci id to via-rhine net driver.

16 years agoCleanup and fixes to sleeping/scheduling in the olympic token ring
Jeff Garzik [Mon, 11 Feb 2002 20:43:07 +0000 (15:43 -0500)]
Cleanup and fixes to sleeping/scheduling in the olympic token ring
net driver.  Also included are a couple of minor error reporting
updates and the proper detection for cardbus removal.

Mike Phillips
Linux Token Ring Project

16 years agoA minor patch to remove the last isa_read/isa_write function in
Jeff Garzik [Mon, 11 Feb 2002 20:39:21 +0000 (15:39 -0500)]
A minor patch to remove the last isa_read/isa_write function in
the ibmtr token ring net driver.

Mike Phillips
Linux Token Ring Project

16 years agoMerge changes from yellowfin GigE net driver version LK1.1.6:
Jeff Garzik [Mon, 11 Feb 2002 20:36:17 +0000 (15:36 -0500)]
Merge changes from yellowfin GigE net driver version LK1.1.6:
* Only print warning on truly "oversized" packets
* Fix theoretical bug on gigabit cards - return to 1.1.3 behavior

Contributor: Val Henson

16 years agoMerge ethtool support and PPC fix into pcnet32 net driver,
Jeff Garzik [Mon, 11 Feb 2002 20:29:52 +0000 (15:29 -0500)]
Merge ethtool support and PPC fix into pcnet32 net driver,
from 2.4.x.
Also, remove deprecated SIOCDEVPRIVATE ioctl calls.

Via Dave Jones.

16 years agoMerge ns83820 GigE net driver changes from 2.4.x kernel:
Jeff Garzik [Mon, 11 Feb 2002 20:26:18 +0000 (15:26 -0500)]
Merge ns83820 GigE net driver changes from 2.4.x kernel:
0.13a - optical transceiver support added
by Michael Clark <>
0.13b - call register_netdev earlier in initialization
suppress duplicate link status messages
0.15 get ppc (big endian) working

Via Dave Jones.

16 years agoMerge 8139too net driver oops fix from 2.4.x.
Jeff Garzik [Mon, 11 Feb 2002 20:24:27 +0000 (15:24 -0500)]
Merge 8139too net driver oops fix from 2.4.x.

Fix originally by Andreas Dilger IIRC, merged by Dave Jones.

16 years agoAdd new ISAPNP card id to 'ne' net driver.
Jeff Garzik [Mon, 11 Feb 2002 20:22:39 +0000 (15:22 -0500)]
Add new ISAPNP card id to 'ne' net driver.

Via Dave Jones.

16 years agoMerge cosmetic cleanup and driver version increment
Jeff Garzik [Mon, 11 Feb 2002 20:21:42 +0000 (15:21 -0500)]
Merge cosmetic cleanup and driver version increment
for dmfe net driver from 2.4.x.

Via Dave Jones.

16 years agoFix typo in aironet4500 net driver return value, s/NODEV/-ENODEV/,
Jeff Garzik [Mon, 11 Feb 2002 20:19:38 +0000 (15:19 -0500)]
Fix typo in aironet4500 net driver return value, s/NODEV/-ENODEV/,
which prevented the driver from building.

Via Dave Jones.

16 years agoMerge basic ethtool ioctl support from 2.4.x for 3c505 and sis900
Jeff Garzik [Mon, 11 Feb 2002 20:14:40 +0000 (15:14 -0500)]
Merge basic ethtool ioctl support from 2.4.x for 3c505 and sis900
net drivers.  Merge two sis900 bug fixes from 2.4.x.

Via Dave Jones.

16 years agoRemove deprecated SIOCDEVPRIVATE ioctls in net drivers
Jeff Garzik [Mon, 11 Feb 2002 20:10:04 +0000 (15:10 -0500)]
Remove deprecated SIOCDEVPRIVATE ioctls in net drivers
3c59x, eepro100, sis900, and tulip.

Also, update eepro100 Becker URL.

Contributor: Dave Jones

16 years agorequest_region cleanups from 2.4 and the kernel janitors.
Jeff Garzik [Mon, 11 Feb 2002 20:04:17 +0000 (15:04 -0500)]
request_region cleanups from 2.4 and the kernel janitors.

Via Dave Jones.

16 years agoVarious minor documentation / comment typo fixes
Jeff Garzik [Mon, 11 Feb 2002 20:01:22 +0000 (15:01 -0500)]
Various minor documentation / comment typo fixes
for net drivers 3c509, acenic, ni52, and skfp.

Via Dave Jones.

16 years ago[PATCH] BKL shifted into ->truncate()
Alexander Viro [Mon, 11 Feb 2002 18:03:32 +0000 (10:03 -0800)]
[PATCH] BKL shifted into ->truncate()

BKL shifted into all instances of ->truncate().  Callers updated.

16 years agoMerge
Linus Torvalds [Mon, 11 Feb 2002 18:03:04 +0000 (10:03 -0800)]

16 years ago[PATCH] BKL shifted into ->lookup()
Alexander Viro [Mon, 11 Feb 2002 18:01:17 +0000 (10:01 -0800)]
[PATCH] BKL shifted into ->lookup()

OK, here comes: ->lookup() had lost BKL, all in-tree instances of
->lookup() converted.

I'm adding Documentation/filesystems/porting - with the list of
API changes since 2.4.  Are you OK with that format?

(and yes, this sucker is *post*-compile ;-)

16 years agoMerge
Linus Torvalds [Mon, 11 Feb 2002 17:43:42 +0000 (09:43 -0800)]

16 years agoMerge
Linus Torvalds [Mon, 11 Feb 2002 17:19:34 +0000 (09:19 -0800)]

16 years agoMerge
Linus Torvalds [Mon, 11 Feb 2002 17:18:16 +0000 (09:18 -0800)]

16 years ago[PATCH] Update of USB input drivers to the latest versions
Vojtech Pavlik [Mon, 11 Feb 2002 15:32:56 +0000 (07:32 -0800)]
[PATCH] Update of USB input drivers to the latest versions

Now that the input core changes have made it into 2.5 I can finally
update the USB input drivers to their latest versions.

Here is a patch that does that.

In detail:

HID driver:
Fix a bug in descriptor parsing (array/variable),
namely visible with Logitech new joysticks and mice
Fix bugs in logical/physical min/max parsing
Fix bugs in exponent parsing
Remove workaround for low-speed devices with >8 byte
reports, fix this in a correct way (bigger irq
Untangle some code (fetc_item())
Implement asynchronous input/output/feature report
reading and writing
Implement (hopefully) proper locking in the above
Implement support for devices with an output endpoint
Add some support functions for force feedback support
currently in development
Add entries to the debug dump code, including FF and
Add more mappings into the hid-input interface
Cleanups here and there

usbkbd driver:

Make LED URBS use GFP_ATOMIC, they'll be called from a
completion handler
Remove dependency on hid.h

usbmouse driver:

Just conversion to the new input core, minor cleanups

wacom driver:

Just conversion to the new input core.

16 years ago[PATCH] pegasus.h
Petko Manolov [Mon, 11 Feb 2002 15:32:49 +0000 (07:32 -0800)]
[PATCH] pegasus.h

this patch somehow didn't get applied to 2.5.4
so i resend it.  It is pretty harmless - only
adds 3 more devices and 2 vendor ids into pegasus.h :-)

16 years ago[PATCH] mmap can return incorrect errno
Christopher Yeoh [Mon, 11 Feb 2002 14:50:33 +0000 (06:50 -0800)]
[PATCH] mmap can return incorrect errno

mmap currently sets errno to EINVAL when it should be ENOMEM.
SUS/POSIX states that ENOMEM should be returned when:

"MAP_FIXED was specified, and the range [addr, addr + len) exceeds
that allowed for the address space of a process; or if MAP_FIXED was
not specified and there is insufficient room in the address space to
effect the mapping."

The following patch (against 2.4.17) fixes this behaviour:

16 years agoFix up typo from Al's ext2 balloc cleanups.
Linus Torvalds [Mon, 11 Feb 2002 14:47:08 +0000 (06:47 -0800)]
Fix up typo from Al's ext2 balloc cleanups.

16 years agoFix recalc_sigpending handling.
David S. Miller [Mon, 11 Feb 2002 14:39:57 +0000 (06:39 -0800)]
Fix recalc_sigpending handling.

16 years ago[PATCH] 2.5.4-pre5 and ncpfs fill_super changes
Petr Vandrovec [Mon, 11 Feb 2002 13:39:50 +0000 (05:39 -0800)]
[PATCH] 2.5.4-pre5 and ncpfs fill_super changes

* fs/ncpfs/inode.c: Return reasonable error codes instead of universal
     -EINVAL. Remove printk() as reasonable code is returned.
     Set maximum file size limit on ncpfs to 4GB-1.

* fs/ncpfs/sock.c: Return correct error code when send() fails.

Petr Vandrovec

16 years ago[PATCH] zisofs compilation error
Petr Vandrovec [Mon, 11 Feb 2002 13:39:46 +0000 (05:39 -0800)]
[PATCH] zisofs compilation error

* zisofs_cleanup cannot be __exit, as it is invoked from __init
  section when register_filesystem() fails.

Petr Vandrovec

16 years agoMerge bk://
Linus Torvalds [Mon, 11 Feb 2002 13:34:27 +0000 (05:34 -0800)]
Merge bk://

16 years ago[PATCH] BKL-free ext2_get_block()
Alexander Viro [Mon, 11 Feb 2002 13:26:50 +0000 (05:26 -0800)]
[PATCH] BKL-free ext2_get_block()

Linus, I've got the first of BKL-removal ext2 patches ready to
go.  It removes BKL from ext2_get_block() and guts of ext2_truncate().
The only place where we hold BKL on these paths is in dquot.c - probably
can be easily dealt with, but threading quota is a separate story.

Inode metadata (pointers to blocks, both in inode itself and in
indirect blocks, preallocation data and allocation goal) are protected
by rwlock - EXT2_I(inode)->i_meta_lock.

Next steps will involve threading the group descriptors and bitmaps
handling - lock_super() uses in ext2 are going to die.  However, that's
a separate story - let's do that step-by-step.

I suspect that patch below will take care of almost all BKL contention
from ext2 - we still have BKL held over directory operations, but for regular
files that's it.

16 years ago[PATCH] 08-truncate_update_mtime.diff
Hans Reiser [Mon, 11 Feb 2002 13:15:52 +0000 (05:15 -0800)]
[PATCH] 08-truncate_update_mtime.diff

   truncate now correctly sets mtime always. Before this fix, mtime was not
   updated if truncated file was of zero length or if new filesize was bigger
   then old.
   Problem was noticed by Matthias Andree <>

16 years ago[PATCH] 07-reiserfs-bitmap-journal-read-ahead.diff
Hans Reiser [Mon, 11 Feb 2002 13:15:47 +0000 (05:15 -0800)]
[PATCH] 07-reiserfs-bitmap-journal-read-ahead.diff

   Speed up reading of journal bitmaps. RAID users should notice significant
   speedup when mounting reiserfs over self-rebuilding RAID arays.

16 years ago[PATCH] 06-kmalloc_cleanup.diff
Hans Reiser [Mon, 11 Feb 2002 13:15:43 +0000 (05:15 -0800)]
[PATCH] 06-kmalloc_cleanup.diff

   Convert all the code to use reiserfs_{kmalloc,kfree}. Remove all extra
   reiserfs_{kmalloc,kfree} overhead if CONFIG_REISERFS_CHECK is not set.

16 years ago[PATCH] 05-corrupt_items_checks.diff
Hans Reiser [Mon, 11 Feb 2002 13:15:39 +0000 (05:15 -0800)]
[PATCH] 05-corrupt_items_checks.diff

   Do not panic when encountered item of unknown type, just print a warning.

16 years ago[PATCH] 04-hash_autodetect_fix.diff
Hans Reiser [Mon, 11 Feb 2002 13:15:35 +0000 (05:15 -0800)]
[PATCH] 04-hash_autodetect_fix.diff

   Correctly detect and print hash values, when manual hash detection is used.

16 years ago[PATCH] 03-savelink_dir_truncate.diff
Hans Reiser [Mon, 11 Feb 2002 13:15:30 +0000 (05:15 -0800)]
[PATCH] 03-savelink_dir_truncate.diff

   Do not panic on incorrect savelink entries (truncate on directory).
   Currently we suppose these can be created if switching between kernels
   with and without savelinks support.

16 years ago[PATCH] 02-savelink_nospace_nowarning.diff
Hans Reiser [Mon, 11 Feb 2002 13:15:26 +0000 (05:15 -0800)]
[PATCH] 02-savelink_nospace_nowarning.diff

   Do not print a warning if savelink was not created due to lack of space.

16 years ago[PATCH] 01-ioerrors-checks-2.diff
Hans Reiser [Mon, 11 Feb 2002 13:15:23 +0000 (05:15 -0800)]
[PATCH] 01-ioerrors-checks-2.diff

    Make sure all reiserfs_find_entry users correctly understand IO_ERROR retval.

16 years ago[PATCH] discarded section problem
Richard Henderson [Mon, 11 Feb 2002 13:09:45 +0000 (05:09 -0800)]
[PATCH] discarded section problem

What should be happening with the references to the discarded .text.exit
section?  I see a __devexit_p mentioned in Documentation/pci.txt, but it
hasn't been implemented except for down inside ieee1394.

In any case, I need something like the following in order to build with
pre-release binutils 2.12.  If this sort of thing is acceptible I can
prepare a more comprehensive patch.

16 years ago[PATCH] video console fix up
David Mosberger [Mon, 11 Feb 2002 13:09:41 +0000 (05:09 -0800)]
[PATCH] video console fix up

Here is the last patch for today: it enables writecombined mappings
for ia64 in fbmem.c and gets rid of an ugly ia64 simulator workaround
in vgacon.c which isn't needed anymore.


16 years ago[PATCH] fix for elf coredump deadlock
David Mosberger [Mon, 11 Feb 2002 13:09:37 +0000 (05:09 -0800)]
[PATCH] fix for elf coredump deadlock

This patch fixes a deadlock condition in the elf core dump that shows
on ia64 because ELF_CORE_COPY_REGS() needs to access user space (to
get a hold of the backing store of the stacked registers).  Marcelo
already accepted this into 2.4.17.


16 years ago[PATCH] dma64_addr_t fix ups
David Mosberger [Mon, 11 Feb 2002 13:09:34 +0000 (05:09 -0800)]
[PATCH] dma64_addr_t fix ups

This patch fixes up two places whre dma64_addr_t is used incorrectly.
Note that pci_dev->dma_mask and the second argument to
blk_queue_bounce_limit() are both u64, so the old types clearly are
wrong (besides, dma64_addr_t is supposed to be used only with the
pci_dac_*() routines, as per DaveM's earlier mail).


16 years ago[PATCH] drivers/char/pcwd.c
Rob Radez [Mon, 11 Feb 2002 13:09:30 +0000 (05:09 -0800)]
[PATCH] drivers/char/pcwd.c

This patch to drivers/char/pcwd.c against 2.5.4 does two things:
a) Makes one code snippet more consistent with the rest of the code, and
b) Makes it possible for this code to actually work

Nearly the same patch against 2.4 was reviewed by Alan, and, well, the
maintainer seems to have disappeared.  It's also looking like no one uses
this driver much either.

Rob Radez

16 years ago[PATCH] updated version of VM_DATA_DEFAULT_FLAGS patch
David Mosberger [Mon, 11 Feb 2002 13:09:26 +0000 (05:09 -0800)]
[PATCH] updated version of VM_DATA_DEFAULT_FLAGS patch

Here is the latest version of the VM_DATA_DEFAULT_FLAGS patch
(relative to 2.5.4).


16 years agoMerge bk://
Linus Torvalds [Mon, 11 Feb 2002 13:03:47 +0000 (05:03 -0800)]
Merge bk://

16 years agoMerge
Linus Torvalds [Mon, 11 Feb 2002 13:03:04 +0000 (05:03 -0800)]

16 years agoMerge
Linus Torvalds [Mon, 11 Feb 2002 13:01:48 +0000 (05:01 -0800)]

16 years agomerge to the -K3 scheduler.
Ingo Molnar [Mon, 11 Feb 2002 21:47:52 +0000 (22:47 +0100)]
merge to the -K3 scheduler.

16 years agoRemove nr_sectors from bio_end_io end I/O callback. It was a relic
Jens Axboe [Mon, 11 Feb 2002 13:38:30 +0000 (14:38 +0100)]
Remove nr_sectors from bio_end_io end I/O callback. It was a relic
from when completion was potentially called more than once to indicate
partial end I/O. These days bio->bi_end_io is _only_ called when I/O
has completed on the entire bio.

16 years ago[PATCH] (2.5.4) death of ->i_zombie
Alexander Viro [Mon, 11 Feb 2002 12:43:33 +0000 (04:43 -0800)]
[PATCH] (2.5.4) death of ->i_zombie

Rediffed to 2.5.4, documentation added.  This variant grabs
->s_vfs_rename_sem only for cross-directory renames.

16 years ago[PATCH] Optimized UP preempt fix
Robert Love [Mon, 11 Feb 2002 12:41:33 +0000 (04:41 -0800)]
[PATCH] Optimized UP preempt fix

I previously sent a patch by Mikael Pettersson to fix the UP+preempt
problem.  It seems from your BK repository you have not yet merged it;
if so, this patch takes a different approach which is optimal, removing
the unneeded conditional altogether in the UP case.  I have verified UP
and SMP are now correct.  Patch is against 2.5.4, please apply.

Robert Love