]> git.hungrycats.org Git - linux/log
linux
23 years ago[PATCH] Fix typo in scripts/postmod.c
Andrew Morton [Sun, 21 Sep 2003 08:41:13 +0000 (01:41 -0700)]
[PATCH] Fix typo in scripts/postmod.c

From: Kristian Hogsberg <krh@bitplanet.net>

There's a small typo in scripts/postmod.c

23 years ago[PATCH] Update Documentation/block/biodoc.txt
Andrew Morton [Sun, 21 Sep 2003 08:41:06 +0000 (01:41 -0700)]
[PATCH] Update Documentation/block/biodoc.txt

From: Nick Piggin <piggin@cyberone.com.au>

This brings biodoc.txt a bit more up to date with recent elevator changes.

23 years ago[PATCH] access_ok is likely
Andrew Morton [Sun, 21 Sep 2003 08:40:58 +0000 (01:40 -0700)]
[PATCH] access_ok is likely

From Manfred

While trying to figure out why sysv msg is around 30% slower than pipes for
data transfers I noticed that gcc's autodetection (3.2.2) guesses the
"if(access_ok())" tests in uaccess.h wrong and puts the error memset into the
direct path and the copy out of line.

So tell the compiler that access_ok() is likely to be true.

23 years ago[PATCH] remove /proc/config_build_info
Andrew Morton [Sun, 21 Sep 2003 08:40:51 +0000 (01:40 -0700)]
[PATCH] remove /proc/config_build_info

From: Zwane Mwaikambo <zwane@linuxpower.ca>

The same info is already available in /proc/version.

23 years ago[PATCH] floppy cleanup timers/resources on unload
Andrew Morton [Sun, 21 Sep 2003 08:40:42 +0000 (01:40 -0700)]
[PATCH] floppy cleanup timers/resources on unload

From: Zwane Mwaikambo <zwane@linuxpower.ca>

The floppy driver currently can leave pending timers after unloading
itself.

This bug has a corresponding bugzilla entry at;

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

23 years ago[PATCH] wanXL serial card driver
Andrew Morton [Sun, 21 Sep 2003 08:40:35 +0000 (01:40 -0700)]
[PATCH] wanXL serial card driver

From: Krzysztof Halasa <khc@pm.waw.pl>

This is a driver for SBE Inc.  wanXL 4-port sync serial card, second
version.

23 years ago[PATCH] Summit sub-arch: Make logical IDs independent of BIOS numbering scheme
Andrew Morton [Sun, 21 Sep 2003 08:40:26 +0000 (01:40 -0700)]
[PATCH] Summit sub-arch: Make logical IDs independent of BIOS numbering scheme

From: James Cleverdon <jamesclv@us.ibm.com>

In forthcoming IBM x445 systems, the physical APIC ID will not follow the
simple rule laid out by Intel and encoded into xapic_phys_to_log_apicid.
(The BIOS code that sets IDs doesn't work right above 16 CPUs if HT is turned
on, so for > 16-way the BIOS will disable HT and repack the physical CPUs
into APIC clusters.)

Anyway, it's a good idea to make the APIC code more independent of any
particular BIOS numbering scheme.  This patch allocates logical IDs based on
how many CPUs have already been onlined in a particular APIC cluster.

23 years ago[PATCH] ens1370 PCI driver naming fix
Andrew Morton [Sun, 21 Sep 2003 08:40:18 +0000 (01:40 -0700)]
[PATCH] ens1370 PCI driver naming fix

From: Patrick Mochel <mochel@osdl.org>

Two drivers are #including the same .c file.  Use them both and we get a
sysfs naming clash.

23 years ago[PATCH] fix incorrect argv[0] for init
Andrew Morton [Sun, 21 Sep 2003 08:40:10 +0000 (01:40 -0700)]
[PATCH] fix incorrect argv[0] for init

From: Erik Andersen <andersen@codepoet.org>

When someone specifies "init=" to select an alternative binary to run
instead of /sbin/init, argv[0] is not set correctly.  This is a problem for
programs such as busybox that multiplex applications based on the value of
argv[0].  For example, even if you specify init=/bin/sh" on the kernel
command line, busybox will still receive "/sbin/init" as argv[0] and will
therefore run init rather than /bin/sh...

23 years ago[PATCH] file locking memory leak
Andrew Morton [Sun, 21 Sep 2003 08:40:01 +0000 (01:40 -0700)]
[PATCH] file locking memory leak

From: Matthew Wilcox <willy@debian.org>

This patch fixes a memory leak in the file locking code.  Each attempt to
unlock a file would result in the leak of a file lock.  Many thanks to
Martin Josefsson for providing the testcase which enabled me to figure out
the problem.

23 years ago[PATCH] istallion: use schedule_work
Andrew Morton [Sun, 21 Sep 2003 08:39:53 +0000 (01:39 -0700)]
[PATCH] istallion: use schedule_work

From: "Krishnakumar. R" <krishnakumar@naturesoft.net>

A missing schedule_task -> schedule_work conversion.

23 years ago[PATCH] remove duplicate SOUND_RME96XX option
Andrew Morton [Sun, 21 Sep 2003 08:39:45 +0000 (01:39 -0700)]
[PATCH] remove duplicate SOUND_RME96XX option

From: Adrian Bunk <bunk@fs.tum.de>

sound/oss/Kconfig in 2.6.0-test5 includes two SOUND_RME96XX entries.

23 years ago[PATCH] reiserfs: add checks from 2.4 into 2.5
Andrew Morton [Sun, 21 Sep 2003 08:39:37 +0000 (01:39 -0700)]
[PATCH] reiserfs: add checks from 2.4 into 2.5

From: Oleg Drokin <green@namesys.com>

This patch adds more consistency checks to reiserfs (check that transaction
is not bigger than journal, check that we reply blocks not beyond fs and
check that fs fits the block device).  Similar patch was included into 2.4
some time ago.

23 years ago[PATCH] misc fixes
Andrew Morton [Sun, 21 Sep 2003 08:39:28 +0000 (01:39 -0700)]
[PATCH] misc fixes

- Remove dead declaration from elevator.h (Nick Piggin)

- Fix the scheduler selection boot-time message.  "Using anticipatory
  scheduling io scheduler" is not grammatical.

- Remove last use of __SMP__ (Randy Dunlap)

23 years ago[PATCH] allow x86 NUMA architecture detection to fail
Andrew Morton [Sun, 21 Sep 2003 08:39:20 +0000 (01:39 -0700)]
[PATCH] allow x86 NUMA architecture detection to fail

From: Dave Hansen <haveblue@us.ibm.com>

As described in this bug: http://bugme.osdl.org/show_bug.cgi?id=653 , if
you enable Summit support and NUMA Discontigmem support but boot on a
non-Summit box, the kernel will fail to boot.  The problem is that the
Summit code can not correctly get the NUMA memory configuration of a
flat box.  The code to do that is in get_memcfg_numa_flat(), but it
never gets called.

This patch implements a fallback to the generic NUMA code in
get_memcfg_numa_flat() if the Summit detection fails.  The patch also
adds the necessary bits to the Summit code so that it *knows* when it
fails.

23 years ago[PATCH] any_online_cpu fix
Andrew Morton [Sun, 21 Sep 2003 08:39:11 +0000 (01:39 -0700)]
[PATCH] any_online_cpu fix

From: William Lee Irwin III <wli@holomorphy.com>

any_online_cpu() is required to and with cpu_online_map before
attempting to find an online cpu somewhere in the map; this patch adds
that logic to the implementation(s) of any_online_cpu().

23 years ago[PATCH] mwave char/Kconfig fix
Andrew Morton [Sun, 21 Sep 2003 08:39:04 +0000 (01:39 -0700)]
[PATCH] mwave char/Kconfig fix

From: Angus Sawyer <angus.sawyer@dsl.pipex.com>

The mwave driver requires [un]register_char from 8250.c
Make sure 8250.c gets compilied.

23 years ago[PATCH] AGP warning fix
Andrew Morton [Sun, 21 Sep 2003 08:38:55 +0000 (01:38 -0700)]
[PATCH] AGP warning fix

agp_setup() is unreferenced if it's a module.

23 years ago[PATCH] Remove Documentation/smp.tex
Andrew Morton [Sun, 21 Sep 2003 08:38:47 +0000 (01:38 -0700)]
[PATCH] Remove Documentation/smp.tex

Hopelessly out of date

23 years ago[PATCH] Move slab objects to the end of the real allocation
Andrew Morton [Sun, 21 Sep 2003 08:38:38 +0000 (01:38 -0700)]
[PATCH] Move slab objects to the end of the real allocation

From: Manfred Spraul <manfred@colorfullife.com>

The real memory allocation is usually larger than the actual object size:
either due to L1 cache line padding, or due to page padding with
CONFIG_DEBUG_PAGEALLOC.  Right now objects are placed to the beginning of
the real allocation, but to trigger bugs it's better to move objects to the
end of the real allocation: that way accesses behind the end of the
allocation have a larger chance of hitting the (unmapped) next page.  The
attached patch moves the objects to align them with the end of the real
allocation.

Actually it contains 4 seperate changes:

- Do not page-pad allocations that are <= SMP_CACHE_LINE_SIZE.  This
  crashes.  Right now the limit is hardcoded to 128 bytes, but sooner or
  later an arch will appear with 256 byte cache lines.

- cleanup: redzone bytes are not accessed with inline helper functions,
  instead of magic offsets scattered throughout slab.c

- main change: move objects to the end of the allocation - trivial after
  the cleanup.

- Print old redzone value if a redzone mismatch happens: This makes it
  simpler to figure out what happened [single bit error, wrong redzone
  code, overwritten]

23 years ago[PATCH] might_sleep diagnostics
Andrew Morton [Sun, 21 Sep 2003 08:38:31 +0000 (01:38 -0700)]
[PATCH] might_sleep diagnostics

might_sleep() can be triggered by either local interrupts being disabled or
by elevated preempt count.  Disambiguate them.

23 years ago[PATCH] CPU scheduler interactivity changes
Andrew Morton [Sun, 21 Sep 2003 08:38:24 +0000 (01:38 -0700)]
[PATCH] CPU scheduler interactivity changes

From: Con Kolivas <kernel@kolivas.org>

Interactivity scheduler tweaks on top of Ingo's A3 interactivity patch.

Interactive credit added to task struct to find truly interactive tasks and
treat them differently.

Extra #defines included as helpers for conversion to/from nanosecond timing,
to work out an average timeslice for nice 0 tasks, and the effective dynamic
priority bonuses that will be given to tasks.

MAX_SLEEP_AVG modified to change dynamic priority by one for a nice 0 task
sleeping or running for one full timeslice.

CREDIT_LIMIT is the number of times a task earns sleep_avg over MAX_SLEEP_AVG
before it is considered HIGH_CREDIT (truly interactive); and -CREDIT_LIMIT is
LOW_CREDIT

TIMESLICE GRANULARITY is modified to be more frequent for more
interactivetasks (10 ms for top 2 dynamic priorities and then halving each
priority belowthat) and less frequent per extra cpu.

JUST_INTERACTIVE_SLEEP logic created to be a sleep_avg consistent with giving
a task enough dynamic priority to remain on the active array.

Task preemption of equal priority tasks is dropped as requeuing with
TIMESLICE_GRANULARITY makes this unecessary.

Dynamic priority bonus simplified.

User tasks that sleep a long time and not waking from uninterruptible sleep
are sought and categorised as idle. Their sleep avg is limited in it's rise to
prevent them becoming high priority and suddenly turning into cpu hogs.

Bonus for sleeping is proportionately higher the lower the dynamic priority of
a task is; this allows for very rapid escalation to interactive status.

Tasks that are LOW_CREDIT are limited in rise per sleep to one priority level.

Non HIGH_CREDIT tasks waking from uninterruptible sleep are sought to detect
cpu hogs waiting on I/O and their sleep_avg rise is limited to just
interactive state to prevent cpu bound tasks from becoming interactive during
I/O wait.

Tasks that earn sleep_avg over MAX_SLEEP_AVG get interactive credits.

On runqueue bonus is not given to non HIGH_CREDIT tasks waking from
uninterruptible sleep.

Forked tasks and their parents get sleep_avg limited to the minimum necessary
to maintain their effective dynamic priority thus preventing repeated forking
from being a way to get highly interactive, but not penalise them noticably
otherwise.

CAN_MIGRATE_TASK cleaned up and modified to work with nanosecond timestamps.

Reverted Ingo's A3 Starvation limit change - it was making interactive tasks
suffer more under increasing load. If a cpu is grossly overloaded and
everyone is going to starve it may as well run interactive tasks
preferentially.

Task requeuing is limited to interactive tasks only (cpu bound tasks dont need
low latency and derive benefit from longer timeslices), and they must have at
least TIMESLICE_GRANULARITY remaining.

HIGH_CREDIT tasks get penalised less sleep_avg the more interactive they are
thus keeping them interactive for bursts but if they become sustained cpu hogs
they will slide increasingly rapidly down the dynamic priority scale.

Tasks that run out of sleep_avg, are still using up cpu time and are not high
or low credit yet get penalised interactive credits to determine LOW_CREDIT
tasks (cpu bound ones).

23 years ago[PATCH] CPU scheduler balancing fix
Andrew Morton [Sun, 21 Sep 2003 08:38:16 +0000 (01:38 -0700)]
[PATCH] CPU scheduler balancing fix

From: Nick Piggin <piggin@cyberone.com.au>

The patch changes the imbalance required before a balance to 25% from 50% -
as the comments intend.  It also changes a case where the balancing
wouldn't be done if the imbalance was >= 25% but only 1 task difference.

The downside of the second change is that one task may bounce from one cpu
to another for some loads.  This will only bounce once every 200ms, so it
shouldn't be a big problem.

(Benchmarking results are basically a wash - SDET is increased maybe 0.5%)

23 years ago[PATCH] sched_clock() for ppc, ppc64, x86_64 and sparc64
Andrew Morton [Sun, 21 Sep 2003 08:38:08 +0000 (01:38 -0700)]
[PATCH] sched_clock() for ppc, ppc64, x86_64 and sparc64

Ingo's CPU scheduler update (in -mm kernels) needs a new sched_clock()
function which returns nanoseconds.

The patch provides implementations for ppc, ppc64, x86_64 and sparc64.

The x86_64 version could have overflow issues, the calculation is done in
32bits only with an multiply.  But I hope it's good enough for the scheduler

The ppc64 version needs scaling: it's only accurate for 1GHz CPUs.

23 years ago[PATCH] scheduler infrastructure
Andrew Morton [Sun, 21 Sep 2003 08:38:00 +0000 (01:38 -0700)]
[PATCH] scheduler infrastructure

From: Ingo Molnar <mingo@elte.hu>

the attached scheduler patch (against test2-mm2) adds the scheduling
infrastructure items discussed on lkml. I got good feedback - and while i
dont expect it to solve all problems, it does solve a number of bad ones:

 - test_starve.c code from David Mosberger

 - thud.c making the system unusuable due to unfairness

 - fair/accurate sleep average based on a finegrained clock

 - audio skipping way too easily

other changes in sched-test2-mm2-A3:

 - ia64 sched_clock() code, from David Mosberger.

 - migration thread startup without relying on implicit scheduling
   behavior. While the current 2.6 code is correct (due to the cpu-up code
   adding CPUs one by one), but it's also fragile - and this code cannot
   be carried over into the 2.4 backports. So adding this method would
   clean up the startup and would make it easier to have 2.4 backports.

and here's the original changelog for the scheduler changes:

 - cycle accuracy (nanosec resolution) timekeeping within the scheduler.
   This fixes a number of audio artifacts (skipping) i've reproduced. I
   dont think we can get away without going cycle accuracy - reading the
   cycle counter adds some overhead, but it's acceptable. The first
   nanosec-accuracy patch was done by Mike Galbraith - this patch is
   different but similar in nature. I went further in also changing the
   sleep_avg to be of nanosec resolution.

 - more finegrained timeslices: there's now a timeslice 'sub unit' of 50
   usecs (TIMESLICE_GRANULARITY) - CPU hogs on the same priority level
   will roundrobin with this unit. This change is intended to make gaming
   latencies shorter.

 - include scheduling latency in sleep bonus calculation. This change
   extends the sleep-average calculation to the period of time a task
   spends on the runqueue but doesnt get scheduled yet, right after
   wakeup. Note that tasks that were preempted (ie. not woken up) and are
   still on the runqueue do not get this benefit. This change closes one
   of the last hole in the dynamic priority estimation, it should result
   in interactive tasks getting more priority under heavy load. This
   change also fixes the test-starve.c testcase from David Mosberger.

The TSC-based scheduler clock is disabled on ia32 NUMA platforms.  (ie.
platforms that have unsynched TSC for sure.) Those platforms should provide
the proper code to rely on the TSC in a global way.  (no such infrastructure
exists at the moment - the monotonic TSC-based clock doesnt deal with TSC
offsets either, as far as i can tell.)

23 years ago[PATCH] NLS: remove emacs metadata
Andrew Morton [Sun, 21 Sep 2003 08:37:51 +0000 (01:37 -0700)]
[PATCH] NLS: remove emacs metadata

From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

This elisp was obsolete on recently emacs's cc-mode. And this should
be personally set.

23 years ago[PATCH] NLS: Remove the nls modules for only alias
Andrew Morton [Sun, 21 Sep 2003 08:37:43 +0000 (01:37 -0700)]
[PATCH] NLS: Remove the nls modules for only alias

From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

This does the following,

1) This removes the nls modules for only alias. For backward
   compatible, this adds ->alias, and ->alias provides alias of charset.

2) For autoloading the module by the alias, use MODULE_ALIAS mechanism.

3) From changelog of module-init-tools, looks like MODULE_ALIAS needs
   module-init-tools 0.9.10 or later. So change the "Documentation/Changes".

23 years ago[PATCH] mtrr warning fix w/o proc_fs
Andrew Morton [Sun, 21 Sep 2003 08:37:34 +0000 (01:37 -0700)]
[PATCH] mtrr warning fix w/o proc_fs

From: Stephen Hemminger <shemminger@osdl.org>

Get rid of warnings (and dead code) if MTRR is compiled without /proc

23 years ago[PATCH] Overflow check for i386 assign_irq_vector
Andrew Morton [Sun, 21 Sep 2003 08:37:26 +0000 (01:37 -0700)]
[PATCH] Overflow check for i386 assign_irq_vector

From: James Cleverdon <jamesclv@us.ibm.com>

Some very large systems overflow the array and corrupt memory.  A BUG_ON will
at least flag the problem until dynamic irq_vector allocation is added.

23 years ago[PATCH] reiserfs: large file 32/64-bit truncation fix
Andrew Morton [Sun, 21 Sep 2003 08:37:18 +0000 (01:37 -0700)]
[PATCH] reiserfs: large file 32/64-bit truncation fix

From: Oleg Drokin <green@namesys.com>

Fix trucation-induced large file corruption in reiserfs.

23 years ago[PATCH] Fix setpgid and threads
Andrew Morton [Sun, 21 Sep 2003 08:37:10 +0000 (01:37 -0700)]
[PATCH] Fix setpgid and threads

From: Jeremy Fitzhardinge <jeremy@goop.org>

I'm resending my patch to fix this problem.  To recap: every task_struct
has its own copy of the thread group's pgrp.  Only the thread group
leader is allowed to change the tgrp's pgrp, but it only updates its own
copy of pgrp, while all the other threads in the tgrp use the old value
they inherited on creation.

This patch simply updates all the other thread's pgrp when the tgrp
leader changes pgrp.  Ulrich has already expressed reservations about
this patch since it is (1) incomplete (it doesn't cover the case of
other ids which have similar problems), (2) racy (it doesn't synchronize
with other threads looking at the task pgrp, so they could see an
inconsistent view) and (3) slow (it takes linear time with respect to
the number of threads in the tgrp).

My reaction is that (1) it fixes the actual bug I'm encountering in a
real program.  (2) doesn't really matter for pgrp, since it is mostly an
issue with respect to the terminal job-control code (which is even more
broken without this patch.  Regarding (3), I think there are very few
programs which have a large number of threads which change process group
id on a regular basis (a heavily multi-threaded job-control shell?).

Ulrich also said he has a (proposed?) much better fix, which I've been
looking forward to.  I'm submitting this patch as a stop-gap fix for a
real bug, and perhaps to prompt the improved patch.

An alternative fix, at least for pgrp, is to change all references to
->pgrp to group_leader->pgrp.  This may be sufficient on its own, but it
would be a reasonably intrusive patch (I count 95 instances in 32 files
in the 2.6.0-test3-mm3 tree).

23 years ago[PATCH] real-time enhanced page allocator and throttling
Andrew Morton [Sun, 21 Sep 2003 08:37:01 +0000 (01:37 -0700)]
[PATCH] real-time enhanced page allocator and throttling

From: Robert Love <rml@tech9.net>

- Let real-time tasks dip further into the reserves than usual in
  __alloc_pages().  There are a lot of ways to special case this.  This
  patch just cuts z->pages_low in half, before doing the incremental min
  thing, for real-time tasks.  I do not do anything in the low memory slow
  path.  We can be a _lot_ more aggressive if we want.  Right now, we just
  give real-time tasks a little help.

- Never ever call balance_dirty_pages() on a real-time task.  Where and
  how exactly we handle this is up for debate.  We could, for example,
  special case real-time tasks inside balance_dirty_pages().  This would
  allow us to perform some of the work (say, waking up pdflush) but not
  other work (say, the active throttling).  As it stands now, we do the
  per-processor accounting in balance_dirty_pages_ratelimited() but we
  never call balance_dirty_pages().  Lots of approaches work.  What we want
  to do is never engage the real-time task in forced writeback.

23 years ago[PATCH] ECC support
Andrew Morton [Sun, 21 Sep 2003 08:36:53 +0000 (01:36 -0700)]
[PATCH] ECC support

From: "Nakajima, Jun" <jun.nakajima@intel.com>

Split the increasingly messy compiler.h file into per-compiler files and also
add support for non-gcc compilers.

With the current implementation:

  include/linux/compiler.h defines the compiler-dependent abstractions
  which can be overwritten by per-compiler definitions.

  include/linux/compiler-gcc.h contains the common definitions for all gcc
  versions.

  include/linux/compiler-gcc[2,3,+].h contains gcc major version specific
  definitions.

  include/linux/compiler-intel.h contains intel compiler specific
  definitions."

23 years ago[PATCH] procfs build fix for older gcc
Andrew Morton [Sun, 21 Sep 2003 08:36:44 +0000 (01:36 -0700)]
[PATCH] procfs build fix for older gcc

- declarations come first

- fix bizarre coding style.

23 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Sun, 21 Sep 2003 07:31:10 +0000 (00:31 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PCMCIA] Fix deadlocks caused between PCMCIA card fix and device model
Russell King [Sun, 21 Sep 2003 22:05:12 +0000 (23:05 +0100)]
[PCMCIA] Fix deadlocks caused between PCMCIA card fix and device model

The problem was that the semaphore which prevents ds interfering with
the sleepy card initialisation (skt_sem in pccardd) is blocking insmod
of the socket driver.  However, the socket driver is being called with
the PCI bus semaphore held by the driver model.

pccardd in turn discovered a cardbus card (with skt_sem held), so it
is trying to add the PCI devices to the PCI bus, and this requires the
driver model to grab the PCI bus semaphore, but its already locked.

We move the class device register into pccardd so we get a natural
ordering between the ds socket initialisation and pccardd trying to
detect inserted cards.

We also fix a potential use-after-free caused by rmmod'ing the socket
driver before ds has shut down.

23 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sun, 21 Sep 2003 07:28:49 +0000 (00:28 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[ARM] Avoid using clone syscall from kernel_thread()
Russell King [Sun, 21 Sep 2003 12:29:53 +0000 (13:29 +0100)]
[ARM] Avoid using clone syscall from kernel_thread()

Don't issue a system call from kernel_thread(), but call do_fork()
directly.  This avoids all the unnecessary syscall overhead.

23 years ago[PATCH] fix for hidden-task problem
Albert Cahalan [Sun, 21 Sep 2003 05:16:28 +0000 (22:16 -0700)]
[PATCH] fix for hidden-task problem

It's bad to make (CLONE_THREAD | CLONE_DETACHED) tasks
be _completely_ hidden. Resource consumption is hard
to track down if a user can hide a task from /bin/ps.

This patch, supported by the procps-3.1.13 release,
gives admins the ability to search for such tasks.
The top-level /proc directory remains uncontaminated.

23 years agoDisable forced keyrelease in atkbd driver. It breaks modifier keys.
Linus Torvalds [Sun, 21 Sep 2003 05:15:45 +0000 (22:15 -0700)]
Disable forced keyrelease in atkbd driver. It breaks modifier keys.

23 years ago[PATCH] Move EISA_bus
Matthew Wilcox [Sun, 21 Sep 2003 03:20:02 +0000 (20:20 -0700)]
[PATCH] Move EISA_bus

When I change the setting of CONFIG_EISA, everything rebuilds.  This is
because EISA_bus is declared in <asm/processor.h> which is implicitly
included by just about everything.  This is a silly place to declare it,
so this patch moves it to include/linux/eisa.h.

While I'm at it, I also move the variable definition to
drivers/eisa/eisa-bus.c.  The rest of this patch is fixing up the fallout
from having to include <linux/eisa.h> if you use EISA_bus.

23 years agoDon't ask about SERIO selection - let Kconfig select it
Linus Torvalds [Sat, 20 Sep 2003 12:44:15 +0000 (05:44 -0700)]
Don't ask about SERIO selection - let Kconfig select it
automatically as needed.

23 years ago[ARM] Fix up includes
Russell King [Sat, 20 Sep 2003 11:48:03 +0000 (12:48 +0100)]
[ARM] Fix up includes

Remove duplicate includes, ensure that linux/config.h is included
where necessary, and linux/config.h isn't included where it isn't
needed.

23 years agoMerge bk://kernel.bkbits.net/gregkh/linux/linus-2.6
Linus Torvalds [Sat, 20 Sep 2003 11:18:59 +0000 (04:18 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/linus-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/jgarzik/misc-2.5
Linus Torvalds [Sat, 20 Sep 2003 11:05:46 +0000 (04:05 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/misc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[sound/oss i810_audio] sync with 2.4
Jeff Garzik [Sat, 20 Sep 2003 16:39:42 +0000 (12:39 -0400)]
[sound/oss i810_audio] sync with 2.4

* increase length of wait for analog-ready
* fix printk prefix (cosmetic)
* bail out for pure MMIO interfaces, instead of attempting to use it
  via PIO and hanging the system.

23 years agoAvoid type warning for bit operation in atkbd.c
Linus Torvalds [Sat, 20 Sep 2003 10:10:07 +0000 (03:10 -0700)]
Avoid type warning for bit operation in atkbd.c

23 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
Linus Torvalds [Sat, 20 Sep 2003 09:53:23 +0000 (02:53 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] Road Runner HIPPI driver (rrunner)
Stephen Hemminger [Sat, 20 Sep 2003 11:10:14 +0000 (07:10 -0400)]
[PATCH] Road Runner HIPPI driver (rrunner)

Small clean up, to use current APIs.

23 years ago[wireless airo] Fix MIC support with CryptoAPI
Javier Achirica [Sat, 20 Sep 2003 11:08:21 +0000 (07:08 -0400)]
[wireless airo] Fix MIC support with CryptoAPI

23 years ago[wireless airo] fix PCI probe
Javier Achirica [Sat, 20 Sep 2003 11:06:32 +0000 (07:06 -0400)]
[wireless airo] fix PCI probe

23 years ago[tokenring] fix breakage in proteon, skisa
Jochen Friedrich [Sat, 20 Sep 2003 11:03:43 +0000 (07:03 -0400)]
[tokenring] fix breakage in proteon, skisa

this one fixes both drivers. They have been broken since the
reorganization in June. Unfortunately, my major build platform (alpha) had
some issues with later 2.5.X kernels (cache problems causing all kind of
funny behaviour), so i waited until these problems had been resolved by
the alpha gurus :-/...

In the mean time i also upgraded pine. I hope the patch corruption issue
is resolved by now.

23 years ago[PATCH] hamradio/scc -
Stephen Hemminger [Sat, 20 Sep 2003 11:02:24 +0000 (07:02 -0400)]
[PATCH] hamradio/scc -

Update hamradio/scc for 2.6.0-test5
- use seq_file for /proc
- get rid of dev_get()
- use alloc_netdev

Don't have hardware, but can load/unload the module fine.

23 years ago[PATCH] [bonding] Convert /proc to seq_file
Amir Noam [Sat, 20 Sep 2003 10:49:10 +0000 (06:49 -0400)]
[PATCH] [bonding] Convert /proc to seq_file

This patch converts /proc/net/bondX/info into /proc/net/bonding/bondX
using the seq_file interface.

This is based on Stephen's recent patch, but slightly modified to work
with the propagation patch set and with some locking changes to make it
simpler.

The patch applies both on 2.4 (after the sync set from earlier today)
and on 2.6 (after the propagation set from 2003/11/9).

Amir

23 years ago[PATCH] fix sbni.c compile with gcc 3.3
Adrian Bunk [Sat, 20 Sep 2003 10:49:01 +0000 (06:49 -0400)]
[PATCH] fix sbni.c compile with gcc 3.3

sbni.c in 2.6.0-test5 fails to compile with gcc 3.3 with the following
error:

<--  snip  -->

...
  CC      drivers/net/wan/sbni.o
...
drivers/net/wan/sbni.c: In function `calc_crc32':
drivers/net/wan/sbni.c:1568: error: asm-specifier for variable `_crc'
conflicts with asm clobber list
make[3]: *** [drivers/net/wan/sbni.o] Error 1

<--  snip  -->

Below is the patch by Margit Schubert-White to fix this issue (it is
already in 2.4).

cu
Adrian

23 years ago[PATCH] e1000 bug
Andrew Morton [Sat, 20 Sep 2003 10:48:53 +0000 (06:48 -0400)]
[PATCH] e1000 bug

Rick Lindsley <ricklind@us.ibm.com> wrote:
>
> since it's been out for a while you probably already know, but the patch
> for e1000_main.c has a bug in it.  Looks like it will fail at line 1550 if
> compiled with NETIF_F_TSO defined.
>

So it will.  I blame the gcc developers.

 25-akpm/drivers/net/e1000/e1000_main.c |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

23 years ago[PATCH] [bonding 2.6] Fix ipx_hdr compile error
Amir Noam [Sat, 20 Sep 2003 10:15:22 +0000 (06:15 -0400)]
[PATCH] [bonding 2.6] Fix ipx_hdr compile error

23 years ago[PATCH] [bonding 2.6] Add missing free_netdev()
Amir Noam [Sat, 20 Sep 2003 10:15:15 +0000 (06:15 -0400)]
[PATCH] [bonding 2.6] Add missing free_netdev()

23 years ago[PATCH] [bonding 2.6] Enhance netdev notification handling
Amir Noam [Sat, 20 Sep 2003 10:15:07 +0000 (06:15 -0400)]
[PATCH] [bonding 2.6] Enhance netdev notification handling

23 years ago[PATCH] [bonding 2.6] Consolidate /proc code, add CHANGENAME handler
Amir Noam [Sat, 20 Sep 2003 10:14:59 +0000 (06:14 -0400)]
[PATCH] [bonding 2.6] Consolidate /proc code, add CHANGENAME handler

23 years ago[PATCH] [bonding 2.6] Add support for changing HW address in ALB/TLB modes
Amir Noam [Sat, 20 Sep 2003 10:14:52 +0000 (06:14 -0400)]
[PATCH] [bonding 2.6] Add support for changing HW address in ALB/TLB modes

23 years ago[PATCH] [bonding 2.6] Add support for changing HW address and MTU
Amir Noam [Sat, 20 Sep 2003 10:14:44 +0000 (06:14 -0400)]
[PATCH] [bonding 2.6] Add support for changing HW address and MTU

23 years ago[PATCH] [bonding 2.6] Decouple promiscuous handling from multicast mode setting
Amir Noam [Sat, 20 Sep 2003 10:14:36 +0000 (06:14 -0400)]
[PATCH] [bonding 2.6] Decouple promiscuous handling from multicast mode setting

23 years ago[PATCH] [bonding 2.6] fix assign_current_slave
Amir Noam [Sat, 20 Sep 2003 10:14:29 +0000 (06:14 -0400)]
[PATCH] [bonding 2.6] fix assign_current_slave

23 years ago[PATCH] [bonding 2.6] consolidate change_active operations
Amir Noam [Sat, 20 Sep 2003 10:14:21 +0000 (06:14 -0400)]
[PATCH] [bonding 2.6] consolidate change_active operations

23 years ago[PATCH] update arcnet/pcmcia driver
Stephen Hemminger [Sat, 20 Sep 2003 10:13:00 +0000 (06:13 -0400)]
[PATCH] update arcnet/pcmcia driver

Redo of earlier patch to get rid of MOD_INC/DEC and use alloc_netdev.
This is against 2.6.0-test5 bk latest.

23 years ago[PATCH] sealevel wan driver
Stephen Hemminger [Sat, 20 Sep 2003 10:12:52 +0000 (06:12 -0400)]
[PATCH] sealevel wan driver

Update sealevel driver to match current net_device interface:
- dynamically allocate netdevice and private data.
- get rid of MOD_INC/DEC
- if_ptr not used
- bugfix: not all of board structure was being zeroed.

Note: this driver still doesn't probe() correctly since it just assumes that
if loaded the hardware is there!

Since I don't have one of these boards...
tested it by #ifdef'ing out all the bits that touch actual hardware.

23 years ago[IrDA] ali-ircc -- dev_alloc cleanout
Stephen Hemminger [Sat, 20 Sep 2003 10:06:08 +0000 (06:06 -0400)]
[IrDA] ali-ircc -- dev_alloc cleanout

Convert ali-ircc driver to:
- use alloc_net_dev not dev_alloc
- allocate private data at same time
- cleanup error unwinds
- call free_netdev.

Builds and loads, but don't have real hardware.

23 years ago[IrDA] via-ircc -- dev_alloc cleanout
Stephen Hemminger [Sat, 20 Sep 2003 10:06:01 +0000 (06:06 -0400)]
[IrDA] via-ircc -- dev_alloc cleanout

Convert via-ircc 2.6.0-test5
- use alloc_net_dev not dev_alloc
- allocate private data at same time
- cleanup error unwinds
- call free_netdev.

Builds and loads, but don't have real hardware.

23 years ago[IrDA] nsc-ircc -- dev_alloc cleanout
Stephen Hemminger [Sat, 20 Sep 2003 10:05:53 +0000 (06:05 -0400)]
[IrDA] nsc-ircc -- dev_alloc cleanout

Cleanup nsc-ircc driver for 2.6.0-test5
- replace dev_alloc with alloc_netdev
- use private data allocated with alloc_netdev
- error unwind cleanup

23 years ago[IrDA] donahoboe -- dev_alloc cleanout
Stephen Hemminger [Sat, 20 Sep 2003 10:05:46 +0000 (06:05 -0400)]
[IrDA] donahoboe -- dev_alloc cleanout

Fixes for donauboe for 2.6.0-test5
- replace dev_alloc with alloc_netdev
- error unwind cleanup

23 years ago[IrDA] w83977af -- dev_alloc cleanout
Stephen Hemminger [Sat, 20 Sep 2003 10:05:38 +0000 (06:05 -0400)]
[IrDA] w83977af -- dev_alloc cleanout

Yet another irda driver cleanup for 2.6.0-test5
- replace dev_alloc with alloc_netdev
- use private data allocated with alloc_netdev
- use free_netdev

23 years ago[IrDA] irda-usb -- dev_alloc cleanout
Stephen Hemminger [Sat, 20 Sep 2003 10:05:31 +0000 (06:05 -0400)]
[IrDA] irda-usb -- dev_alloc cleanout

Update irda-usb for 2.6.0-test5
- use alloc_netdev (but can't use dev->priv area cause that is allocated elsewhere).

23 years ago[PATCH] janitor: ns83820 error handling
Randy Dunlap [Sat, 20 Sep 2003 10:00:00 +0000 (06:00 -0400)]
[PATCH] janitor: ns83820 error handling

Subject: Re: [Kernel-janitors] [PATCH] insert missing free_irq and fix  cleanup path
From: Leann Ogasawara <ogasawara@osdl.org>

On Thu, 2003-09-04 at 13:17, Benjamin LaHaise wrote:
> The if()s before free are redundant, turf them and it's good.

23 years ago[PATCH] janitor: insert a missing iounmap()
Randy Dunlap [Sat, 20 Sep 2003 09:59:53 +0000 (05:59 -0400)]
[PATCH] janitor: insert a missing iounmap()

From: Leann Ogasawara <ogasawara@osdl.org>
Subject: [Kernel-janitors] [PATCH] insert missing iounmap()

Patch inserts a missing iounmap().

23 years ago[PATCH] get rid of old IRDA drivers.
Stephen Hemminger [Sat, 20 Sep 2003 09:59:45 +0000 (05:59 -0400)]
[PATCH] get rid of old IRDA drivers.

According to Jean the toshoboe and old smc ircc drivers are no longer needed.
This patch removes them from 2.6.0-test5

23 years ago[netdrvr] use cpu_relax() in busy loop, or mdelay instead of busy loop
Chris Wright [Sat, 20 Sep 2003 09:59:37 +0000 (05:59 -0400)]
[netdrvr] use cpu_relax() in busy loop, or mdelay instead of busy loop

Replace busy loop nop with cpu_relax(), and just use mdelay where it's better.

23 years ago[PATCH] janitor: remove (or add) unneeded includes (drivers/net/)
Randy Dunlap [Sat, 20 Sep 2003 09:56:15 +0000 (05:56 -0400)]
[PATCH] janitor: remove (or add) unneeded includes (drivers/net/)

From: Randy Hron <rwhron@earthlink.net>

23 years ago[PATCH] janitor: remove unneeded includes (hamradio)
Randy Dunlap [Sat, 20 Sep 2003 09:56:07 +0000 (05:56 -0400)]
[PATCH] janitor: remove unneeded includes (hamradio)

From: Randy Hron <rwhron@earthlink.net>

23 years ago[PATCH] janitor: remove (or add) unneeded includes (wireless)
Randy Dunlap [Sat, 20 Sep 2003 09:56:00 +0000 (05:56 -0400)]
[PATCH] janitor: remove (or add) unneeded includes (wireless)

From: Randy Hron <rwhron@earthlink.net>

23 years ago[PATCH] janitor: remove unneeded includes (skfp)
Randy Dunlap [Sat, 20 Sep 2003 09:55:52 +0000 (05:55 -0400)]
[PATCH] janitor: remove unneeded includes (skfp)

From: Randy Hron <rwhron@earthlink.net>

23 years ago[PATCH] janitor: remove (or add) unneeded includes
Randy Dunlap [Sat, 20 Sep 2003 09:55:45 +0000 (05:55 -0400)]
[PATCH] janitor: remove (or add) unneeded includes

From: Randy Hron <rwhron@earthlink.net>

23 years ago[PATCH] janitor: remove unneeded includes (sk98lin)
Randy Dunlap [Sat, 20 Sep 2003 09:55:37 +0000 (05:55 -0400)]
[PATCH] janitor: remove unneeded includes (sk98lin)

From: Randy Hron <rwhron@earthlink.net>

23 years ago[PATCH] janitor: remove unneeded includes (tokenring)
Randy Dunlap [Sat, 20 Sep 2003 09:55:29 +0000 (05:55 -0400)]
[PATCH] janitor: remove unneeded includes (tokenring)

From: Randy Hron <rwhron@earthlink.net>

23 years ago[PATCH] replace sppp_of macro with inline
Stephen Hemminger [Sat, 20 Sep 2003 09:55:21 +0000 (05:55 -0400)]
[PATCH] replace sppp_of macro with inline

Replace macro with inline and get some type checking.

23 years ago[PATCH] Unneeded memory barrier in net/irda code
Felipe Damasio [Sat, 20 Sep 2003 09:55:14 +0000 (05:55 -0400)]
[PATCH] Unneeded memory barrier in net/irda code

23 years ago[PATCH] depca update
Marc Zyngier [Sat, 20 Sep 2003 09:55:06 +0000 (05:55 -0400)]
[PATCH] depca update

I finally found some time to hack the depca driver, in basically the
same way I did with the de4x5 driver. The patch is quite big (shuffles
a lot of code around, removes lots of global variables), mainly in
order to use the driver model on every bus supported by this driver.

I also removed the probing from Space.c, so the usual warning about
device renumbering applies.

Tested on alpha (DE422, EISA) and i386 (two DE201, ISA), built-in and
modular. The MCA part is completly untested, since I lack the hardware
(no, I do not own every single piece of junk hardware out
there... ;-).

23 years agoMerge bk://kernel.bkbits.net/vojtech/input
Linus Torvalds [Sat, 20 Sep 2003 09:51:41 +0000 (02:51 -0700)]
Merge bk://kernel.bkbits.net/vojtech/input
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoinput: Fix Kconfig KEYBOARD_ATKBD when SERIO is modular.
Adrian Bunk [Fri, 19 Sep 2003 15:51:40 +0000 (17:51 +0200)]
input: Fix Kconfig KEYBOARD_ATKBD when SERIO is modular.

23 years agoinput: Fix memory leak in hiddev.c found by Stanford Checker.
Vojtech Pavlik [Fri, 19 Sep 2003 15:32:38 +0000 (17:32 +0200)]
input: Fix memory leak in hiddev.c found by Stanford Checker.

23 years agoinput: Remove a not necessary #ifdef CONFIG_PROC_FS/#endif in input.c
Luiz Capitulino [Fri, 19 Sep 2003 15:25:06 +0000 (17:25 +0200)]
input: Remove a not necessary #ifdef CONFIG_PROC_FS/#endif in input.c

23 years agoinput: Fix a warning in input.c when CONFIG_PROC_FS is not set.
Luiz Capitulino [Fri, 19 Sep 2003 15:23:54 +0000 (17:23 +0200)]
input: Fix a warning in input.c when CONFIG_PROC_FS is not set.

23 years agoinput: Fix Set3 keycode for right control in atkbd.c
Andries E. Brouwer [Fri, 19 Sep 2003 15:15:12 +0000 (17:15 +0200)]
input: Fix Set3 keycode for right control in atkbd.c

23 years agoMerge kroah.com:/home/linux/BK/bleed-2.5
Greg Kroah-Hartman [Fri, 19 Sep 2003 09:51:20 +0000 (02:51 -0700)]
Merge kroah.com:/home/linux/BK/bleed-2.5
into kroah.com:/home/linux/BK/gregkh-2.6

23 years ago[PATCH] USB: ethtool_ops and ax8817x fixes for usbnet
David T. Hollis [Fri, 19 Sep 2003 09:28:31 +0000 (02:28 -0700)]
[PATCH] USB: ethtool_ops and ax8817x fixes for usbnet

This is a resend of all of my recent usbnet additions which
center on adding ethtool_ops support.  All have been re-diffed
against the latest usbnet from BK.

Changes:
* Add ethtool_ops support to usbnet
* Add GPIO bit toggling upon initialization of ax8817x devices
  so that xmit works properly
* Add Wake-On-Lan and eeprom dump support for ax8817x devices
  (this only adds the config support for WOL, actual operation
   is more of a USB/Power Management function)
* Change ax8817x_set_multicast to not kmalloc for the filter
  since there was no clean way to free the memory after URB submit.
  Instead, we make use of the 20 byte dev->data.

23 years ago[PATCH] Fix memory leak in hiddev.c found by Stanford Checker
Vojtech Pavlik [Fri, 19 Sep 2003 07:27:20 +0000 (00:27 -0700)]
[PATCH] Fix memory leak in hiddev.c found by Stanford Checker

23 years ago[PATCH] Remove a not necessary #ifdef CONFIG_PROC_FS/#endif in input.c
Vojtech Pavlik [Fri, 19 Sep 2003 07:27:08 +0000 (00:27 -0700)]
[PATCH] Remove a not necessary #ifdef CONFIG_PROC_FS/#endif in input.c

23 years ago[PATCH] Fix a warning in input.c when CONFIG_PROC_FS is not set
Vojtech Pavlik [Fri, 19 Sep 2003 07:26:50 +0000 (00:26 -0700)]
[PATCH] Fix a warning in input.c when CONFIG_PROC_FS is not set

23 years agoMerge bk://kernel.bkbits.net/lord/xfs-2.6
Linus Torvalds [Fri, 19 Sep 2003 07:05:58 +0000 (00:05 -0700)]
Merge bk://kernel.bkbits.net/lord/xfs-2.6
into laptop.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 19 Sep 2003 07:01:14 +0000 (00:01 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into laptop.osdl.org:/home/torvalds/v2.5/linux