]> git.hungrycats.org Git - linux/log
linux
22 years agoLinux v2.5.36 v2.5.36
Linus Torvalds [Tue, 17 Sep 2002 10:54:40 +0000 (03:54 -0700)]
Linux v2.5.36

22 years ago[PATCH] sparc64 2.5.x file corruptions found
David S. Miller [Tue, 17 Sep 2002 10:48:04 +0000 (03:48 -0700)]
[PATCH] sparc64 2.5.x file corruptions found

Andrew removed a flush_dcache_page in his kmap_atomic generic_file_*
changes.

Doing that sort of corrupts data on some platforms.

22 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.make
Linus Torvalds [Tue, 17 Sep 2002 10:45:26 +0000 (03:45 -0700)]
Merge http://linux-isdn.bkbits.net/linux-2.5.make
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agokbuild: Handle vmlinux linkscript from common code
Kai Germaschewski [Tue, 17 Sep 2002 14:19:31 +0000 (09:19 -0500)]
kbuild: Handle vmlinux linkscript from common code

Now that all archs use the same way to generate the link script, we can
handle it from the common top-level Makefile instead of the individual
arch/*/Makefile's.

22 years agokbuild: Fix up MIPS vmlinux.lds.S
Kai Germaschewski [Tue, 17 Sep 2002 13:38:51 +0000 (08:38 -0500)]
kbuild: Fix up MIPS vmlinux.lds.S

Untested, but at least it should show how to adapt the mips arch.

22 years agokbuild: Fix up CRIS vmlinux.lds.S
Kai Germaschewski [Tue, 17 Sep 2002 13:37:55 +0000 (08:37 -0500)]
kbuild: Fix up CRIS vmlinux.lds.S

Untested, but at least it should show how to adapt the cris arch.

22 years agokbuild: Convert arm vmlinux.lds generation
Kai Germaschewski [Tue, 17 Sep 2002 13:23:35 +0000 (08:23 -0500)]
kbuild: Convert arm vmlinux.lds generation

This is an untested attempt to convert ARM to preprocessing vmlinux.lds.S
instead of running sed on it - This probably allows for further cleanup,
but I'll leave that to _rmk_.

22 years agokbuild: Preprocess vmlinux.lds.S on all archs
Kai Germaschewski [Tue, 17 Sep 2002 13:15:32 +0000 (08:15 -0500)]
kbuild: Preprocess vmlinux.lds.S on all archs

For consistency reasons, generate

arch/$(ARCH)/vmlinux.lds.s

from

  arch/$(ARCH)/vmlinux.lds.S

on all archs, even those which do not need preprocessing (yet).

22 years agokbuild: vmlinux.lds.s needs dependency on scripts/fixdep
Kai Germaschewski [Tue, 17 Sep 2002 12:57:38 +0000 (07:57 -0500)]
kbuild: vmlinux.lds.s needs dependency on scripts/fixdep

Sam Ravnborg:

Yep, "if_changed_dep" uses fixdep, so a dependency to scripts is needed.
Added echo_target as well, so the result file is printed as well.

22 years agoMerge bk://linuxconsole.bkbits.net/stable
Linus Torvalds [Tue, 17 Sep 2002 05:54:31 +0000 (22:54 -0700)]
Merge bk://linuxconsole.bkbits.net/stable
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] remove pdc202xx.h
Jens Axboe [Tue, 17 Sep 2002 05:47:25 +0000 (22:47 -0700)]
[PATCH] remove pdc202xx.h

remove unused pdc202xx.h

22 years agoRemove IDE "panic on controller remove" code, since it does nothing,
Linus Torvalds [Tue, 17 Sep 2002 04:37:30 +0000 (21:37 -0700)]
Remove IDE "panic on controller remove" code, since it does nothing,
but makes it impossible to shut down cleanly.

22 years agoRenames console.c and vt.c. The idea is to break these massive files into smaller...
James Simmons [Tue, 17 Sep 2002 04:27:46 +0000 (21:27 -0700)]
Renames console.c and vt.c. The idea is to break these massive files into smaller ones. The main goal is to move all the high end tterminal emulation into one file. This way we can have a light weight printk without the extra weight. nice for embedded systems.

22 years agoRemoved selection.h header. It is not needed and in the future selections will be...
James Simmons [Tue, 17 Sep 2002 04:07:57 +0000 (21:07 -0700)]
Removed selection.h header. It is not needed and in the future selections will be a pure userland solution. Use set_current_state instead in tty_ioctl.c.

22 years agoThese files missed the handle_sysrq change.
James Simmons [Tue, 17 Sep 2002 03:30:14 +0000 (20:30 -0700)]
These files missed the handle_sysrq change.

22 years agoMerge http://linuxconsole.bkbits.net/stable
James Simmons [Tue, 17 Sep 2002 02:34:34 +0000 (19:34 -0700)]
Merge http://linuxconsole.bkbits.net/stable
into maxwell.earthlink.net:/usr/src/console-stable

22 years agoMerge http://linux-ntfs.bkbits.net/ntfs-2.5
Linus Torvalds [Tue, 17 Sep 2002 02:10:13 +0000 (19:10 -0700)]
Merge http://linux-ntfs.bkbits.net/ntfs-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge cantab.net:/usr/src/bklinux-2.5 into cantab.net:/usr/src/ntfs-2.5
Anton Altaparmakov [Tue, 17 Sep 2002 16:58:31 +0000 (17:58 +0100)]
Merge cantab.net:/usr/src/bklinux-2.5 into cantab.net:/usr/src/ntfs-2.5

22 years ago[PATCH] hpt366 pci_tbl booboo
Jens Axboe [Tue, 17 Sep 2002 01:30:07 +0000 (18:30 -0700)]
[PATCH] hpt366 pci_tbl booboo

hpt366 pci_tbl has a cut-n-paste error, last entry should be '4' and not
15. fixes a bug where hpt366_init_one() gets passed bogus
id->driver_data and thus goes way beyond hpt366_chipsets[]

22 years agoMerge bk://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Mon, 16 Sep 2002 08:27:57 +0000 (01:27 -0700)]
Merge bk://linuxusb.bkbits.net/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMake "in_atomic()" work right with preempt enabled
Linus Torvalds [Mon, 16 Sep 2002 07:59:41 +0000 (00:59 -0700)]
Make "in_atomic()" work right with preempt enabled

22 years agoUSB: convert the USB drivers that live outside of drivers/usb to the new USB driver...
Greg Kroah-Hartman [Mon, 16 Sep 2002 07:45:30 +0000 (00:45 -0700)]
USB: convert the USB drivers that live outside of drivers/usb to the new USB driver model.

22 years agoUSB: convert the drivers/usb/storage files to the new USB driver model.
Greg Kroah-Hartman [Mon, 16 Sep 2002 07:44:48 +0000 (00:44 -0700)]
USB: convert the drivers/usb/storage files to the new USB driver model.

22 years agoUSB: convert the drivers/usb/net files to the new USB driver model.
Greg Kroah-Hartman [Mon, 16 Sep 2002 07:42:29 +0000 (00:42 -0700)]
USB: convert the drivers/usb/net files to the new USB driver model.

Note the cdc-ether.c driver does NOT work properly now, someone who
understands the interface mess in that driver needs to fix it up.

22 years agoUSB: convert the drivers/usb/misc files to the new USB driver model.
Greg Kroah-Hartman [Mon, 16 Sep 2002 07:40:36 +0000 (00:40 -0700)]
USB: convert the drivers/usb/misc files to the new USB driver model.

22 years agoUSB: convert the drivers/usb/media files to the new USB driver model.
Greg Kroah-Hartman [Mon, 16 Sep 2002 07:37:15 +0000 (00:37 -0700)]
USB: convert the drivers/usb/media files to the new USB driver model.

22 years agoUSB: convert the drivers/usb/input files to the new USB driver model.
Greg Kroah-Hartman [Mon, 16 Sep 2002 07:36:29 +0000 (00:36 -0700)]
USB: convert the drivers/usb/input files to the new USB driver model.

22 years agoUSB: convert the drivers/usb/image files to the new USB driver model.
Greg Kroah-Hartman [Mon, 16 Sep 2002 07:35:48 +0000 (00:35 -0700)]
USB: convert the drivers/usb/image files to the new USB driver model.

22 years agoUSB: convert the drivers/usb/class files to the new USB driver model.
Greg Kroah-Hartman [Mon, 16 Sep 2002 07:34:49 +0000 (00:34 -0700)]
USB: convert the drivers/usb/class files to the new USB driver model.

22 years agoUSB: convert usb-serial drivers to new driver model.
Greg Kroah-Hartman [Mon, 16 Sep 2002 07:34:00 +0000 (00:34 -0700)]
USB: convert usb-serial drivers to new driver model.

This adds the requirement that the usb-serial drivers call
usb_register() and usb_unregister() themselves, instead of having
the usbserial.c file do it.  Step one in moving the usbserial.c
code to being a "class"  :)

22 years agoUSB: Convert the core code to use struct device_driver.
Greg Kroah-Hartman [Mon, 16 Sep 2002 07:27:53 +0000 (00:27 -0700)]
USB: Convert the core code to use struct device_driver.

22 years agoDriver Model: fix oops when device is removed from system
Greg Kroah-Hartman [Mon, 16 Sep 2002 07:16:16 +0000 (00:16 -0700)]
Driver Model: fix oops when device is removed from system

22 years agoDriver Model: add dev_get_drvdata() and dev_set_drvdata() functions
Greg Kroah-Hartman [Mon, 16 Sep 2002 07:15:26 +0000 (00:15 -0700)]
Driver Model: add dev_get_drvdata() and dev_set_drvdata() functions

22 years agoUSB: change the contact email address for the omninet driver
Greg Kroah-Hartman [Mon, 16 Sep 2002 07:14:26 +0000 (00:14 -0700)]
USB: change the contact email address for the omninet driver

22 years ago[PATCH] ov511 1.62 for 2.5.34
Mark W. McClelland [Mon, 16 Sep 2002 06:28:01 +0000 (23:28 -0700)]
[PATCH] ov511 1.62 for 2.5.34

 Update the ov511 driver to version 1.62:
 o Update email address
 o Remove some dead code and fix some harmless typos
 o New device: Alpha Vision Tech. AlphaCam SE
 o Fix assignment of ov->proc_button->owner to not cause
   NULL pointer deref (credit: Oleg K.)
 o Support I2C read/write ioctl()s via V4L (credit: Oleg K.)
 o Add OV518-specific register dump code
 o New snapshot reset sequence; old one was causing
   erroneous I2C writes (credit: Oleg K.)
 o OV6630 needs different register 0x14 settings than OV6620
 o Don't print palette errors by default
 o Detect OV518 cameras that have packet numbering enabled
   by default and set ov->packet_numbering accordingly. This
   should fix the problems some users were having with babble
   (USB error -75) and cameras not working at all.

22 years agoMerge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
Greg Kroah-Hartman [Mon, 16 Sep 2002 06:12:10 +0000 (23:12 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.5

22 years agoMerge cantab.net:/usr/src/bklinux-2.5 into cantab.net:/usr/src/ntfs-2.5
Anton Altaparmakov [Mon, 16 Sep 2002 05:49:51 +0000 (06:49 +0100)]
Merge cantab.net:/usr/src/bklinux-2.5 into cantab.net:/usr/src/ntfs-2.5

22 years ago[PATCH] CPU detection fixes...
H. Peter Anvin [Mon, 16 Sep 2002 04:27:07 +0000 (21:27 -0700)]
[PATCH] CPU detection fixes...

I noticed a kluge had been put into 2.5.35, to cover up *one* of the
errors caused by a particular bug that was introduced when Patrick
Mochel split up arch/i386/kernel/setup.c: he incorrectly thought the
AMD-defined CPUID levels were AMD-specific; they're not -- every other
x86 vendors *including* Intel uses them as well.

This also adds the "i686" hack for TM5xxx that was added in 2.4 recently.

22 years agoMerge master.kernel.org:/home/hch/BK/xfs/linux-2.5
Linus Torvalds [Mon, 16 Sep 2002 04:05:32 +0000 (21:05 -0700)]
Merge master.kernel.org:/home/hch/BK/xfs/linux-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years ago[PATCH] USB storage: add error checks, remove useless code
Matthew Dharm [Mon, 16 Sep 2002 03:31:51 +0000 (20:31 -0700)]
[PATCH] USB storage: add error checks, remove useless code

This patch removes attempts to clear halts on a control endpoint (think
about it for a minute if you don't see why this is pointless....) and also
adds return-code checks for all places where halts are cleared.

This _should_ be just redundant code, but recent tests suggest that this
is, in fact, not the case.  People should _heavily_ test this patch.  I'm
going to pause here for a while (in the patch stream) until we've got this
sorted out -- initial results on my test setup seem to show some problems
still remain.  Where those problems are (HCD or usb-storage) remains to be
seen.

22 years ago[PATCH] USB storage: minor compilation fixes
Matthew Dharm [Mon, 16 Sep 2002 03:31:22 +0000 (20:31 -0700)]
[PATCH] USB storage: minor compilation fixes

This patch fixes up some minor compilation problems.

22 years ago[PATCH] USB storage: macro-ize address manipulation
Matthew Dharm [Mon, 16 Sep 2002 03:30:55 +0000 (20:30 -0700)]
[PATCH] USB storage: macro-ize address manipulation

This patch converts all uses of page_addres() to the sg_address() macro.
This will make backporting to 2.4 easier, as well as eliminate lots of
redundant code.

22 years ago[PATCH] USB storage: remove tests against EINPROGRESS
Matthew Dharm [Mon, 16 Sep 2002 03:30:27 +0000 (20:30 -0700)]
[PATCH] USB storage: remove tests against EINPROGRESS

This patch removes tests of urb->status for EINPROGRESS.  As was pointed
out, that's not such a good idea, for a variety of reasons.

In the process, a semaphore became useless.

22 years ago[PATCH] USB storage: Merging raw_bulk.c with transport.c
Alan Stern [Mon, 16 Sep 2002 03:30:06 +0000 (20:30 -0700)]
[PATCH] USB storage:  Merging raw_bulk.c with transport.c

Here's a very simple patch that can go into the source tree right away.
It just fixes some occurrences of the scsi result code GOOD to GOOD << 1
in isd200.c.

22 years agoMerge bk://linus.bkbits.net/linux-2.5
James Simmons [Mon, 16 Sep 2002 03:23:15 +0000 (20:23 -0700)]
Merge bk://linus.bkbits.net/linux-2.5
into maxwell.earthlink.net:/usr/src/linus-2.5

22 years agoMerge
Christoph Hellwig [Mon, 16 Sep 2002 03:15:47 +0000 (20:15 -0700)]
Merge

22 years agomerge xfs up to 2.5.35
Stephen Lord [Mon, 16 Sep 2002 16:22:20 +0000 (12:22 -0400)]
merge xfs up to 2.5.35

Date:  Mon Sep 16 09:10:25 PDT 2002
Workarea:  jen.americas.sgi.com:/src/lord/xfs-merge.2.5
Author:  lord

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.5.x-xfs

Modid:  2.5.x-xfs:slinx:127481a
linux/fs/xfs/linux/xfs_lrw.c - 1.166
linux/fs/xfs/support/time.h - 1.7
linux/fs/xfs/linux/xfs_aops.c - 1.5

22 years agoXFS: "AutoVersion"
Russell Cattelan [Mon, 16 Sep 2002 16:16:51 +0000 (12:16 -0400)]
XFS: "AutoVersion"

Date:  Fri Sep 13 14:59:34 PDT 2002
Workarea:  chuckle.americas.sgi.com:/build/lxfs-cvs/2.5.x-xfs-VER
Author:  cattelan

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.5.x-xfs

Modid:  2.5.x-xfs:slinx:127397a
linux/fs/xfs/linux/xfs_version.h - 1.2

22 years agoMerge http://linus.bkbits.net/linux-2.5
Christoph Hellwig [Mon, 16 Sep 2002 09:43:30 +0000 (05:43 -0400)]
Merge http://linus.bkbits.net/linux-2.5
into dhcp212.munich.sgi.com:/home/hch/repo/bk/linux-2.5-xfs

22 years ago[PATCH] Fusion-MPT driver update
Pam Delaney [Mon, 16 Sep 2002 02:31:42 +0000 (19:31 -0700)]
[PATCH] Fusion-MPT driver update

This updates the Fusion-MPT driver to the latest stable version.
Changes affect the driver source only.

Major Changes:
Reworked the calls save_flags, cli, restore_flags to 2.5 format.
Modified DV  invocation and to handle illegal bus configuration
Negotiation settings honor NVRAM

Bug Fix: Pushing F/W onto part during driver unload.
Bug Fix: Force F/W reset for 1030 on driver load.
Bug Fix: F/W download algorithm.
Bug Fix: Found a memory leak in mptctl.c
Bug Fix: Forcing data direction for reads and writes (sg issue)
Bug Fix: Wrong mask in Inquiry data ANSI version

Minor Changes:
Modified the debug and logging statements of the driver
Upgraded the MPI include files (lsi/)

22 years ago[PATCH] thread-exec-fix-2.5.35-A5, BK-curr
Ingo Molnar [Mon, 16 Sep 2002 02:28:22 +0000 (19:28 -0700)]
[PATCH] thread-exec-fix-2.5.35-A5, BK-curr

This fixes a number of sys_execve() problems:

 - ptrace of thread groups over exec works again.

 - if the exec() is done in a non-leader thread then we must inherit the
   parent links properly - otherwise the shell will see an early
   child-exit notification.

 - if the exec()-ing thread is detached then make it use SIGCHLD like the
   leader thread.

 - wait for the leader thread to become TASK_ZOMBIE properly -
   wait_task_inactive() alone was not enough. This should be a rare
   codepath.

now sys_execve() from thread groups works as expected in every combination
i could test: standalone, from the leader thread, from one of the child
threads, ptraced, non-ptraced, SMP and UP.

22 years agoMerge master.kernel.org:/home/dwmw2/BK/rbtree-2.5
Linus Torvalds [Mon, 16 Sep 2002 02:26:25 +0000 (19:26 -0700)]
Merge master.kernel.org:/home/dwmw2/BK/rbtree-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] IEEE-1394 updates
Ben Collins [Mon, 16 Sep 2002 01:45:50 +0000 (18:45 -0700)]
[PATCH] IEEE-1394 updates

Syncronizes with our SVN repo. Merged in all changes from your tree.

22 years agoMerge master.kernel.org:/home/hch/BK/xfs/linux-2.5
Linus Torvalds [Mon, 16 Sep 2002 01:27:50 +0000 (18:27 -0700)]
Merge master.kernel.org:/home/hch/BK/xfs/linux-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] ide irq problem
Jens Axboe [Mon, 16 Sep 2002 01:23:58 +0000 (18:23 -0700)]
[PATCH] ide irq problem

Attribution goes to Petr Vandrovec for finding and solving this one. You
probably read the mail you were cc'ed on, so I'll just mention that this
patch makes sure that the irq disabling and enabling is perfectly
balanced in the probing path. I've also looked at the multiple irq chain
problem you mentioned, and as far as I can see we are never touching the
2nd chain from within the first one. So should be ok.

I'm also including the unexpected interrupt prinkt removal.

22 years ago[PATCH] fix elevator_linus accounting
Jens Axboe [Mon, 16 Sep 2002 01:23:22 +0000 (18:23 -0700)]
[PATCH] fix elevator_linus accounting

elevator_linus is seriously broken wrt accounting. Marcelo recently took
the patch to fix it in 2.4.20-pre, here's the 2.5 equiv.

Right now, we account merges as costly and seeks as not. Only thing that
prevents seek starvation is the aging scan. That is broken, very much
so. This patch fixes that to account merges and inserts differently. A
seek is ELV_LINUS_SEEK_COST more costly than a merge, currently that
define is at '16'. Doing the math on a disk, this sort of makes sense.

Defaults are read latency of 1024, which means 1024 merges or 64 seeks.
Writes are double that.

22 years ago[PATCH] limit size of bio_vec pools
Jens Axboe [Mon, 16 Sep 2002 01:23:11 +0000 (18:23 -0700)]
[PATCH] limit size of bio_vec pools

We are currently wasting ~2MiB on the bio pools. This is ok on systems
with plenty of ram, but it's too much for a 16mb system for instance.

This patch scales the bio_vec mempool sizes a bit. The logic is mainly:

+       megabytes = nr_free_pages() >> (20 - PAGE_SHIFT);
+       if (megabytes <= 16)
+               scale = 0;
+       else if (megabytes <= 32)
+               scale = 1;
+       else if (megabytes <= 64)
+               scale = 2;
+       else if (megabytes <= 96)
+               scale = 3;
+       else if (megabytes <= 128)
+               scale = 4;

and then for mempool setup:

+               if (i >= scale)
+                       pool_entries >>= 1;
+
+               bp->pool = mempool_create(pool_entries, slab_pool_alloc,
                                        slab_pool_free, bp->slab);

So we allocate less and less entries for the bigger sized pools. It
doesn't make too much sense to fill the memory with sg tables for 256
page entries on a 16mb system.

In addition, we select a starting nr_pool_entries point, based on amount
of ram as well:

+       pool_entries = megabytes * 2;
+       if (pool_entries > 256)
+               pool_entries = 256;

The end-result is that on a 128mb system, it looks like:

BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]:   1 bvecs: 244 entries (12 bytes)
biovec pool[1]:   4 bvecs: 244 entries (48 bytes)
biovec pool[2]:  16 bvecs: 244 entries (192 bytes)
biovec pool[3]:  64 bvecs: 244 entries (768 bytes)
biovec pool[4]: 128 bvecs: 122 entries (1536 bytes)
biovec pool[5]: 256 bvecs:  61 entries (3072 bytes)

ie a total of ~620KiB used. Booting with mem=32m gives us:

BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]:   1 bvecs:  56 entries (12 bytes)
biovec pool[1]:   4 bvecs:  28 entries (48 bytes)
biovec pool[2]:  16 bvecs:  14 entries (192 bytes)
biovec pool[3]:  64 bvecs:   7 entries (768 bytes)
biovec pool[4]: 128 bvecs:   3 entries (1536 bytes)
biovec pool[5]: 256 bvecs:   1 entries (3072 bytes)

ie a total of ~31KiB. Booting with 512mb makes it:

BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]:   1 bvecs: 256 entries (12 bytes)
biovec pool[1]:   4 bvecs: 256 entries (48 bytes)
biovec pool[2]:  16 bvecs: 256 entries (192 bytes)
biovec pool[3]:  64 bvecs: 256 entries (768 bytes)
biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)

which is the same as before. The cut-off point is somewhere a bit over
256mb. Andrew suggested we may want to 'cheat' a bit here, and leave the
busy pools alone. We know that mpage is going to be heavy on the 16
entry pool, so it migh make sense to make such a pool and not scale
that. We can deal with that later, though.

22 years agoide.h needs to include pci.h
Jens Axboe [Mon, 16 Sep 2002 17:50:54 +0000 (19:50 +0200)]
ide.h needs to include pci.h

22 years agopiix_pci_info() needs to be __initdata, not __devinit
Jens Axboe [Mon, 16 Sep 2002 17:27:32 +0000 (19:27 +0200)]
piix_pci_info() needs to be __initdata, not __devinit

22 years agoMistakenly enabled ide-tape, disable it again (update of it is broken)
Jens Axboe [Mon, 16 Sep 2002 17:08:04 +0000 (19:08 +0200)]
Mistakenly enabled ide-tape, disable it again (update of it is broken)

22 years agoUpdate promise drivers to new ide pci init scheme, remove now unused
Jens Axboe [Mon, 16 Sep 2002 16:58:09 +0000 (18:58 +0200)]
Update promise drivers to new ide pci init scheme, remove now unused
old pdc202xx.c

22 years agoNew IDE pci low level driver setup scheme
Jens Axboe [Mon, 16 Sep 2002 16:56:48 +0000 (18:56 +0200)]
New IDE pci low level driver setup scheme

22 years agoMissing module_init()
Jens Axboe [Mon, 16 Sep 2002 16:55:49 +0000 (18:55 +0200)]
Missing module_init()

22 years agoMove pio setup and blacklists to ide-lib
Jens Axboe [Mon, 16 Sep 2002 16:54:59 +0000 (18:54 +0200)]
Move pio setup and blacklists to ide-lib

22 years agoMissing exports
Jens Axboe [Mon, 16 Sep 2002 16:54:20 +0000 (18:54 +0200)]
Missing exports

22 years agoMake sure ide init happens in the right order
Jens Axboe [Mon, 16 Sep 2002 16:52:42 +0000 (18:52 +0200)]
Make sure ide init happens in the right order

22 years agoCleanup Config.in, and remove unused options
Jens Axboe [Mon, 16 Sep 2002 16:49:26 +0000 (18:49 +0200)]
Cleanup Config.in, and remove unused options

22 years agoMerge hera.kernel.org:/home/torvalds/BK/linux-2.5
Christoph Hellwig [Sun, 15 Sep 2002 18:52:55 +0000 (11:52 -0700)]
Merge hera.kernel.org:/home/torvalds/BK/linux-2.5
into hera.kernel.org:/home/hch/BK/xfs/linux-2.5

22 years agoMerge
Christoph Hellwig [Sun, 15 Sep 2002 18:47:16 +0000 (11:47 -0700)]
Merge

22 years ago[PATCH] Remove CONFIG_SMP around wait_task_inactive()
David Gibson [Sun, 15 Sep 2002 15:53:19 +0000 (08:53 -0700)]
[PATCH] Remove CONFIG_SMP around wait_task_inactive()

Linus, please apply.  This defines wait_task_inactive() to be a no-op
on UP machines, and removes the #ifdef CONFIG_SMP which surrounds
current calls.

This also fixes compile on UP which was broken by the addition of a
call to wait_task_inactive in fs/exec.c which was not protected by an
#ifdef.

22 years ago[PATCH] various small cleanups
Andrew Morton [Sun, 15 Sep 2002 15:51:06 +0000 (08:51 -0700)]
[PATCH] various small cleanups

- Remove defunct active_list/inactive_list declarations (wli)

- Update an obsolete comment (wli)

- "mm/slab.c contains one leftover from the initial version with
  'unsigned short' bufctl entries.  The attached patch replaces '2'
  with the correct sizeof [which is now 4]" - Manfred Spraul

- BUG checks for vfree/vunmap being called in interrupt context
  (because they take irq-unsafe spinlocks, I guess?) - davej

- Simplify some coding in one_highpage_init() (Christoph Hellwig).

22 years ago[PATCH] add dump_stack(): cross-arch backtrace
Andrew Morton [Sun, 15 Sep 2002 15:51:02 +0000 (08:51 -0700)]
[PATCH] add dump_stack(): cross-arch backtrace

From Christoph Hellwig, also present in 2.4.

Create an arch-independent `dump_stack()' function.  So we don't need to do

#ifdef CONFIG_X86
show_stack(0); /* No prototype in scope! */
#endif

any more.

The whole dump_stack() implementation is delegated to the architecture.
If it doesn't provide one, there is a default do-nothing library
function.

22 years ago[PATCH] clean up the TLB takedown code, remove debug
Andrew Morton [Sun, 15 Sep 2002 15:50:57 +0000 (08:50 -0700)]
[PATCH] clean up the TLB takedown code, remove debug

- Remove the temp /proc/meminfo stats

- Make the mmu_gather_t be 2048 bytes again

- Removed unused variable (Oleg Nesterov)

22 years ago[PATCH] fix a bogus OOM condition for __GFP_NOFS allocations
Andrew Morton [Sun, 15 Sep 2002 15:50:53 +0000 (08:50 -0700)]
[PATCH] fix a bogus OOM condition for __GFP_NOFS allocations

If a GFP_NOFS allocation is made when the ZONE_NORMAL inactive list is
full of dirty or under-writeback pages, there is nothing the caller can
do to force some page reclaim.  The caller ends up getting oom-killed.

- In mempool_alloc(), don't try to perform page reclaim again.  Just
  go to sleep and wait for some elements to be returned to the pool.

- In try_to_free_pages(): perform a single, short scan of the LRU and
  if that doesn't work, fail the allocation.  GFP_NOFS allocators know
  how to handle that.

22 years ago[PATCH] hold the page ref across ->readpage
Andrew Morton [Sun, 15 Sep 2002 15:50:48 +0000 (08:50 -0700)]
[PATCH] hold the page ref across ->readpage

read_pages() is dropping the page refcount before running ->readpage().
Which just happens to work, because the page is in pagecache and
locked.

But it breaks under some unconventional things which reiser4 is doing,
and it's better/safer/saner this way anyway.

22 years ago[PATCH] ext3 ceanup: use EXT3_SB
Andrew Morton [Sun, 15 Sep 2002 15:50:44 +0000 (08:50 -0700)]
[PATCH] ext3 ceanup: use EXT3_SB

Patch from Jani Monoses <jani@iv.ro>

"This turns the remaining parts of ext3 to EXT3_SB and turns the
 latter from a macro to inline function which returns the generic_sbp
 field of u.

 linux/fs.h is not touched by this patch though.

 Intermezzo's three uses of ext3_sb are also not changed."

22 years ago[PATCH] add /proc/meminfo:Mapped
Andrew Morton [Sun, 15 Sep 2002 15:50:39 +0000 (08:50 -0700)]
[PATCH] add /proc/meminfo:Mapped

The patch adds a "Mapped" field to /proc/meminfo - tha amount of memory
which is mapped into pagetables.

This is a useful statistic to monitor when testing and observing the
vitual memory system.

22 years ago[PATCH] fix reverse map accounting leak
Andrew Morton [Sun, 15 Sep 2002 15:50:34 +0000 (08:50 -0700)]
[PATCH] fix reverse map accounting leak

From Hugh Dickins.  Fix a leak in the /proc/meminfo:ReverseMaps
accounting.

22 years ago[PATCH] hugetlb pages
Andrew Morton [Sun, 15 Sep 2002 15:50:29 +0000 (08:50 -0700)]
[PATCH] hugetlb pages

Rohit Seth's ia32 huge tlb pages patch.

Anton Blanchard took a look at this today; he seemed happy
with it and said he could borrow bits.

22 years ago[PATCH] resurrect /proc/meminfo:Buffers
Andrew Morton [Sun, 15 Sep 2002 15:50:24 +0000 (08:50 -0700)]
[PATCH] resurrect /proc/meminfo:Buffers

The /proc/meminfo:Buffers statistic is quite useful - it tells us
how effective we are being at caching filesystem metadata.

For example, increases in this figure are a measure of success of the
slablru and buffer_head-limitation patches.

The patch resurrects buffermem accounting.  The metric is calculated
on-demand, via a walk of the blockdev hashtable.

22 years ago[PATCH] low-latency zap_page_range
Andrew Morton [Sun, 15 Sep 2002 15:50:19 +0000 (08:50 -0700)]
[PATCH] low-latency zap_page_range

zap_page_range and truncate are the two main latency problems
in the VM/VFS.  The radix-tree-based truncate grinds that into
the dust, but no algorithmic fixes for pagetable takedown have
presented themselves...

Patch from Robert Love.

Attached patch implements a low latency version of "zap_page_range()".

Calls with even moderately large page ranges result in very long lock
held times and consequently very long periods of non-preemptibility.
This function is in my list of the top 3 worst offenders.  It is gross.

This new version reimplements zap_page_range() as a loop over
ZAP_BLOCK_SIZE chunks.  After each iteration, if a reschedule is
pending, we drop page_table_lock and automagically preempt.  Note we can
not blindly drop the locks and reschedule (e.g. for the non-preempt
case) since there is a possibility to enter this codepath holding other
locks.

... I am sure you are familar with all this, its the same deal as your
low-latency work.  This patch implements the "cond_resched_lock()" as we
discussed sometime back.  I think this solution should be acceptable to
you and Linus.

There are other misc. cleanups, too.

This new zap_page_range() yields latency too-low-to-benchmark: <<1ms.

22 years agoLinux v2.5.35 v2.5.35
Linus Torvalds [Sun, 15 Sep 2002 10:45:09 +0000 (03:45 -0700)]
Linux v2.5.35

22 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Sun, 15 Sep 2002 10:03:03 +0000 (03:03 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoPPC32: define rwlock_is_locked().
Paul Mackerras [Mon, 16 Sep 2002 19:12:42 +0000 (05:12 +1000)]
PPC32: define rwlock_is_locked().

22 years agoPPC32: remove unused IDE functions from include/asm-ppc/ide.h.
Paul Mackerras [Mon, 16 Sep 2002 19:11:39 +0000 (05:11 +1000)]
PPC32: remove unused IDE functions from include/asm-ppc/ide.h.

This gets rid of ide_request/free_irq, ide_get/release_lock,
ide_check/request/release_region etc.

22 years agoPPC32: define kmap_atomic_to_page
Paul Mackerras [Mon, 16 Sep 2002 19:03:00 +0000 (05:03 +1000)]
PPC32: define kmap_atomic_to_page

22 years agoPPC32: remove the ppc32-specific ide_fix_driveid.
Paul Mackerras [Mon, 16 Sep 2002 19:01:02 +0000 (05:01 +1000)]
PPC32: remove the ppc32-specific ide_fix_driveid.
There is a perfectly good one in drivers/ide/ide-iops.c now.

22 years agoPPC32: allocate syscall #s for alloc/free_hugepages and exit_group
Paul Mackerras [Mon, 16 Sep 2002 18:58:44 +0000 (04:58 +1000)]
PPC32: allocate syscall #s for alloc/free_hugepages and exit_group
and add exit_group to the syscall table.

22 years agoPPC32: define atomic_add_negative
Paul Mackerras [Mon, 16 Sep 2002 18:54:10 +0000 (04:54 +1000)]
PPC32: define atomic_add_negative

22 years agoPPC32: convert xtime usage from timeval to timespec
Paul Mackerras [Mon, 16 Sep 2002 18:53:35 +0000 (04:53 +1000)]
PPC32: convert xtime usage from timeval to timespec

22 years agoPPC32: add argument to INIT_SIGNALS use in arch/ppc/kernel/process.c
Paul Mackerras [Mon, 16 Sep 2002 18:50:06 +0000 (04:50 +1000)]
PPC32: add argument to INIT_SIGNALS use in arch/ppc/kernel/process.c

22 years agoPPC32: extra argument for pcibios_enable_resources/device
Paul Mackerras [Mon, 16 Sep 2002 18:42:58 +0000 (04:42 +1000)]
PPC32: extra argument for pcibios_enable_resources/device

22 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Mon, 16 Sep 2002 18:24:27 +0000 (04:24 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

22 years ago[PATCH] thread exec fix, BK-curr
Ingo Molnar [Sun, 15 Sep 2002 10:01:47 +0000 (03:01 -0700)]
[PATCH] thread exec fix, BK-curr

The broadcast SIGKILL kept pending in the new thread as well, and killed
it prematurely ...

22 years agoMerge bk://linus.bkbits.net/linux-2.5
James Simmons [Sun, 15 Sep 2002 05:09:04 +0000 (22:09 -0700)]
Merge bk://linus.bkbits.net/linux-2.5
into maxwell.earthlink.net:/usr/src/linus-2.5

22 years agoUse CLONE_KERNEL for the common kernel thread flags.
Linus Torvalds [Sun, 15 Sep 2002 04:35:42 +0000 (21:35 -0700)]
Use CLONE_KERNEL for the common kernel thread flags.

22 years ago[PATCH] thread-exec-2.5.34-B1, BK-curr
Ingo Molnar [Sun, 15 Sep 2002 04:20:59 +0000 (21:20 -0700)]
[PATCH] thread-exec-2.5.34-B1, BK-curr

This implements one of the last missing POSIX threading details - exec()
semantics.  Previous kernels had code that tried to handle it, but that
code had a number of disadvantages:

 - it only worked if the exec()-ing thread was the thread group leader,
   creating an assymetry. This does not work if the thread group leader
   has exited already.

 - it was racy: it sent a SIGKILL to every thread in the group but did not
   wait for them to actually process the SIGKILL. It did a yield() but
   that is not enough. All 'other' threads have to finish processing
   before we can continue with the exec().

This adds the same logic, but extended with the following enhancements:

 - works from non-leader threads just as much as the thread group leader.

 - waits for all other threads to exit before continuing with the exec().

 - reuses the PID of the group.

It would perhaps be a more generic approach to add a new syscall,
sys_ungroup() - which would do largely what de_thread() does in this
patch.

But it's not really needed now - posix_spawn() is currently implemented
via starting a non-CLONE_THREAD helper thread that does a sys_exec().
There's no API currently that needs a direct exec() from a thread - but
it could be created (such as pthread_exec_np()).  It would have the
advantage of not having to go through a helper thread, but the
difference is minimal.

22 years ago[PATCH] exit-fix-2.5.34-C0, BK-curr
Ingo Molnar [Sun, 15 Sep 2002 04:20:54 +0000 (21:20 -0700)]
[PATCH] exit-fix-2.5.34-C0, BK-curr

This fixes one more exit-time resource accounting issue - and it's also
a speedup and a thread-tree (to-be thread-aware pstree) visual
improvement.

In the current code we reparent detached threads to the init thread.
This worked but was not very nice in ps output: threads showed up as
being related to init.  There was also a resource-accounting issue, upon
exit they update their parent's (ie.  init's) rusage fields -
effectively losing these statistics.  Eg.  'time' under-reports CPU
usage if the threaded app is Ctrl-C-ed prematurely.

The solution is to reparent threads to the group leader - this is now
very easy since we have p->group_leader cached and it's also valid all
the time.  It's also somewhat faster for applications that use
CLONE_THREAD but do not use the CLONE_DETACHED feature.

22 years ago[PATCH] wait4-fix-2.5.34-B2, BK-curr
Ingo Molnar [Sun, 15 Sep 2002 04:20:49 +0000 (21:20 -0700)]
[PATCH] wait4-fix-2.5.34-B2, BK-curr

This fixes a number of bugs that broke ptrace:

 - wait4 must not inhibit TASK_STOPPED processes even for thread group
   leaders.

 - do_notify_parent() should not delay the notification of parents if
   the thread in question is ptraced.

strace now works as expected for CLONE_THREAD applications as well.

22 years ago[PATCH] exit-thread-2.5.34-A0, BK-curr
Ingo Molnar [Sun, 15 Sep 2002 04:20:45 +0000 (21:20 -0700)]
[PATCH] exit-thread-2.5.34-A0, BK-curr

This optimizes sys_exit_group() to only take the siglock if it's a true
thread group.  Boots & works fine.