]> git.hungrycats.org Git - linux/log
linux
22 years agoMerge bk://bk.skbuff.net:20606 into nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Thu, 20 May 2004 01:16:00 +0000 (18:16 -0700)]
Merge bk://bk.skbuff.net:20606 into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[IPV6] ensure to evaluate the checksum for sockets with the IPV6_CHECKSUM option.
Hideaki Yoshifuji [Fri, 21 May 2004 03:41:07 +0000 (12:41 +0900)]
[IPV6] ensure to evaluate the checksum for sockets with the IPV6_CHECKSUM option.

22 years ago[IPV6] put appropriate checksum for rawv6 sockets even if it was not initialized.
Hideaki Yoshifuji [Fri, 21 May 2004 03:33:44 +0000 (12:33 +0900)]
[IPV6] put appropriate checksum for rawv6 sockets even if it was not initialized.

22 years ago[IPV6] unify csum_ipv6_magic() code path for rawv6 sockets.
Hideaki Yoshifuji [Fri, 21 May 2004 03:30:34 +0000 (12:30 +0900)]
[IPV6] unify csum_ipv6_magic() code path for rawv6 sockets.

22 years ago[IPV6] unify XXX_push_pending_frames() code path for rawv6 sockets.
Hideaki Yoshifuji [Fri, 21 May 2004 03:23:35 +0000 (12:23 +0900)]
[IPV6] unify XXX_push_pending_frames() code path for rawv6 sockets.

22 years ago[IPV6] handle return value from ip6_push_pending_frames().
Hideaki Yoshifuji [Fri, 21 May 2004 03:20:15 +0000 (12:20 +0900)]
[IPV6] handle return value from ip6_push_pending_frames().

22 years ago[IPV6]: Fix sock identity checking bug in tcp_ipv6_check_established.
Mark Huth [Wed, 19 May 2004 16:28:11 +0000 (09:28 -0700)]
[IPV6]: Fix sock identity checking bug in tcp_ipv6_check_established.

22 years ago[NETLINK]: Fix typo in netlink_unicast.
Peter Martuccelli [Wed, 19 May 2004 16:22:32 +0000 (09:22 -0700)]
[NETLINK]: Fix typo in netlink_unicast.

22 years ago[PATCH] mxser.c kernel-2.6.5
Vernon A. Fort [Wed, 19 May 2004 14:02:27 +0000 (07:02 -0700)]
[PATCH] mxser.c kernel-2.6.5

This adds support for the CP-104 Moxa Smartio serial cards.  Just add
the PCI ID information.

22 years ago[PATCH] ppc64: move kmem_bufctl_t inside #ifndef __ASSEMBLY__
Paul Mackerras [Wed, 19 May 2004 13:35:43 +0000 (06:35 -0700)]
[PATCH] ppc64: move kmem_bufctl_t inside #ifndef __ASSEMBLY__

When the kmem_bufctl_t typedef got added to include/asm-ppc64/types.h,
it got added outside the #ifndef __ASSEMBLY__ section, causing
assembler errors.  This patch, from David Gibson, moves it inside the
#ifndef __ASSEMBLY__ region.

22 years ago[PATCH] m68knommu: add newlines to debug trace in comempci.c
Greg Ungerer [Wed, 19 May 2004 13:15:25 +0000 (06:15 -0700)]
[PATCH] m68knommu: add newlines to debug trace in comempci.c

Add newlines to some printk debug trace of comempci.c driver.

22 years ago[PATCH] m68knommu: remove un-used libgcc symbols
Greg Ungerer [Wed, 19 May 2004 13:15:14 +0000 (06:15 -0700)]
[PATCH] m68knommu: remove un-used libgcc symbols

Remove a lot of un-used and un-needed libgcc funstions from export list
for m68knommu syms.

22 years ago[PATCH] m68knommu: correct build line for Dragonbakk frame buffer driver
Greg Ungerer [Wed, 19 May 2004 13:15:04 +0000 (06:15 -0700)]
[PATCH] m68knommu: correct build line for Dragonbakk frame buffer driver

Correct build lines for Motorola Dragonball 68x328 frame buffer driver.

Patch from Georges Menie <georges@menie.org>

22 years ago[PATCH] m68knommu: remove ColdFire specific atomic functions
Greg Ungerer [Wed, 19 May 2004 13:14:53 +0000 (06:14 -0700)]
[PATCH] m68knommu: remove ColdFire specific atomic functions

Remove ColdFire specific code sections for atomic_add and atomc_sub.

These are not needed, the m68k asm code for these functions is ColdFire
clean.

22 years ago[PATCH] m68knommu: un-define IO instructions when using smc driver
Greg Ungerer [Wed, 19 May 2004 13:14:42 +0000 (06:14 -0700)]
[PATCH] m68knommu: un-define IO instructions when using smc driver

We should un-define all the x86 style IO routines when redefining local
versions.

22 years ago[PATCH] m68knommu: add init points for Dragonball frame buffer driver
Greg Ungerer [Wed, 19 May 2004 13:14:31 +0000 (06:14 -0700)]
[PATCH] m68knommu: add init points for Dragonball frame buffer driver

Create init points for the Motorola Dragonball 68x328 frame
buffer driver.

Patch from Georges Menie <georges@menie.org>

22 years ago[PATCH] m68knommu: add find_next_bit() to bitops.h
Greg Ungerer [Wed, 19 May 2004 13:14:21 +0000 (06:14 -0700)]
[PATCH] m68knommu: add find_next_bit() to bitops.h

A couple of fixups for asm-m68knommu/bitops.h:

. re-order definition of fls(), to be outside __KERNEL__
. add code for find_next_bit()

22 years ago[PATCH] m68knommu: big clean/fix of Dragonball frame buffer driver
Greg Ungerer [Wed, 19 May 2004 13:14:10 +0000 (06:14 -0700)]
[PATCH] m68knommu: big clean/fix of Dragonball frame buffer driver

Big cleanup of the Motorola DragonBall 68x328 frame buffer.  It was
quite broken before.

Patch from Georges Menie <georges@menie.org>.

22 years ago[PATCH] m68knommu: fix cache flush for 5407 ColdFire CPU
Greg Ungerer [Wed, 19 May 2004 13:13:59 +0000 (06:13 -0700)]
[PATCH] m68knommu: fix cache flush for 5407 ColdFire CPU

Fix the cache flushing code for the ColdFire 5407 CPU.

The cpushl instruction arguments are wrong, causing it to miss some
cache lines.

22 years ago[PATCH] ucLinux: return 0 on success from do_munmap() for nommu version
Greg Ungerer [Wed, 19 May 2004 13:13:49 +0000 (06:13 -0700)]
[PATCH] ucLinux: return 0 on success from do_munmap() for nommu version

Added a nommu version of sysctl_max_map_count.

Fix return value from do_munmap(), it should return 0 on success not
EINVAL.

22 years ago[PATCH] raid locking fix.
Andrew Morton [Wed, 19 May 2004 13:10:35 +0000 (06:10 -0700)]
[PATCH] raid locking fix.

From: Neil Brown <neilb@cse.unsw.edu.au>

Fix bug #2661

Raid currently calls ->unplug_fn under spin_lock_irqsave(), but unplug_fns
can sleep.

After a morning of scratching my head and trying to come up with some that
does less locking, the following is the best I can come up with.  I'm not
proud of it but it should work.

If I move "nr_pending" out or rdev into the per-personality structures
(e.g.  mirror_info), and if I had "atomic_inc_if_nonzero" I could do with
without locking so much, but random atomic* functions don't seem trivial

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Wed, 19 May 2004 10:43:40 +0000 (03:43 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] fealnx smp bugfix
Arjan van de Ven [Wed, 19 May 2004 10:07:50 +0000 (06:07 -0400)]
[PATCH] fealnx smp bugfix

        spinlock_t *lp = &((struct netdev_private *)dev->priv)->lock;
doesn't mix with
spin_unlock_irqrestore(&lp, flags);

22 years ago[PATCH] s390 atomic_inc_and_test() fix
Andrew Morton [Wed, 19 May 2004 09:43:49 +0000 (02:43 -0700)]
[PATCH] s390 atomic_inc_and_test() fix

From: David Mosberger <davidm@napali.hpl.hp.com>

22 years ago[PATCH] sir_dev locking fix
Andrew Morton [Wed, 19 May 2004 09:42:48 +0000 (02:42 -0700)]
[PATCH] sir_dev locking fix

From: Martin Diehl <lists@mdiehl.de>

There was a spin_unlock missing in the raw mode tx-completion path.  Probably
it slipped through because the raw mode stuff is never reached with my Actisys
hardware.

22 years ago[PATCH] s390: network driver
Andrew Morton [Wed, 19 May 2004 09:42:37 +0000 (02:42 -0700)]
[PATCH] s390: network driver

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

Network driver changes:
 - iucv: Make grab_param function SMP safe.
 - lcs: Fix null-pointer dereference after unsuccessful set_online.
 - qeth: Fix kmalloc flags in qeth_alloc_reply.
 - qeth: Show broadcase capability also in route4/6 sysfs attributes.
 - qeth: Remove debug code.
 - qeth: Add option to qetharp user space interface to strip unused
         fields from query arp records.
 - qeth: Add shortcut in outbound path for HiperSockets.
 - qeth: Add more info to qeth_perf_stats.
 - qeth: Add support for direct SNMP interface to OSA express cards.

22 years ago[PATCH] s390: zfcp host adapater
Andrew Morton [Wed, 19 May 2004 09:42:26 +0000 (02:42 -0700)]
[PATCH] s390: zfcp host adapater

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

zfcp host adapter change:
 - Remove misplaced dot in error message.
 - Remove unused performance statistics code.

22 years ago[PATCH] s390: dasd driver
Andrew Morton [Wed, 19 May 2004 09:42:15 +0000 (02:42 -0700)]
[PATCH] s390: dasd driver

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

dasd device driver changes:
 - Reset pointer from ccw device to dasd_devmap on device removal.

22 years ago[PATCH] s390: core s390
Andrew Morton [Wed, 19 May 2004 09:42:05 +0000 (02:42 -0700)]
[PATCH] s390: core s390

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

s390 core changes:
 - Fix system call trace / audit interface.
 - Fix find_first_bit / find_next_bit inlines assembly constraints.

22 years ago[PATCH] use-before-uninitialized value in ext3(2)_find_ goal
Andrew Morton [Wed, 19 May 2004 09:41:54 +0000 (02:41 -0700)]
[PATCH] use-before-uninitialized value in ext3(2)_find_ goal

From: Mingming Cao <cmm@us.ibm.com>

There is a uninitialized goal value being referenced in both ext3 and ext2
find goal block functions (ext3_find_goal() and ext2_find_goal()).

In the non-sequential write case, these functions check the goal value(non
zero) before calling ext3(2)_find_near() to find the goal block to
allocate.

Since the goal value is uninitialized(non zero), the ext3(2)_find_near() is
never being called in the non-sequential write, thus ext3(2)_find_goal()
failed to guide a goal block in the random write case.

ext3(2)_new_block() takes the junk goal value and will turn it to goal 0
since it's normally beyond the filesystem block number limit.  The fix is
trivial.

22 years ago[PATCH] Fix overzealous use of online cpu iterators
Andrew Morton [Wed, 19 May 2004 09:41:43 +0000 (02:41 -0700)]
[PATCH] Fix overzealous use of online cpu iterators

From: Rusty Russell <rusty@rustcorp.com.au>

The IA64 hotplug CPU merge seems to have included some core changes: in
particular the recalc_bh_state() needs to sum for all (including offline)
cpus, since we don't empty the counters on CPU down.  The totals printed by
/proc/stat (the first loop) should include offline cpus, too (apparently
printing out the per-cpu lines for offline cpus confuses top).

22 years ago[PATCH] vga16fb-fix
Andrew Morton [Wed, 19 May 2004 09:41:33 +0000 (02:41 -0700)]
[PATCH] vga16fb-fix

The recent ARM-specific fix broke ia32.  Hopefully the ARM team can find an
arch-specific implementation of VGA_MAP_MEM() which makes it work.

22 years ago[PATCH] VFS cache sizing fix for small machines
Andrew Morton [Wed, 19 May 2004 09:41:22 +0000 (02:41 -0700)]
[PATCH] VFS cache sizing fix for small machines

From: Matt Mackall <mpm@selenic.com>

Doing the algebra:

c = (a - b) * 3/2
a' = a - c = a - 3/2(a - b) = (2a - 3a + 3b)/2 = (3b - a)/2
a' >= 0
3b - a >= 0
3b >= a
b >= a/3
nr_free_pages() >= mempages/3

We can indeed get into trouble if we try to load a large kernel on a very
small box (ie kernel reserves more than 2/3 of usable memory).  Surprisingly I
haven't hit this, but here's a fix.

22 years ago[PATCH] svc_recv() fix
Andrew Morton [Wed, 19 May 2004 09:41:11 +0000 (02:41 -0700)]
[PATCH] svc_recv() fix

From: "J. Bruce Fields" <bfields@fieldses.org>

svc_recv may call svc_sock_release before rqstp->rq_res is initialized.

22 years ago[PATCH] kNFSd: Add a warning when upcalls fail,
Andrew Morton [Wed, 19 May 2004 09:41:00 +0000 (02:41 -0700)]
[PATCH] kNFSd: Add a warning when upcalls fail,

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

To help the user diagnose problems caused by user-level daemons not running.

22 years ago[PATCH] kNFSd: Remove check on number of threads waiting on user-space.
Andrew Morton [Wed, 19 May 2004 09:40:49 +0000 (02:40 -0700)]
[PATCH] kNFSd: Remove check on number of threads waiting on user-space.

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

Currently we are counting the number of threads already asleep and returning
an immediate NFS4ERR_DELAY (==JUKEBOX) error if more than half are already
asleep.

This patch removes that logic, so instead we only return NFS4ERR_DELAY if an
upcall times out (if it takes more than a second to return).

With the thread counting there is the risk that even when all the relevant
subsystems are responsive, the client may still see occasional NFS4ERR_DELAY
returns just because, by coincidence, several upcalls were initiated at the
same time.  I expect clients will delay several seconds before retrying after
NFS4ERR_DELAY, so this will be quite noticeable to users.  Sporadic long
delays like this are likely to lead users to suspect a problem somewhere, when
in fact there is none.

The current scheme ensures that we can still process requests not depending on
upcalls, even when all threads would otherwise be tied up waiting on upcalls.
However, this is not something that should happen under normal circumstances;
if a server spends a significant portion of its time with all threads waiting
for upcalls, this a sign that something is seriously wrong.

In such a circumstance (e.g., an ldap server dies), we can, at least, bound
the waiting time to a second without the need for counting threads.

In short, removing the thread-counting will allow us to behave predictably
when things are working, while still allowing some progress when they don't.

It would be a worthwhile project to measure the amount of time threads spend
waiting for upcalls (or for reads, for that matter); if a significant portion
of the time they spend handling requests is spent sleeping, then there's an
opportunity to improve nfsd performance: if we can break the one-to-one
mapping between requests and threads, then we can lower the number of threads
required to keep the nfs server busy.

However, both the currently available options for doing this are problematic:
returning JUKEBOX/DELAY errors at random times will lead to unpredictable
performance, and saving a copy of the request to be processed from scratch
again later is wasteful and makes it difficult to provide correct semantics,
especially in the NFSv4 case.

So for now I believe waits with short timeouts are the best option.

22 years ago[PATCH] kNFSd: Reduce timeout when waiting for idmapper userspace daemon.
Andrew Morton [Wed, 19 May 2004 09:40:39 +0000 (02:40 -0700)]
[PATCH] kNFSd: Reduce timeout when waiting for idmapper userspace daemon.

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

1 second should be plenty of time; if we're going to take longer than that
it's probably better just to return NFS4ERR_DELAY and let the client retry
anyway.

22 years ago[PATCH] kNFSd: Improve idmapper behaviour on failure.
Andrew Morton [Wed, 19 May 2004 09:40:28 +0000 (02:40 -0700)]
[PATCH] kNFSd: Improve idmapper behaviour on failure.

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

Slightly better behavior on failed mapping (which may happen either because
idmapd is not running, or because there it has told us it doesn't know the
mapping.):

on name->id (setattr), return BADNAME.  (I used ESRCH to
communicate BADNAME, just because it was the first error in
include/asm-generic/errno-base.h that had something to
do with nonexistance of something, and that we weren't
already using.)

id->name (getattr), return a string representation of the numerical
id.  This is probably useless to the client, especially
since we're unlikely to accept such a string on a setattr,
but perhaps some client will find it mildly helpful.

22 years ago[PATCH] kNFSd: Fix race conditions in idmapper
Andrew Morton [Wed, 19 May 2004 09:40:17 +0000 (02:40 -0700)]
[PATCH] kNFSd: Fix race conditions in idmapper

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

Also fix leaks on error; split up code a bit to make it easier to verify
correctness.

22 years ago[PATCH] kNFSd: Protect reference to exp across calls to nfsd_cross_mnt
Andrew Morton [Wed, 19 May 2004 09:40:08 +0000 (02:40 -0700)]
[PATCH] kNFSd: Protect reference to exp across calls to nfsd_cross_mnt

From: NeilBrown <neilb@cse.unsw.edu.au>

nfsd_cross_mnt can release the reference to the passed svc_export structure
when it returns a different svc_export structure.  So we need to make sure we
have a counted reference before, and drop the reference afterwards.

22 years ago[PATCH] kNFSd: Change fh_compose to NOT consume a reference to the dentry.
Andrew Morton [Wed, 19 May 2004 09:39:57 +0000 (02:39 -0700)]
[PATCH] kNFSd: Change fh_compose to NOT consume a reference to the dentry.

From: NeilBrown <neilb@cse.unsw.edu.au>

fh_compose currently consumes a reference to the dentry but not the export
point.  This is both inconsistent and confusing.

It is better if a routine like this doesn't consume reference points, so with
this patch, it doesn't.  This fixes a couple of very subtle and unusual
reference counting errors.

22 years ago[PATCH] kNFSd: Allow larger writes to sunrpc/svc caches.
Andrew Morton [Wed, 19 May 2004 09:39:46 +0000 (02:39 -0700)]
[PATCH] kNFSd: Allow larger writes to sunrpc/svc caches.

From: NeilBrown <neilb@cse.unsw.edu.au>

We currently serialize all writes to these caches with queue_io_sem, so we
only needed one buffer.

There is some need for larger-than-one-page writes, so we can just statically
allocate a buffer.

22 years ago[PATCH] kNFSd: Make sure CACHE_NEGATIVE is cleared when a cache entry is updates.
Andrew Morton [Wed, 19 May 2004 09:39:35 +0000 (02:39 -0700)]
[PATCH] kNFSd: Make sure CACHE_NEGATIVE is cleared when a cache entry is updates.

From: NeilBrown <neilb@cse.unsw.edu.au>

This is important for update-in-place caches which may change from being
negative to posative.

Thanks to "J.  Bruce Fields" <bfields@fieldses.org> and Olaf Kirch
<okir@suse.de>

22 years ago[PATCH] kNFSd: Use correct _bh locking on sv_lock.
Andrew Morton [Wed, 19 May 2004 09:39:25 +0000 (02:39 -0700)]
[PATCH] kNFSd: Use correct _bh locking on sv_lock.

From: NeilBrown <neilb@cse.unsw.edu.au>

With the _bh, we can deadlock.

22 years ago[PATCH] initialise mca_bus_type even if !MCA_bus
Andrew Morton [Wed, 19 May 2004 09:39:14 +0000 (02:39 -0700)]
[PATCH] initialise mca_bus_type even if !MCA_bus

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

We need to call mca_system_init() to register MCA bus struct, otherwise
find_mca_adapter() oopses with a NULL ptr dereference.

Fixes this oops reported last week:
http://marc.theaimsgroup.com/?l=linux-kernel&m=108455738606747&w=2

Thanks to James Bottomley for pointing this out.

22 years ago[PATCH] drivers/cdrom/aztcd.c warning fix.
Andrew Morton [Wed, 19 May 2004 09:39:03 +0000 (02:39 -0700)]
[PATCH] drivers/cdrom/aztcd.c warning fix.

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

drivers/cdrom/azctd.c:379: warning: `pa_ok' defined but not used

22 years ago[PATCH] do_generic_mapping_read() cleanup
Andrew Morton [Wed, 19 May 2004 09:38:53 +0000 (02:38 -0700)]
[PATCH] do_generic_mapping_read() cleanup

We just tested the page's uptodateness, no point in doing it again.

22 years ago[PATCH] efivars: add MODULE_VERSION, remove unnecessary check in exit
Andrew Morton [Wed, 19 May 2004 09:38:42 +0000 (02:38 -0700)]
[PATCH] efivars: add MODULE_VERSION, remove unnecessary check in exit

From: Matt Domsch <Matt_Domsch@dell.com>

* Adds MODULE_VERSION

* Remove check for efi_enabled in efivars_exit() - we aborted module load at
  init based on this already.

22 years ago[PATCH] EDD: remove unused SCSI header files
Andrew Morton [Wed, 19 May 2004 09:38:32 +0000 (02:38 -0700)]
[PATCH] EDD: remove unused SCSI header files

From: Matt Domsch <Matt_Domsch@dell.com>

EDD: Remove no longer needed SCSI header file inclusion.

Thanks to ArjanV for reminding me.

22 years ago[PATCH] SubmittingDrivers completeness
Andrew Morton [Wed, 19 May 2004 09:38:21 +0000 (02:38 -0700)]
[PATCH] SubmittingDrivers completeness

From: Jonathan Corbet <corbet@lwn.net>

I noticed a patch went in to Documentation/SubmittingDrivers which tweaked
the URL for KernelTraffic.  Here's a self-serving patch which makes that
section more complete; to be fair, I added two other sites too.  Just in
case it's useful.

22 years ago[PATCH] Quota fix 3 - quota file corruption
Andrew Morton [Wed, 19 May 2004 09:38:10 +0000 (02:38 -0700)]
[PATCH] Quota fix 3 - quota file corruption

From: Jan Kara <jack@ucw.cz>

This patch fixes possible quota files corruption which could happen when root
did not have any inodes&space allocated.

Originally this could not happen as structure would not be written to disk in
that case but with journalled quota we need to write even all-zero structure.
The fix is not very nice but change of the format on disk is probably worse (I
made a mistake with not including the usage-bitmaps into format :().

22 years ago[PATCH] SELinux: fix error handling in selinuxfs
Andrew Morton [Wed, 19 May 2004 09:37:59 +0000 (02:37 -0700)]
[PATCH] SELinux: fix error handling in selinuxfs

From: Stephen Smalley <sds@epoch.ncsc.mil>

This patch against 2.6.6 fixes error handling for two out-of-memory conditions
in selinuxfs, avoiding potential deadlock due to returning without releasing a
semaphore.  The patch was submitted by Karl MacMillan of Tresys.

22 years ago[PATCH] correct ps2esdi module parm name
Andrew Morton [Wed, 19 May 2004 09:37:49 +0000 (02:37 -0700)]
[PATCH] correct ps2esdi module parm name

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

The module parameter name is incorrect (looks like a thinko).

22 years ago[PATCH] Subject: [PATCH] kbuild SUBDIRS="more/ than/ one/"
Andrew Morton [Wed, 19 May 2004 09:37:38 +0000 (02:37 -0700)]
[PATCH] Subject: [PATCH] kbuild SUBDIRS="more/ than/ one/"

From: Andreas Gruenbacher <agruen@suse.de>

Here is a patch that re-adds support for more than one directory in SUBDIRS.
We have a number of packages that use this.

The FORCE dependency of crmodverdir seems unnecessary; removing.

(acked by Sam)

22 years ago[PATCH] mark the `planb' video driver broken
Andrew Morton [Wed, 19 May 2004 09:37:28 +0000 (02:37 -0700)]
[PATCH] mark the `planb' video driver broken

From: Christoph Hellwig <hch@lst.de>

This one is missing updates from the v4l1 interfaces in 2.4 to the 2.6ish
v4l2 and thus doesn't compile.  While we're at it also remove the
MOD_{INC,DEC}_USE_COUNT calls in it that were bogus even in 2.4 to avoid
false positives in grep.

22 years ago[PATCH] don't mention MOD_INC_USE_COUNT/MOD_DEC_USE_COUNT in docs
Andrew Morton [Wed, 19 May 2004 09:37:17 +0000 (02:37 -0700)]
[PATCH] don't mention MOD_INC_USE_COUNT/MOD_DEC_USE_COUNT in docs

From: Christoph Hellwig <hch@lst.de>

If we want new drivers to not use obsolete interfaces we're better off not
mentioning it in the documentation.

22 years ago[PATCH] replace MOD_INC_USE_COUNT in cyber2000fb
Andrew Morton [Wed, 19 May 2004 09:37:06 +0000 (02:37 -0700)]
[PATCH] replace MOD_INC_USE_COUNT in cyber2000fb

From: Christoph Hellwig <hch@lst.de>

This driver is unloadable for the pci case, but not if vlb cards are found so
we can't use the module_exit removal to lock it into memory.

Replace the MOD_INC_USE_COUNT with __module_get in it's module_init routine.

22 years ago[PATCH] Remove blk_run_queues() remnants
Andrew Morton [Wed, 19 May 2004 09:36:55 +0000 (02:36 -0700)]
[PATCH] Remove blk_run_queues() remnants

It no longer exists.

22 years ago[PATCH] fore200e.c warning fix
Andrew Morton [Wed, 19 May 2004 09:36:45 +0000 (02:36 -0700)]
[PATCH] fore200e.c warning fix

drivers/atm/fore200e.c: In function `fore200e_close':
drivers/atm/fore200e.c:1659: warning: use of cast expressions as lvalues is deprecated

22 years ago[PATCH] reserve syscall slots for kexec
Andrew Morton [Wed, 19 May 2004 09:36:34 +0000 (02:36 -0700)]
[PATCH] reserve syscall slots for kexec

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

kexec is a fairly major and popular feature.  People are shipping it in
products, although it is not known if Linux distributors plan to ship it.

The patch reserves the kexec syscall slots to pin the ABI down for
everyone.

- add kexec_load prototype to syscalls.h

- add LINUX_REBOOT_CMD_KEXEC to reboot.h

- add kexec_load syscall for ia32, ia64, x86_64, ppc32, ppc64

22 years ago[PATCH] Fix for Makefiles to get KBUILD_OUTPUT working
Andrew Morton [Wed, 19 May 2004 09:36:23 +0000 (02:36 -0700)]
[PATCH] Fix for Makefiles to get KBUILD_OUTPUT working

From: Mathieu Chouquet-Stringer <mchouque@online.fr>

If you use O=/someotherdir or KBUILD_OUTPUT=/someotherdir on the following
architectures: alpha, mips, sh and cris, the build process is probably
going to fail at one point or another, depending on the target you used,
because make can't find scripts/Makefile.build or scripts/Makefile.clean.

The following patch fixes this, I greped the whole tree and these four were
the only "offenders" I found.

22 years ago[PATCH] BeFS MAINTAINERS update
Andrew Morton [Wed, 19 May 2004 09:36:12 +0000 (02:36 -0700)]
[PATCH] BeFS MAINTAINERS update

From: "Sergey S. Kostyliov" <rathamahata@php4.ru>

22 years ago[PATCH] Work around gcc 3.3.3-hammer sched miscompilation on x86-64
Andrew Morton [Wed, 19 May 2004 09:36:00 +0000 (02:36 -0700)]
[PATCH] Work around gcc 3.3.3-hammer sched miscompilation on x86-64

From: Andi Kleen <ak@muc.de>

The new domain scheduler got miscompiled on x86-64 with gcc 3.3.3-hammer,
which is shipping with some distributions.  The kernel deadlocks eventually
under light stress on SMP systems with the right options.

After some experiments it seems this simple change avoids the
miscompilation.  It also doesn't pessimize the code unduly for other
architectures.

22 years ago[PATCH] slab: add kmem_cache_alloc_node
Andrew Morton [Wed, 19 May 2004 09:35:49 +0000 (02:35 -0700)]
[PATCH] slab: add kmem_cache_alloc_node

From: Manfred Spraul <manfred@colorfullife.com>

The attached patch adds a simple kmem_cache_alloc_node function: allocate
memory on a given node.  The function is intended for cpu bound structures.
 It's used for alloc_percpu and for the slab-internal per-cpu structures.
Jack Steiner reported a ~3% performance increase for AIM7 on a 64-way
Itanium 2.

Port maintainers: The patch could cause problems if CPU_UP_PREPARE is
called for a cpu on a node before the corresponding memory is attached
and/or if alloc_pages_node doesn't fall back to memory from another node if
there is no memory in the requested node.  I think noone does that, but I'm
not sure.

22 years ago[PATCH] slab: allow arch override for kmem_bufctl_t
Andrew Morton [Wed, 19 May 2004 09:35:39 +0000 (02:35 -0700)]
[PATCH] slab: allow arch override for kmem_bufctl_t

From: Manfred Spraul <manfred@colorfullife.com>

The slab allocator keeps track of the free objects in a slab with a linked
list of integers (typedef'ed to kmem_bufctl_t).  Right now unsigned int is
used for kmem_bufctl_t, i.e.  4 bytes per-object overhead.

The attached patch implements a per-arch definition of for this type:
Theoretically, unsigned short is sufficient for kmem_bufctl_t and this would
reduce the per-object overhead to 2 bytes.  But some archs cannot operate on
16-bit values efficiently, thus it's not possible to switch everyone to
ushort.

The chosen types are a result of dicussions with the various arch maintainers.

22 years ago[PATCH] slab: enable runtime cache line size on i386
Andrew Morton [Wed, 19 May 2004 09:35:27 +0000 (02:35 -0700)]
[PATCH] slab: enable runtime cache line size on i386

From: Manfred Spraul <manfred@colorfullife.com>

the attached patch switches the SLAB_HWCACHE_ALIGN alignment from the
compile time L1 cache line size to the runtime detected value for i386.
x86-64 already uses the runtime detection.

22 years ago[PATCH] Fix arithmetic in shrink_zone()
Andrew Morton [Wed, 19 May 2004 09:35:17 +0000 (02:35 -0700)]
[PATCH] Fix arithmetic in shrink_zone()

From: Nick Piggin <nickpiggin@yahoo.com.au>

If the zone has a very small number of inactive pages, local variable
`ratio' can be huge and we do way too much scanning.  So much so that Ingo
hit an NMI watchdog expiry, although that was because the zone would have a
had a single refcount-zero page in it, and that logic recently got fixed up
via get_page_testone().

Nick's patch simply puts a sane-looking upper bound on the number of pages
which we'll scan in this round.

It fixes another failure case: if the inactive list becomes very small
compared to the size of the active list, active list scanning (and therefore
inactive list refilling) also becomes small.

This patch causes inactive list scanning to be keyed off the size of the
active+inactive lists.  It has the plus of hiding active and inactive
balancing implementation from the higher level scanning code.  It will
slightly change other aspects of scanning behaviour, but probably not
significantly.

22 years ago[PATCH] dentry size tuning
Andrew Morton [Wed, 19 May 2004 09:35:06 +0000 (02:35 -0700)]
[PATCH] dentry size tuning

Experimenting with various values of DENTRY_STORAGE

 dentry size      objs/slab   dentry size * objs/slab    inline string

   148               26               3848                   32
   152               26               3952                   36
   156               25               3900                   40
   160               24               4000                   44

We're currently at 160.  The patch fairly arbitrarily takes it down to 152, so
we can fit a 35-char name into the inline part of the dentry.

Also, go back to the old way of sizing d_iname so that any arch-specific
compiler-forced alignemnts are honoured.

22 years ago[PATCH] Fix madvise length checking
Andrew Morton [Wed, 19 May 2004 09:34:55 +0000 (02:34 -0700)]
[PATCH] Fix madvise length checking

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

When the user passed madvise a length of -1 through -4095, madvise blindly
rounds this up to 0 then "succeeds".

22 years ago[PATCH] Remove hardcoded offsets from i386 asm
Andrew Morton [Wed, 19 May 2004 09:34:45 +0000 (02:34 -0700)]
[PATCH] Remove hardcoded offsets from i386 asm

From: Brian Gerst <bgerst@didntduck.org>

Generate offsets for thread_info, cpuinfo_x86, and a few others instead of
hardcoding them.

22 years ago[PATCH] fix radio-cadet `readq' namespace clash
Andrew Morton [Wed, 19 May 2004 09:34:34 +0000 (02:34 -0700)]
[PATCH] fix radio-cadet `readq' namespace clash

It conflicts with the readq() I/O function.

22 years ago[PATCH] security: add disable param to capabilities module
Andrew Morton [Wed, 19 May 2004 09:34:23 +0000 (02:34 -0700)]
[PATCH] security: add disable param to capabilities module

From: Chris Wright <chrisw@osdl.org>

Add disable param to capabilities module.  Similar to the SELinux param for
disabling at boot time.  This allows vendors to ship single binary image with
capabilities compiled statically, and disable it if they provide another
security model compiled as module.

22 years ago[PATCH] speed up readahead for seeky loads
Andrew Morton [Wed, 19 May 2004 09:34:12 +0000 (02:34 -0700)]
[PATCH] speed up readahead for seeky loads

From: Ram Pai <linuxram@us.ibm.com>

Currently the readahead code tends to read one more page than it should with
seeky database-style loads.  This was to prevent bogus readahead triggering
when we step into the last page of the current window.

The patch removes that workaround and fixes up the suboptimal logic instead.

wrt the "rounding errors" mentioned in this patch, Ram provided the following
description:

  Say the i/o size is 20 pages.

  Our algorithm starts by a initial average i/o size of 'ra_pages/2' which
  is mostly say 16.

  Now every time we take a average, the 'average' progresses as follows
  (16+20)/2=18
  (18+20)/2=19
  (19+20)/2=19
  (19+20)/2=19.....
  and the rounding error makes it never touch 20

Benchmarking sitrep:

IOZONE

run on a nfs mounted filesystem:
client machine 2proc, 733MHz, 2GB memory
server machine 8proc, 700Mhz, 8GB memory

./iozone -c -t1 -s 4096m -r 128k

22 years ago[PATCH] dpt_i2o warning fixes
Andrew Morton [Wed, 19 May 2004 09:34:02 +0000 (02:34 -0700)]
[PATCH] dpt_i2o warning fixes

drivers/scsi/dpt_i2o.c: In function `adpt_queue':
drivers/scsi/dpt_i2o.c:442: warning: use of cast expressions as lvalues is deprecated
drivers/scsi/dpt_i2o.c: In function `adpt_scsi_register':
drivers/scsi/dpt_i2o.c:2213: warning: use of cast expressions as lvalues is deprecated

22 years ago[PATCH] Mark CONFIG_MAC_SERIAL (drivers/macintosh/macserial.c) as broken
Andrew Morton [Wed, 19 May 2004 09:33:51 +0000 (02:33 -0700)]
[PATCH] Mark CONFIG_MAC_SERIAL (drivers/macintosh/macserial.c) as broken

From: Arthur Othieno <a.othieno@bluewin.ch>

CONFIG_MAC_SERIAL (drivers/macintosh/macserial.c) is marked obsolete and
currently doesn't build.

benh says: "I though build got fixed recently ...  well, anyway, the driver is
indeed obsolete, there's a new one in drivers/serial now."

22 years ago[PATCH] PPC32: Minor OCP cleanups
Andrew Morton [Wed, 19 May 2004 09:33:40 +0000 (02:33 -0700)]
[PATCH] PPC32: Minor OCP cleanups

From: Matt Porter <mporter@kernel.crashing.org>

Fixes a warning and a printk format in OCP.

22 years ago[PATCH] PPC64 iSeries virtual ethernet locking fix
Andrew Morton [Wed, 19 May 2004 09:33:30 +0000 (02:33 -0700)]
[PATCH] PPC64 iSeries virtual ethernet locking fix

From: Olaf Hering <olh@suse.de>

Missing spin_unlock in the error path.

22 years ago[PATCH] PPC64: iSeries virtual ethernet transmit errors
Andrew Morton [Wed, 19 May 2004 09:33:19 +0000 (02:33 -0700)]
[PATCH] PPC64: iSeries virtual ethernet transmit errors

From: Stephen Rothwell <sfr@au1.ibm.com>

This patch stops the iseries_veth driver trying to send every packet to too
many logical partitions.  Consequently, the number of transmit errors falls to
(about) zero from a very large number.  This should also improve performance a
bit as the driver is no longer doing 31 extra skb_clone()s and skb_free()s for
each packet.

22 years ago[PATCH] PPC32: Get full register set on bad kernel accesses
Andrew Morton [Wed, 19 May 2004 09:33:08 +0000 (02:33 -0700)]
[PATCH] PPC32: Get full register set on bad kernel accesses

From: Paul Mackerras <paulus@samba.org>

At present on ppc32, if the kernel accesses a bad address and causes an
oops, or drops into the xmon debugger, we only have the contents of the
volatile registers available to print.  The reason is that we only save the
volatile registers on entry for a page fault.

This patch restructures the code a bit so that if do_page_fault()
determines that the page fault is caused by a bad kernel access, it returns
to the caller, which then saves the full register set into the exception
frame before calling bad_page_fault().  This way we get the full set of
registers printed in the oops message.

22 years ago[PATCH] put module license in swim3.c
Andrew Morton [Wed, 19 May 2004 09:32:57 +0000 (02:32 -0700)]
[PATCH] put module license in swim3.c

From: Paul Mackerras <paulus@samba.org>

This patch adds module tags for the swim3 (macintosh floppy) driver.

22 years ago[PATCH] blk_run_page() race fix
Andrew Morton [Wed, 19 May 2004 09:32:47 +0000 (02:32 -0700)]
[PATCH] blk_run_page() race fix

blk_run_page() is incorrectly using page->mapping, which makes it racy against
removal from swapcache.

Make block_sync_page() use page_mapping(), and remove bkl_run_page(), which
only had one caller.

22 years ago[PATCH] system_state splitup
Andrew Morton [Wed, 19 May 2004 09:32:36 +0000 (02:32 -0700)]
[PATCH] system_state splitup

Split the system_state state `SYSTEM_SHUTDOWN' into SYSTEM_HALT,
SYSTEM_POWER_OFF and SYSTEM_RESTART and export system_state to modules.

This allows driver shutdown routines to know why they are being shutdown.  The
IDE subsystem wants this so that it knows to not spin the disks down across a
reboot.

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Wed, 19 May 2004 02:41:52 +0000 (19:41 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] alpha fp-emu vs module refcounting
Richard Henderson [Wed, 19 May 2004 02:36:53 +0000 (19:36 -0700)]
[PATCH] alpha fp-emu vs module refcounting

From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>

This allows building the math-emu code as a module only when
CONFIG_SMP is not set. The fp trap handler cannot be preempted
on a single-CPU (as CONFIG_PREEMPT is not going to be supported
on alpha), so the module can be safely unloaded at any time.

22 years agoShorten some PCI device names
Linus Torvalds [Wed, 19 May 2004 01:39:10 +0000 (18:39 -0700)]
Shorten some PCI device names

Avoid warnings about truncating them when building the
name database.

22 years agoFixed mismerge of cpufreq and pcmcia updates
Linus Torvalds [Wed, 19 May 2004 01:03:11 +0000 (18:03 -0700)]
Fixed mismerge of cpufreq and pcmcia updates

22 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Wed, 19 May 2004 00:56:17 +0000 (17:56 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge
Linus Torvalds [Wed, 19 May 2004 00:54:10 +0000 (17:54 -0700)]
Merge

22 years ago[PATCH] ide.c: use less stack in ide_unregister()
Bartlomiej Zolnierkiewicz [Wed, 19 May 2004 00:42:01 +0000 (17:42 -0700)]
[PATCH] ide.c: use less stack in ide_unregister()

From: Chris Wedgwood <cw@f00f.org>

Seperate function, cruft removed and old_hwif
renamed to something less confusing.

22 years ago[PATCH] H8/300 IDE support update
Bartlomiej Zolnierkiewicz [Wed, 19 May 2004 00:41:51 +0000 (17:41 -0700)]
[PATCH] H8/300 IDE support update

From: Yoshinori Sato <ysato@users.sourceforge.jp>

With minor fixes from me

22 years ago[PATCH] Fix reiserfs inode size update race
Chris Mason [Wed, 19 May 2004 00:18:07 +0000 (17:18 -0700)]
[PATCH] Fix reiserfs inode size update race

reiserfs_file_write unlocks the pages it operated on before updating
i_size.  This can lead to races with writepage, who checks i_size when
deciding how much of the file to zero out.

This patch also replaces SetPageReferenced with mark_page_accessed() in
reiserfs_file_write

This was verified to fix the BitKeeper data corruption problems that
Steven Cole has been debugging, where concurrent writes to a file and
writebacks to disk would cause zeroes in the file when CONFIG_PREEMPT
was enabled.

22 years ago[PATCH] ARM/ARM26 IDE cleanups
Bartlomiej Zolnierkiewicz [Wed, 19 May 2004 00:14:44 +0000 (17:14 -0700)]
[PATCH] ARM/ARM26 IDE cleanups

- clear hwif->hw in setup-pci.c before using it

- fix arch/arm/Kconfig to allow IDE only on platforms supporting it

- introduce IDE_ARCH_OBSOLETE_INIT and ide_default_io_ctl() so
  we can use generic ide_init_hwif_ports() and kill no longer needed
  <asm-arm/arch-*/ide.h> (leave broken lh7a40x and sa1100 versions)

Cross-compile tested on ARM.

22 years ago[PATCH] add default ARM/ARM26 IDE host driver
Bartlomiej Zolnierkiewicz [Wed, 19 May 2004 00:14:31 +0000 (17:14 -0700)]
[PATCH] add default ARM/ARM26 IDE host driver

Add drivers/ide/arm/ide_arm.c for simple default IDE interfaces
and clean obsolete ide_init_default_hwifs() implementations
in asm-arm/arch-{cl7500,rpc,shark}/ide.h and asm-arm26/ide.h.

This allows us to kill ide_init_default_hwifs() completely
in the next patch (because lh7a40x and sa1100 are broken).

Cross-compile tested on ARM.

22 years ago[PATCH] e100: netdev->priv to netdev_priv()
Scott Feldman [Tue, 18 May 2004 16:40:13 +0000 (12:40 -0400)]
[PATCH] e100: netdev->priv to netdev_priv()

* Convert all netdev->priv references to the fancy new netdev_priv().

22 years ago[PATCH] e100: big-endian fix for ethtool -e/E
Scott Feldman [Tue, 18 May 2004 16:40:05 +0000 (12:40 -0400)]
[PATCH] e100: big-endian fix for ethtool -e/E

* Reads/writes from/to eeprom using ethtool weren't working right
  on big-endian.  Now they are.

22 years ago[PATCH] e100: fix for incoherent arches
Scott Feldman [Tue, 18 May 2004 16:39:57 +0000 (12:39 -0400)]
[PATCH] e100: fix for incoherent arches

* Changed mapping on Rx skb to bi-directional.  skb->data holds both the
  RFD structure and the packet data, and the RFD is read/written by
  HW.  Issue found on Xscale HW that doesn't handle cache syncs auto-
  matically.  Other changes in patch are whitespace/spelling.

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
Linus Torvalds [Tue, 18 May 2004 15:39:33 +0000 (08:39 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agodo not recurse into the filesystem allocating sk buffs
Steve French [Tue, 18 May 2004 15:37:06 +0000 (10:37 -0500)]
do not recurse into the filesystem allocating sk buffs

22 years agoMerge bk://kernel.bkbits.net/davem/tg3-2.6
Linus Torvalds [Tue, 18 May 2004 15:30:07 +0000 (08:30 -0700)]
Merge bk://kernel.bkbits.net/davem/tg3-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Tue, 18 May 2004 15:24:29 +0000 (08:24 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux