]> git.neil.brown.name Git - history.git/log
history.git
23 years agoLinux v2.5.47 v2.5.47
Linus Torvalds [Sun, 10 Nov 2002 11:05:57 +0000 (03:05 -0800)]
Linux v2.5.47

23 years ago[PATCH] remove duplicated disk statistics
Andrew Morton [Sun, 10 Nov 2002 10:02:25 +0000 (02:02 -0800)]
[PATCH] remove duplicated disk statistics

This patch will break some userspace monitoring apps in the name of
having sane disk statistics in 2.6.x.

Patch from Rick Lindsley <ricklind@us.ibm.com>

In 2.5.46, there are now disk statistics being collected twice: once
for gendisk/hd_struct, and once for dkstat.  They are collecting the
same thing.  This patch removes dkstat, which also had the disadvantage
of being limited by DK_MAX_MAJOR and DK_MAX_DISK. (Those #defines are
removed too.)

In addition, this patch removes disk statistics from /proc/stat since
they are now available via sysfs and there seems to have been a general
preference in previous discussions to "clean up" /proc/stat.  Too many
disks being reported in /proc/stat also caused buffer overflows when
trying to print out the data.

The code in led.c from the parisc architecture has not apparently been
recompiled under recent versions of 2.5, since it references
kstat.dk_drive which doesn't exist in later versions.  Accordingly,
I've added an #ifdef 0 and a comment to that code so that it may at
least compile, albeit without one feature -- a step up from its state
now.  If it is preferable to keep the broken code in, that patch may
easily be excised from below.

23 years ago[PATCH] fix page alloc/free accounting
Andrew Morton [Sun, 10 Nov 2002 10:02:20 +0000 (02:02 -0800)]
[PATCH] fix page alloc/free accounting

We're currently incrementing /proc/vmstat:pgalloc in front of the
per-cpu page queues, and incrementing /proc/vmstat:pgfree behind the
per-cpu queues.  So they get out of whack.

Change it so that we increment the counters each time someone requests
a page.  ie: they're both in front of the queues.

Also, remove a duplicated prep_new_page() call and as a consequence,
drop the whole additional list walk in rmqueue_bulk().

23 years ago[PATCH] buffer_head refcounting fixes and cleanup
Andrew Morton [Sun, 10 Nov 2002 10:02:15 +0000 (02:02 -0800)]
[PATCH] buffer_head refcounting fixes and cleanup

There was some strange code in the __getblk()/__find_get_block()/
__bread() area which was performimg multiple bh_lru_install() calls as
well as multiple touch_buffer() calls.

Fix all that up.  We only need to run bh_lru_install() and
touch_buffer() in __find_get_block().  Because if the block wasn't
found, __getblk() will create it and will re-run __find_get_block().

Also document a few things and make a couple of internal symbols static
to buffer.c

Also, don't run __find_get_block() from within
unmap_underlying_metadata().  We hardly expect to find that block
inside the LRU.  And we hardly expect to use it as metadata in the near
future so there's no point in letting it evict another buffer if we
found it.  So just go straight into the pagecache lookup for
unmap_underlying_metadata().

23 years ago[PATCH] Fix math underflow in disk accounting
Andrew Morton [Sun, 10 Nov 2002 10:02:10 +0000 (02:02 -0800)]
[PATCH] Fix math underflow in disk accounting

Patch from Lev Makhlis <mlev@despammed.com>

The disk accounting will overflow after 4,000,000 seconds.  Extend that
by a factor of 1000.

23 years ago[PATCH] hugetlb: make private functions static
Andrew Morton [Sun, 10 Nov 2002 10:02:05 +0000 (02:02 -0800)]
[PATCH] hugetlb: make private functions static

Patch from William Lee Irwin III <wli@holomorphy.com>

This patch makes various private structures and procedures static.

23 years ago[PATCH] hugetlb: remove /proc/ intrusion
Andrew Morton [Sun, 10 Nov 2002 10:02:00 +0000 (02:02 -0800)]
[PATCH] hugetlb: remove /proc/ intrusion

Patch from William Lee Irwin III <wli@holomorphy.com>

This patch removes hugetlb's intrusion into /proc/

23 years ago[PATCH] hugetlb: remove sysctl.c intrusion
Andrew Morton [Sun, 10 Nov 2002 10:01:55 +0000 (02:01 -0800)]
[PATCH] hugetlb: remove sysctl.c intrusion

Patch from William Lee Irwin III <wli@holomorphy.com>

This patch removes hugetlb's intrusion into kernel/sysctl.c

23 years ago[PATCH] hugetlb: internalize hugetlb init
Andrew Morton [Sun, 10 Nov 2002 10:01:50 +0000 (02:01 -0800)]
[PATCH] hugetlb: internalize hugetlb init

Patch from William Lee Irwin III <wli@holomorphy.com>

This patch internalizes hugetlb initialization, implementing a command-line
option in the process.

23 years ago[PATCH] hugetlb: remove unlink_vma()
Andrew Morton [Sun, 10 Nov 2002 10:01:45 +0000 (02:01 -0800)]
[PATCH] hugetlb: remove unlink_vma()

Patch from William Lee Irwin III <wli@holomorphy.com>

This patch removes the unused function unlink_vma().

23 years ago[PATCH] hugetlb: fix zap_hugetlb_resources()
Andrew Morton [Sun, 10 Nov 2002 10:01:39 +0000 (02:01 -0800)]
[PATCH] hugetlb: fix zap_hugetlb_resources()

Patch from William Lee Irwin III <wli@holomorphy.com>

This patch eliminates zap_hugetlb_resources, along with its usages.
This actually fixes bugs, as zap_hugetlb_resources was itself buggy.

23 years ago[PATCH] SMP iowait stats
Andrew Morton [Sun, 10 Nov 2002 10:01:33 +0000 (02:01 -0800)]
[PATCH] SMP iowait stats

Patch from William Lee Irwin III <wli@holomorphy.com>

Idle time accounting is disturbed by the iowait statistics, for several
reasons:

(1) iowait time is not subdivided among cpus.
        The only way the distinction between idle time subtracted from
        cpus (in order to be accounted as iowait) can be made is by
        summing counters for a total and dividing the individual tick
        counters by the proportions. Any tick type resolution which is
        not properly per-cpu breaks this, meaning that cpus which are
        entirely idle, when any iowait is present on the system, will
        have all idle ticks accounted to iowait instead of true idle time.

(2) kstat_read_proc() misreports iowait time
        The idle tick counter is passed twice to the sprintf(), once
        in the idle tick position, and once in the iowait tick position.

(3) performance enhancement
        The O(1) scheduler was very carefully constructed to perform
        accesses only to localized cachelines whenever possible. The
        global counter violates one of its core design principles,
        and the localization of "most" accesses is in greater harmony
        with its overall design and provides (at the very least) a
        qualitative performance improvement wrt. cache.

The method of correcting this is simple: embed an atomic iowait counter
in the runqueues, find the runqueue being manipulated in io_schedule(),
increment its atomic counter prior to schedule(), and decrement it
after returning from schedule(), which is guaranteed to be the same one,
as the counter incremented is tracked as a variable local to the procedure.
Then simply sum to obtain a global iowait statistic.

(Atomicity is required as the post-wait decrement may occur on a different
cpu from the one owning the counter.)

io_schedule() and io_schedule_timeout() are moved to sched.c as they must
access the runqueues, which are private to sched.c, and nr_iowait() is
created in order to export the sum of all runqueues' nr_iowait().

23 years ago[PATCH] Fix readv/writev return value
Andrew Morton [Sun, 10 Nov 2002 10:01:28 +0000 (02:01 -0800)]
[PATCH] Fix readv/writev return value

A patch from Janet Morgan <janetmor@us.ibm.com>

If you feed an iovec with a bad address not at the zeroeth segment into
readv or writev, it returns the wrong value.

iovec 1:  base is 8050b20 len is 64
iovec 2:  base is ffffffff len is 64
iovec 3:  base is 8050ba0 len is 64

The writev should return 64 bytes but is returning 128

This is because we've added the new segment's length into `count'
before running access_ok().

The patch changes it to fix that up on the slow path, if access_ok() fails.

23 years ago[PATCH] misc fixes
Andrew Morton [Sun, 10 Nov 2002 10:01:22 +0000 (02:01 -0800)]
[PATCH] misc fixes

- Revert the 3c59x.c compile warning fixes.  The return type of inl()
  was reverted back to the correct 32 bits.

- Fix an uninitialised timer in ext3 (JBD debug mode only) - run
  setup_ro_after() during initialisation.

- Fix ifdef/endif imbalance in JFS

23 years agoALSA update
Jaroslav Kysela [Sun, 10 Nov 2002 22:04:58 +0000 (23:04 +0100)]
ALSA update
   - CS4231 - added sparc support to merge sparc/cs4231.c code
   - ICE1712
     - added support for AK4529
     - added support for Midiman M-Audio Delta410
   - USB driver
     - fixed against newer USB API but allow compilation under 2.4

23 years agoALSA update
Jaroslav Kysela [Sun, 10 Nov 2002 21:58:21 +0000 (22:58 +0100)]
ALSA update
   - CS46xx driver
     - DSP is started after initializing AC97 codecs
     - rewrite SPDIF output stuff
     - variable period size support on playback and capture
     - DAC volume mechanism  rewrite
     - IEC958 input volume mechanism rewrite
     - added "AC3 Mode Switch" in mixer
     - code cleanups
   - ENS1371 driver
     - added definitions for the ES1373 chip
     - added code to control IEC958 (S/PDIF) channel status register

23 years agoALSA update
Jaroslav Kysela [Sun, 10 Nov 2002 21:47:30 +0000 (22:47 +0100)]
ALSA update
  - Moved initialization of card->id to card_register() function.
    The new default id is composed from the shortname given by driver.
  - ES18xx - Fixed power management defines
  - VIA82xx - The SG table is build inside hw_params (outside spinlock - memory allocation).

23 years agoALSA update - small patches
Jaroslav Kysela [Sun, 10 Nov 2002 21:38:21 +0000 (22:38 +0100)]
ALSA update - small patches
  - added kmalloc_nocheck and vmalloc_nocheck macros
  - PCM
    - the page callback returns 'struct page *'
    - fixed delay function (moved put_user call outside spinlock)
  - OSS PCM emulation
    - fixed read() lock when stream was terminated and no data is available
  - EMU8000
   - added 'can schedule' condition to snd_emu8000_write_wait()
  - AC'97
   - added ALC650 support
  - ALI5451
    - removed double free

23 years ago[PATCH] NFS coherency fix
Trond Myklebust [Sat, 9 Nov 2002 12:55:00 +0000 (04:55 -0800)]
[PATCH] NFS coherency fix

DOH!!! Somebody clone me a replacement brain: I must have burnt
another fuse.  It turns out the new readpages was evading our
read/write serialization.

This broke things like 'ld' over NFS, which rewrites chunks of
files it has already written.

23 years ago[PATCH] switch over loop.c to ->sendfile
Christoph Hellwig [Sat, 9 Nov 2002 10:40:34 +0000 (02:40 -0800)]
[PATCH] switch over loop.c to ->sendfile

last direct call into fs code is gone

23 years ago[PATCH] remove lock_kernel from fifo_open
Manfred Spraul [Sat, 9 Nov 2002 06:41:18 +0000 (22:41 -0800)]
[PATCH] remove lock_kernel from fifo_open

Sufficient locking for fifo_open is provided by the inode semaphore.

23 years ago[PATCH] kconfig update
Roman Zippel [Sat, 9 Nov 2002 04:26:20 +0000 (20:26 -0800)]
[PATCH] kconfig update

- fix loading of another configuration
- accept longer strings in configuration
- move conf_filename to mconf.c (it's the only user)
- fix off by one error during string scanning

23 years ago[PATCH] enhance ->sendfile(), allowing kNFSd to use it
Hirokazu Takahashi [Sat, 9 Nov 2002 01:51:19 +0000 (17:51 -0800)]
[PATCH] enhance ->sendfile(), allowing kNFSd to use it

I enhanced the sendfile method so that we could pass a proper actor to
it (which exposes the full power of the internal implementation).

Now knfsd calls the sendfile vector rather than depending on a
readpage() that hasn't been set up fully.

23 years agoMerge bk://bkbits.ras.ucalgary.ca/rgooch-2.5
Linus Torvalds [Sat, 9 Nov 2002 01:39:39 +0000 (17:39 -0800)]
Merge bk://bkbits.ras.ucalgary.ca/rgooch-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge atnf.csiro.au:/workaholix1/kernel/v2.5/linus
Richard Gooch [Sat, 9 Nov 2002 09:19:44 +0000 (09:19 +0000)]
Merge atnf.csiro.au:/workaholix1/kernel/v2.5/linus
into atnf.csiro.au:/workaholix1/kernel/v2.5/rgooch-2.5

23 years ago[PATCH] drivers/parport/parport_cs.c compilation problem
David Hinds [Sat, 9 Nov 2002 01:38:43 +0000 (17:38 -0800)]
[PATCH] drivers/parport/parport_cs.c compilation problem

Sorry, one small goof...

23 years ago[PATCH] do_nmi needs irq_enter/irq_exit lovin...
Zwane Mwaikambo [Sat, 9 Nov 2002 01:38:38 +0000 (17:38 -0800)]
[PATCH] do_nmi needs irq_enter/irq_exit lovin...

Use new "nmi_enter/exit()" which acts the same as the regular irq
entries (increases the preempt count appropriately), but doesn't try to
start processing softirqs on nmi exit (it just decreases the count).

23 years agoBit find operations return past the end on failure.
Linus Torvalds [Sat, 9 Nov 2002 01:38:27 +0000 (17:38 -0800)]
Bit find operations return past the end on failure.

23 years agoMerge http://ppc.bkbits.net/for-linus-ppc64
Linus Torvalds [Fri, 8 Nov 2002 11:40:59 +0000 (03:40 -0800)]
Merge http://ppc.bkbits.net/for-linus-ppc64
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Sat, 9 Nov 2002 22:12:57 +0000 (09:12 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/linux-2.5_ppc64_work

23 years agoMerge samba.org:/scratch/anton/linux-2.5_ppc64
Anton Blanchard [Sat, 9 Nov 2002 06:56:00 +0000 (17:56 +1100)]
Merge samba.org:/scratch/anton/linux-2.5_ppc64
into samba.org:/scratch/anton/linux-2.5_ppc64_work

23 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Sat, 9 Nov 2002 06:51:09 +0000 (17:51 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/linux-2.5_ppc64_work

23 years agoppc64: fix misc_register usage from Michael Still
Anton Blanchard [Sat, 9 Nov 2002 06:43:06 +0000 (17:43 +1100)]
ppc64: fix misc_register usage from Michael Still

23 years agoMerge samba.org:/home/anton/ppc64/for-linus-ppc64-new
Anton Blanchard [Sat, 9 Nov 2002 06:24:47 +0000 (17:24 +1100)]
Merge samba.org:/home/anton/ppc64/for-linus-ppc64-new
into samba.org:/home/anton/ppc64/for-linus-ppc64

23 years agoMerge bk://ppc.bkbits.net/for-linus-ppc64
Anton Blanchard [Sat, 9 Nov 2002 06:09:50 +0000 (17:09 +1100)]
Merge bk://ppc.bkbits.net/for-linus-ppc64
into samba.org:/home/anton/ppc64/for-linus-ppc64

23 years agoppc64: merge some ioctl32.c changes from sparc64
Anton Blanchard [Sat, 9 Nov 2002 06:04:23 +0000 (17:04 +1100)]
ppc64: merge some ioctl32.c changes from sparc64

23 years agoppc64: initramfs update
Anton Blanchard [Fri, 8 Nov 2002 23:24:54 +0000 (10:24 +1100)]
ppc64: initramfs update

23 years agoppc64: defconfig update
Anton Blanchard [Fri, 8 Nov 2002 11:37:37 +0000 (22:37 +1100)]
ppc64: defconfig update

23 years ago[PATCH] Lift the 256 outstanding NFS read/write request limit.
Trond Myklebust [Fri, 8 Nov 2002 11:35:01 +0000 (03:35 -0800)]
[PATCH] Lift the 256 outstanding NFS read/write request limit.

Given the previous set of patches that integrate NFS with the VM +
pdflush memory control, and add mechanisms to cope with low memory
conditions, the time is now ripe to rip out the 256 outstanding
request limit, as well as the associated LRU list in the superblock,
and the nfs_flushd daemon.

The following patch offers a 30% speed increase on my test setup with
512MB of core memory (iozone using 4 threads each writing a 512MB file
over 100Mbit to a Solaris server). Setting mem=64m, I still see a 2-3%
speed increase.

23 years ago[PATCH] slabify the sunrpc layer
Trond Myklebust [Fri, 8 Nov 2002 11:31:34 +0000 (03:31 -0800)]
[PATCH] slabify the sunrpc layer

In order to better cope with low memory conditions, add slabs for
struct rpc_task and 'small' RPC buffers of <= 2k. Protect these using
mempools.

The only case where we appear to use buffers of > 2k is when
symlinking, and is due to the fact that the path can be up to 4k in
length. For the moment, we just use kmalloc(), but it may be worth it
some time in the near future to convert nfs_symlink() to use pages.

23 years ago[PATCH] Typo in ide
Pavel Machek [Fri, 8 Nov 2002 11:31:28 +0000 (03:31 -0800)]
[PATCH] Typo in ide

Tiny cleanups in IDE...

23 years ago[PATCH] remove obsolete powermac drivers
Paul Mackerras [Fri, 8 Nov 2002 11:31:24 +0000 (03:31 -0800)]
[PATCH] remove obsolete powermac drivers

This removes two drivers from drivers/macintosh.  The files affected are
all in drivers/macintosh.  First, the patch removes the old macintosh
ADB keyboard driver and the macintosh keymap file, which are no longer
used now that we use the input layer and the adbhid.c driver.  Secondly,
it removes the drivers/macintosh/rtc.c driver, which was only ever used
on PPC, and which is obsolete now that we use the drivers/char/genrtc.c
driver instead.

23 years ago[PATCH] Update ADB drivers in 2.5
Paul Mackerras [Fri, 8 Nov 2002 11:30:02 +0000 (03:30 -0800)]
[PATCH] Update ADB drivers in 2.5

This updates the ADB driver and the three low-level ADB bus adaptor
drivers used on powermacs.  The files affected are all in
drivers/macintosh; they are adb.c, macio-adb.c, via-cuda.c and
via-pmu.c.

The main changes in this patch are:

- Remove the use of global cli/sti and replace them with local cli/sti,
  spinlocks and semaphores as appropriate.
- Use DECLARE_WORK/schedule_work instead of tq_struct/schedule_task.
- Improvements to the PMU interrupt handling and sleep/wakeup code.

23 years ago[PATCH] RTO estimator cleanup patch
Chuck Lever [Fri, 8 Nov 2002 11:28:49 +0000 (03:28 -0800)]
[PATCH] RTO estimator cleanup patch

clean up RPC client's RTO estimator.

23 years ago[PATCH] fix jiffies wrap in new RPC RTO estimator
Chuck Lever [Fri, 8 Nov 2002 11:28:43 +0000 (03:28 -0800)]
[PATCH] fix jiffies wrap in new RPC RTO estimator

the new RPC RTO estimator has some jiffies wrap problems.

23 years ago[PATCH] use C99 static struct initializers
Chuck Lever [Fri, 8 Nov 2002 11:28:38 +0000 (03:28 -0800)]
[PATCH] use C99 static struct initializers

fix up the last remaining static struct initializers in the RPC client and
portmapper.

23 years ago[PATCH] minor TCP connect cleanup
Chuck Lever [Fri, 8 Nov 2002 11:25:23 +0000 (03:25 -0800)]
[PATCH] minor TCP connect cleanup

TCP connect semantics now assume the rpciod is already running, so there
is no longer a need to bump the rpciod semaphor when connecting or closing
an RPC over TCP transport socket.

23 years ago[PATCH] remove unused RPC cruft
Chuck Lever [Fri, 8 Nov 2002 11:25:18 +0000 (03:25 -0800)]
[PATCH] remove unused RPC cruft

smaller patch that removes unused RPC cruft.

23 years ago[PATCH] remove unused NFS cruft
Chuck Lever [Fri, 8 Nov 2002 11:25:13 +0000 (03:25 -0800)]
[PATCH] remove unused NFS cruft

remove some definitions and declarations that are no longer used.

23 years ago[PATCH] remove unused cl_flags field
Chuck Lever [Fri, 8 Nov 2002 11:25:07 +0000 (03:25 -0800)]
[PATCH] remove unused cl_flags field

The RPC clnt struct has a cl_flags field with one bit defined (in an NFS
header, no less).  no one ever sets the flag, so remove flag, field, and
test in NFSv2 XDR routines that check for the flag.

23 years ago[PATCH] remove unused NFS and RPC headers
Chuck Lever [Fri, 8 Nov 2002 11:25:02 +0000 (03:25 -0800)]
[PATCH] remove unused NFS and RPC headers

23 years agoMerge bk://are.twiddle.net/axp-2.5
Linus Torvalds [Fri, 8 Nov 2002 11:07:51 +0000 (03:07 -0800)]
Merge bk://are.twiddle.net/axp-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoppc64: small fixes for updates in BK
Anton Blanchard [Fri, 8 Nov 2002 11:06:28 +0000 (22:06 +1100)]
ppc64: small fixes for updates in BK

23 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Fri, 8 Nov 2002 10:01:04 +0000 (21:01 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/linux-2.5_ppc64_work

23 years agoMerge samba.org:/home/anton/ppc64/linux-2.5
Anton Blanchard [Fri, 8 Nov 2002 09:55:55 +0000 (20:55 +1100)]
Merge samba.org:/home/anton/ppc64/linux-2.5
into samba.org:/home/anton/ppc64/for-linus-ppc64-new

23 years agoMerge bk://ppc.bkbits.net/for-linus-ppc64
Anton Blanchard [Fri, 8 Nov 2002 09:45:17 +0000 (20:45 +1100)]
Merge bk://ppc.bkbits.net/for-linus-ppc64
into samba.org:/home/anton/ppc64/for-linus-ppc64

23 years agoAvoid compiler warning. [un]likely() wants a boolean, not a pointer expression.
Linus Torvalds [Fri, 8 Nov 2002 07:32:05 +0000 (23:32 -0800)]
Avoid compiler warning. [un]likely() wants a boolean, not a pointer expression.

23 years ago[PATCH] add a description to flat.h
Christoph Hellwig [Fri, 8 Nov 2002 07:27:09 +0000 (23:27 -0800)]
[PATCH] add a description to flat.h

23 years ago[PATCH] uClinux pgprot bits
Christoph Hellwig [Fri, 8 Nov 2002 07:27:03 +0000 (23:27 -0800)]
[PATCH] uClinux pgprot bits

23 years ago[PATCH] mpage.c is missing a include
Christoph Hellwig [Fri, 8 Nov 2002 07:26:57 +0000 (23:26 -0800)]
[PATCH] mpage.c is missing a include

Most arches seem to pull in mm.h in implictly, but at least m68knommu
needs it explicitly.

23 years ago[PATCH] Fix sscanf("-1", "%d", &i)
Randy Dunlap [Fri, 8 Nov 2002 06:18:25 +0000 (22:18 -0800)]
[PATCH] Fix sscanf("-1", "%d", &i)

23 years ago[PATCH] cpufreq: correct initialization on Intel Coppermines
Dominik Brodowski [Fri, 8 Nov 2002 06:14:38 +0000 (22:14 -0800)]
[PATCH] cpufreq: correct initialization on Intel Coppermines

cpufreq: Intel Coppermines -- the saga continues.

The detection process for speedstep-enabled Pentium III Coppermines is
considered proprietary by Intel.  The attempt to detect this capability
using MSRs failed.

So, users need to pass the option "speedstep_coppermine=1" to the kernel
(boot option or parameter) if they own a SpeedStep capable PIII
Coppermine processor.  Tualatins work as before.

23 years ago[PATCH] move _STK_LIM to <linux_resource.h>
Tim Schmielau [Fri, 8 Nov 2002 06:12:48 +0000 (22:12 -0800)]
[PATCH] move _STK_LIM to <linux_resource.h>

I don't see any connection between the stack limit and scheduling.  So I
think _STK_LIMIT is better defined in <linux/resource.h> than in
<linux/sched.h>.

The only place STK_LIM is used is in <asm/resource.h>, which only gets
included by <linux/resource.h>, so no change in #includes is necessary.

23 years ago[PATCH] Small fix for Documentation_Changes (2.5)
Vincent Béron [Fri, 8 Nov 2002 06:12:38 +0000 (22:12 -0800)]
[PATCH] Small fix for Documentation_Changes (2.5)

23 years ago[PATCH] Clean up nbd.c
Pavel Machek [Fri, 8 Nov 2002 06:12:28 +0000 (22:12 -0800)]
[PATCH] Clean up nbd.c

I've never seen any of those errors, so I guess its okay to convert them
to BUG_ONs.  It makes code look better.

23 years ago[PATCH] [Trivial Patch] journal_documentation-001
Michael Still [Fri, 8 Nov 2002 06:12:17 +0000 (22:12 -0800)]
[PATCH] [Trivial Patch] journal_documentation-001

This corrects DocBook formatting errors in the journalling API
documentation which stopped a "make psdocs" from working

23 years ago[PATCH] Fix name of discarded section in modules.h
Peter Chubb [Fri, 8 Nov 2002 06:12:08 +0000 (22:12 -0800)]
[PATCH] Fix name of discarded section in modules.h

  Changeset
        willy@debian.org|ChangeSet|20021016154637|46581

in linux 2.5 changed the name of .exit.text to .text.exit.

Unfortunately, one change got missed.  Fix.

23 years ago[PATCH] 2.4 drivers_char_random.c fix sample shellscripts
Dave Maietta [Fri, 8 Nov 2002 06:11:58 +0000 (22:11 -0800)]
[PATCH] 2.4 drivers_char_random.c fix sample shellscripts

This fixes the sample shellscripts given in the comments of
drivers/char/random.c.

The scripts save and restore random seeds for /dev/random across
reboots.

23 years ago[PATCH] vmalloc.h needs pgprot_t
Rusty Russell [Fri, 8 Nov 2002 06:11:48 +0000 (22:11 -0800)]
[PATCH] vmalloc.h needs pgprot_t

Again, uncovered in PPC compile.

23 years ago[PATCH] generic_fillattr() duplicate line. (fwd)
Adrian Bunk [Fri, 8 Nov 2002 06:11:38 +0000 (22:11 -0800)]
[PATCH] generic_fillattr() duplicate line. (fwd)

The duplicate line was introduced by Al's
   [PATCH] (1/5) beginning of getattr series.
patch and is still present in 2.5.45.

23 years ago[PATCH] added include needed to compile centaur.c for 2.5.46-bk1
James McMechan [Fri, 8 Nov 2002 06:11:28 +0000 (22:11 -0800)]
[PATCH] added include needed to compile centaur.c for 2.5.46-bk1

23 years ago[PATCH] designated initializer patches for fs_devfs
Art Haas [Fri, 8 Nov 2002 06:11:19 +0000 (22:11 -0800)]
[PATCH] designated initializer patches for fs_devfs

23 years ago[PATCH] Labeled elements are not a GNU extension
Adrian Bunk [Fri, 8 Nov 2002 06:11:09 +0000 (22:11 -0800)]
[PATCH] Labeled elements are not a GNU extension

Labeled elements are not a GNU extension but part of C99.

23 years ago[PATCH] fix do_timer.h compiler warning
Jan Marek [Fri, 8 Nov 2002 06:10:58 +0000 (22:10 -0800)]
[PATCH] fix do_timer.h compiler warning

warning: implicit declaration of function `smp_local_timer_interrupt'

23 years ago[PATCH] fix documentation in include_asm-i386_bitops.h
Vitezslav Samel [Fri, 8 Nov 2002 06:10:47 +0000 (22:10 -0800)]
[PATCH] fix documentation in include_asm-i386_bitops.h

 When I was searching for prototype for set_bit() I found IMHO wrong doc
entries in include/asm-i386/bitops.h.

23 years ago[PATCH] enable ide to use bios timings
Jens Axboe [Fri, 8 Nov 2002 05:59:54 +0000 (21:59 -0800)]
[PATCH] enable ide to use bios timings

This is the 2nd version Torben did, basically the same as the one from
yesterday but with symbolic tune defines instead of more magic numbers.
I think the feature is good to have, and it would even allow good ide
performance even for an unsupported chipset as long as the bios sets the
timings right.

From Torben Mathiasen.

23 years ago[PATCH] add missing jfs_acl.h
Steve Best [Fri, 8 Nov 2002 05:57:22 +0000 (21:57 -0800)]
[PATCH] add missing jfs_acl.h

23 years ago[PATCH] Update pci id for ALi chipset series
T. H. Chou [Fri, 8 Nov 2002 05:55:30 +0000 (21:55 -0800)]
[PATCH] Update pci id for ALi chipset series

23 years ago[PATCH] make 16 the default fifo_batch count
Jens Axboe [Fri, 8 Nov 2002 05:50:13 +0000 (21:50 -0800)]
[PATCH] make 16 the default fifo_batch count

Lets just make the default fifo_batch count 16. I see a slight slope in
throughput, but the various interactiveness improvements are worth it,
imho. Plus this gets Andrew of my back, he's been lobbying for this for
a while.

23 years ago[PATCH] soft and hard barriers
Jens Axboe [Fri, 8 Nov 2002 05:50:01 +0000 (21:50 -0800)]
[PATCH] soft and hard barriers

Right now we have one type of barrier in the block layer, and that is
used mainly for making sure that the io scheduler doesn't reorder
requests when we don't want it to.  We also need a flag to tell the io
scheduler and low level queue that this is a barrier.  So basically two
needs:

o software barrier, prevents the io scheduler from reordering
o hardware barrier, driver must prevent drive from reordering

So this patch gets rid of REQ_BARRIER and instead adds REQ_SOFTBARRIER
and REQ_HARDBARRIER.

23 years ago[PATCH] ide-cd patchlet
Jens Axboe [Fri, 8 Nov 2002 05:49:48 +0000 (21:49 -0800)]
[PATCH] ide-cd patchlet

o Correct printk() format, from Marcelo Roberto Jimenez
o Check for NULL address in cdrom_newpc_intr() and bail

23 years ago[PATCH] block_loop.c kfree error
Marcus Alanen [Fri, 8 Nov 2002 05:49:38 +0000 (21:49 -0800)]
[PATCH] block_loop.c kfree error

Label in wrong place.

23 years ago[PATCH] add an NFS memory pool
Trond Myklebust [Fri, 8 Nov 2002 05:48:07 +0000 (21:48 -0800)]
[PATCH] add an NFS memory pool

Ensure that we can still flush out a minimum number of read, write,
and commit requests if memory gets low.

23 years ago[PATCH] Make nfs_find_request() scale
Trond Myklebust [Fri, 8 Nov 2002 05:47:55 +0000 (21:47 -0800)]
[PATCH] Make nfs_find_request() scale

nfs_find_request() needs to be called every time we schedule a write
on the page cache. Currently it is implemented as a linked list which
needs to be traversed completely in the case where we don't already
have a pending write request on the page in question.

The following patch adopts the new radix tree, as is already used in
the page cache. Performance change is more or less negligeable with
the current hard limit of 256 outstanding write requests per mount.

However when I remove this limit then the old nfs_find_request()
actually results in a 50% reduction in speed on my benchmark test
(iozone with 4 threads each writing a 512Mb file on a 512Mb Linux
client against a Solaris server on 100Mbit switched net). With this
patch, the result for the same benchmark is a 50% increase in speed.

23 years ago[PATCH] Add nfs_writepages & backing_dev...
Trond Myklebust [Fri, 8 Nov 2002 05:47:43 +0000 (21:47 -0800)]
[PATCH] Add nfs_writepages & backing_dev...

The following patch adds a simple ->writepages method that interprets
the extra information passed down in Andrew's writeback_control
structure, and translates it into nfs-speak.

It also adds a backing_dev_info structure that scales the readahead in
terms of the rsize. Maximum readahead is still 128k if you use 32k
rsize, but it is scaled down to 4k if you use 1k rsize.

23 years ago[PATCH] exec.c uClinux bits
Christoph Hellwig [Fri, 8 Nov 2002 05:47:32 +0000 (21:47 -0800)]
[PATCH] exec.c uClinux bits

Stub out put_dirty_page and setup_arg_pages for !CONFIG_MMU and add
free_arg_pages that frees all arg pages (noop for CONFIG_MMU)

23 years ago[PATCH] ksize of uClinux
Christoph Hellwig [Fri, 8 Nov 2002 05:47:21 +0000 (21:47 -0800)]
[PATCH] ksize of uClinux

find out the effective size of a kmalloc()ed object, needed by uClinux
but also usefull for the "normal" ports, thus not ifdef'ed.

23 years ago[PATCH] page zero is not mapped on m68knommu
Christoph Hellwig [Fri, 8 Nov 2002 05:47:10 +0000 (21:47 -0800)]
[PATCH] page zero is not mapped on m68knommu

23 years agoMerge bk://ppc.bkbits.net/for-linus-ppc64
Anton Blanchard [Fri, 8 Nov 2002 04:56:09 +0000 (15:56 +1100)]
Merge bk://ppc.bkbits.net/for-linus-ppc64
into samba.org:/home/anton/ppc64/for-linus-ppc64

23 years ago[PATCH] The epoll saga continues ...
Davide Libenzi [Fri, 8 Nov 2002 03:54:55 +0000 (19:54 -0800)]
[PATCH] The epoll saga continues ...

Proper wakeup code in ep_insert and ep_modify

23 years ago[PATCH] Fix ALSA emu10k1 bass control
Rob Weryk [Fri, 8 Nov 2002 03:25:49 +0000 (19:25 -0800)]
[PATCH] Fix ALSA emu10k1 bass control

This trivial patch fixes a mixer problem with the emu10k1 driver in
ALSA.  In sound/pci/emu10k1/emufx.c, the line

static const u32 bass_table[41][5] = {

only has 40 lines defined, instead of 41.  This results in no sound
output when the bass control is set at 100% (but works fine at 98%) I
added the missing line, which is present in the OSS emu10k1 driver.

23 years ago[PATCH] let binfmt_misc optionally preserve argv[1]
David Mosberger [Fri, 8 Nov 2002 03:23:22 +0000 (19:23 -0800)]
[PATCH] let binfmt_misc optionally preserve argv[1]

This makes it possible for binfmt_misc to optionally preserve the
contents of argv[1].  This is needed for building accurate simulators
which are invoked via binfmt_misc.  I had brought up this patch a while
ago (see URL below) and there was no negative feedback (OK, there was no
feedback at all...  ;-).

The patch is trivial and the new behavior is triggered only if the
letter "P" (for "preserve") is appended to the binfmt_misc registration
string, so it shold be completely safe.

23 years ago[PATCH] C99 designated initializers for drivers/char
Art Haas [Fri, 8 Nov 2002 03:22:02 +0000 (19:22 -0800)]
[PATCH] C99 designated initializers for drivers/char

23 years ago[PATCH] C99 designated initializer for include/linux/cpufreq.h
Art Haas [Fri, 8 Nov 2002 03:19:17 +0000 (19:19 -0800)]
[PATCH] C99 designated initializer for include/linux/cpufreq.h

23 years ago[PATCH] C99 designated initializers for fs/fat
Art Haas [Fri, 8 Nov 2002 03:19:07 +0000 (19:19 -0800)]
[PATCH] C99 designated initializers for fs/fat

23 years ago[PATCH] C99 designated initializers for fs/umsdos
Art Haas [Fri, 8 Nov 2002 03:18:57 +0000 (19:18 -0800)]
[PATCH] C99 designated initializers for fs/umsdos

23 years ago[PATCH] C99 designated initializers for fs/affs
Art Haas [Fri, 8 Nov 2002 03:18:46 +0000 (19:18 -0800)]
[PATCH] C99 designated initializers for fs/affs

23 years ago[PATCH] C99 designated initializer for kernel/cpufreq.c
Art Haas [Fri, 8 Nov 2002 03:18:36 +0000 (19:18 -0800)]
[PATCH] C99 designated initializer for kernel/cpufreq.c

23 years agoMerge master.kernel.org:/home/davem/BK/net-2.5
Linus Torvalds [Fri, 8 Nov 2002 01:16:18 +0000 (17:16 -0800)]
Merge master.kernel.org:/home/davem/BK/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoFrom Rick Lindsley <ricklind@us.ibm.com>: missing return value
Linus Torvalds [Fri, 8 Nov 2002 01:14:40 +0000 (17:14 -0800)]
From Rick Lindsley <ricklind@us.ibm.com>: missing return value
in sysfs partition code.