]> git.hungrycats.org Git - linux/log
linux
23 years agoMerge bk://kernel.bkbits.net/gregkh/linux/linus-2.5
Linus Torvalds [Fri, 11 Apr 2003 11:04:46 +0000 (04:04 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Fri, 11 Apr 2003 09:26:02 +0000 (02:26 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.5

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Fri, 11 Apr 2003 08:47:44 +0000 (01:47 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/i2c-2.5

23 years ago[PATCH] i2c: Add i2c-viapro.c driver
Luca Tettamanti [Fri, 11 Apr 2003 08:05:23 +0000 (01:05 -0700)]
[PATCH] i2c: Add i2c-viapro.c driver

23 years ago[PATCH] USB: remove configuration change from pegasus.c
Oliver Neukum [Fri, 11 Apr 2003 05:15:15 +0000 (22:15 -0700)]
[PATCH] USB: remove configuration change from pegasus.c

the driver should not mess with configurations here.

23 years ago[PATCH] USB: remove configuration change from rtl8150
Oliver Neukum [Fri, 11 Apr 2003 05:13:54 +0000 (22:13 -0700)]
[PATCH] USB: remove configuration change from rtl8150

there's no reason this driver should mess with configurations.

23 years agoMake sure to kunmap() the right address in fs/nfs/dir.c.
Linus Torvalds [Fri, 11 Apr 2003 04:52:08 +0000 (21:52 -0700)]
Make sure to kunmap() the right address in fs/nfs/dir.c.

Found by Rik van Riel:

 "There's a serious bug in the handling of the pointer returned
  by kmap_atomic() in nfs/dir.c.   The pointer (part of desc) is
  passed into find_dirent_name and from there into dir_decode,
  which modifies the pointer.

  That means you end up passing a wrong address to kunmap_atomic()."

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Fri, 11 Apr 2003 01:55:36 +0000 (18:55 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Fri, 11 Apr 2003 01:53:07 +0000 (18:53 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
David S. Miller [Thu, 10 Apr 2003 16:37:50 +0000 (09:37 -0700)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

23 years ago[PKTSCHED]: Fix double-define of __inline__ et al.
David S. Miller [Thu, 10 Apr 2003 17:08:51 +0000 (10:08 -0700)]
[PKTSCHED]: Fix double-define of __inline__ et al.

23 years ago[IPV4]: Fix IGMP build with CONFIG_IP_MULTICAST disabled.
David S. Miller [Thu, 10 Apr 2003 17:02:43 +0000 (10:02 -0700)]
[IPV4]: Fix IGMP build with CONFIG_IP_MULTICAST disabled.

23 years ago[IPV6]: Allow protocol to percolate up into rt6 routing operations.
Mathew Richardson [Thu, 10 Apr 2003 16:43:46 +0000 (09:43 -0700)]
[IPV6]: Allow protocol to percolate up into rt6 routing operations.

23 years ago[IPV4]: IGMPv3 support, with help from Vinay Kulkarni
David Stevens [Thu, 10 Apr 2003 16:35:56 +0000 (09:35 -0700)]
[IPV4]: IGMPv3 support, with help from Vinay Kulkarni

23 years ago[SPARC]: Export phys_base on sparc32.
Eduardo Pereira Habkost [Thu, 10 Apr 2003 16:31:45 +0000 (09:31 -0700)]
[SPARC]: Export phys_base on sparc32.

23 years ago[IPSEC]: Add initial IPCOMP support.
James Morris [Thu, 10 Apr 2003 16:21:40 +0000 (09:21 -0700)]
[IPSEC]: Add initial IPCOMP support.

23 years ago[IPSEC]: Check xfrm state expiration on input after replay check.
Jean-Francois Dive [Thu, 10 Apr 2003 16:05:42 +0000 (09:05 -0700)]
[IPSEC]: Check xfrm state expiration on input after replay check.

23 years ago[SCHED]: Some schedulers forget to flush filter list at destroy.
David S. Miller [Thu, 10 Apr 2003 16:00:19 +0000 (09:00 -0700)]
[SCHED]: Some schedulers forget to flush filter list at destroy.

23 years ago[ALSA]: Recent merge undid all of my build fixes, put them back in.
David S. Miller [Thu, 10 Apr 2003 15:39:46 +0000 (08:39 -0700)]
[ALSA]: Recent merge undid all of my build fixes, put them back in.

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Thu, 10 Apr 2003 14:56:06 +0000 (07:56 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years ago[NETFILTER]: Fix modify-after-free bug in ip_conntrack.
Martin Josefsson [Thu, 10 Apr 2003 09:41:32 +0000 (02:41 -0700)]
[NETFILTER]: Fix modify-after-free bug in ip_conntrack.

23 years agoAdd a user pointer annotation to sysinfo()
Linus Torvalds [Thu, 10 Apr 2003 06:49:39 +0000 (23:49 -0700)]
Add a user pointer annotation to sysinfo()

23 years agoAdd user pointer annotations to fs/select.c
Linus Torvalds [Thu, 10 Apr 2003 06:48:57 +0000 (23:48 -0700)]
Add user pointer annotations to fs/select.c

23 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Thu, 10 Apr 2003 04:44:42 +0000 (21:44 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[AGPGART] Remove unnecessary AGP printk's in DRM.
Dave Jones [Thu, 10 Apr 2003 19:26:01 +0000 (20:26 +0100)]
[AGPGART] Remove unnecessary AGP printk's in DRM.
If we build >1 DRM driver into the kernel, we get this lovely output..

[drm] Initialized tdfx 1.0.0 20010216 on minor 0
[drm] AGP 0.100 aperture @ 0xe0000000 64MB
[drm] Initialized r128 2.3.0 20021029 on minor 1
[drm] AGP 0.100 aperture @ 0xe0000000 64MB
[drm] Initialized radeon 1.8.0 20020828 on minor 2
[drm] AGP 0.100 aperture @ 0xe0000000 64MB
[drm] Initialized mga 3.1.0 20021029 on minor 3
[drm] AGP 0.100 aperture @ 0xe0000000 64MB
[drm] Initialized i810 1.2.1 20020211 on minor 4
[drm] AGP 0.100 aperture @ 0xe0000000 64MB
[drm] Initialized i830 1.3.2 20021108 on minor 5

agpgart already outputs the info about the aperture address & size
before drm initialises, so its just repetition for no purpose.

23 years ago[AGPGART] Fix up AMD64 references.
Dave Jones [Thu, 10 Apr 2003 13:29:55 +0000 (14:29 +0100)]
[AGPGART] Fix up AMD64 references.
Spotted by Andi Kleen. AMD64 is the architecture, not the CPU.

23 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Thu, 10 Apr 2003 03:32:39 +0000 (20:32 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Thu, 10 Apr 2003 03:31:49 +0000 (20:31 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge http://linux-sound.bkbits.net/linux-sound
Linus Torvalds [Thu, 10 Apr 2003 03:26:23 +0000 (20:26 -0700)]
Merge http://linux-sound.bkbits.net/linux-sound
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoALSA and PnP update
Jaroslav Kysela [Thu, 10 Apr 2003 17:38:42 +0000 (19:38 +0200)]
ALSA and PnP update
  - compilation fixes
  - enhanced linux/pnp.h:
      pnp_device_is_isapnp(dev)
      pnp_device_is_pnpbios(dev)
      isapnp_card_number(dev)
      isapnp_csn_number(dev)

23 years agoALSA update
Jaroslav Kysela [Thu, 10 Apr 2003 14:33:21 +0000 (16:33 +0200)]
ALSA update
  - documentation
  - control API - added multi-elements to reduce memory usage
  - improved preallocation of DMA buffers
  - CS46xx driver - added support for secondary codec
  - HDSP driver - big update
    - firmware is loaded with hdsptool now
  - pmac driver updates (fixed oops and beep stuff)
  - VIA82xx driver updated
  - ymfpci driver updated
  - drivers updated to new PnP layer
    - wavefront, ad1816a, cs423x, es18xx, interwave, opl3sa2, cmi8330

23 years agoAdd user pointer annotations to fs/super.c
Linus Torvalds [Thu, 10 Apr 2003 03:23:54 +0000 (20:23 -0700)]
Add user pointer annotations to fs/super.c

23 years agoAdd user pointer annotations to fs/seq_file.c
Linus Torvalds [Thu, 10 Apr 2003 03:23:33 +0000 (20:23 -0700)]
Add user pointer annotations to fs/seq_file.c

23 years agoClean up types and remove unnecessary casts from fs/readdir.c.
Linus Torvalds [Thu, 10 Apr 2003 03:23:10 +0000 (20:23 -0700)]
Clean up types and remove unnecessary casts from fs/readdir.c.

Add user pointer annotations.

23 years ago[BRIDGE]: Fix several locking bugs, plus cleanups.
Stephen Hemminger [Wed, 9 Apr 2003 18:01:10 +0000 (11:01 -0700)]
[BRIDGE]: Fix several locking bugs, plus cleanups.

23 years ago[IPV6]: Typo, try_get_module --> try_module_get.
David S. Miller [Wed, 9 Apr 2003 17:39:07 +0000 (10:39 -0700)]
[IPV6]: Typo, try_get_module --> try_module_get.

23 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
David S. Miller [Wed, 9 Apr 2003 17:02:47 +0000 (10:02 -0700)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

23 years ago[IPV6]: Apply ipv4 tunnel module fixes to SIT driver.
David S. Miller [Wed, 9 Apr 2003 16:55:10 +0000 (09:55 -0700)]
[IPV6]: Apply ipv4 tunnel module fixes to SIT driver.

23 years ago[IPV4]: Do proper netdev module refcounting in tunnel drivers.
David S. Miller [Wed, 9 Apr 2003 16:34:14 +0000 (09:34 -0700)]
[IPV4]: Do proper netdev module refcounting in tunnel drivers.

23 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/sparc-2.5
David S. Miller [Wed, 9 Apr 2003 15:58:28 +0000 (08:58 -0700)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/sparc-2.5
into kernel.bkbits.net:/home/davem/sparc-2.5

23 years ago[SIGINFO]: asm-generic/siginfo.h needs linux/compiler.h
David S. Miller [Wed, 9 Apr 2003 16:26:04 +0000 (09:26 -0700)]
[SIGINFO]: asm-generic/siginfo.h needs linux/compiler.h

23 years ago[sparc]: Make sure -m32 gets added to AFLAGS when needed.
David S. Miller [Wed, 9 Apr 2003 16:25:03 +0000 (09:25 -0700)]
[sparc]: Make sure -m32 gets added to AFLAGS when needed.

23 years ago[sparc]: Add missing const qualifiers to uaccess.h
David S. Miller [Wed, 9 Apr 2003 16:14:53 +0000 (09:14 -0700)]
[sparc]: Add missing const qualifiers to uaccess.h

23 years ago[sparc]: Fix typo in uaccess.h
David S. Miller [Wed, 9 Apr 2003 16:05:10 +0000 (09:05 -0700)]
[sparc]: Fix typo in uaccess.h

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Wed, 9 Apr 2003 15:57:36 +0000 (08:57 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
David S. Miller [Wed, 9 Apr 2003 15:53:49 +0000 (08:53 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5

23 years agoAnnotate read/write paths with user pointer annotations
Linus Torvalds [Wed, 9 Apr 2003 15:21:53 +0000 (08:21 -0700)]
Annotate read/write paths with user pointer annotations

23 years agoAnnotate kernel/itimer.c with user pointer annotations.
Linus Torvalds [Wed, 9 Apr 2003 15:14:00 +0000 (08:14 -0700)]
Annotate kernel/itimer.c with user pointer annotations.

23 years agoAnnotate kernel/futex.c with user pointer annotations.
Linus Torvalds [Wed, 9 Apr 2003 15:13:38 +0000 (08:13 -0700)]
Annotate kernel/futex.c with user pointer annotations.

23 years agoAnnotate fs/stat.c with user pointer annotations.
Linus Torvalds [Wed, 9 Apr 2003 15:13:14 +0000 (08:13 -0700)]
Annotate fs/stat.c with user pointer annotations.

23 years ago[NETFILTER]: Push skb linearization deeper inside of implementation.
Rusty Russell [Wed, 9 Apr 2003 15:08:29 +0000 (08:08 -0700)]
[NETFILTER]: Push skb linearization deeper inside of implementation.

23 years ago[SPARC]: __user attributes in signal handling.
David S. Miller [Wed, 9 Apr 2003 14:58:46 +0000 (07:58 -0700)]
[SPARC]: __user attributes in signal handling.

23 years agoMerge from DRI CVS: Use the list_entry() macro instead of depending
Linus Torvalds [Wed, 9 Apr 2003 14:45:24 +0000 (07:45 -0700)]
Merge from DRI CVS: Use the list_entry() macro instead of depending
on the list-head being at the top of the DRI data structures and
using hard casts.

23 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Wed, 9 Apr 2003 14:19:26 +0000 (07:19 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[AGPGART] update stale comment in x86-64 GART driver.
Dave Jones [Thu, 10 Apr 2003 04:09:17 +0000 (05:09 +0100)]
[AGPGART] update stale comment in x86-64 GART driver.

23 years ago[AGPGART] Print banner on detecting AMD64 GART.
Dave Jones [Thu, 10 Apr 2003 04:03:54 +0000 (05:03 +0100)]
[AGPGART] Print banner on detecting AMD64 GART.
All the other GART drivers display what they've found, so make this
one follow suit.

23 years ago[AGPGART] x86-64 Kconfig fixes.
Dave Jones [Thu, 10 Apr 2003 03:39:21 +0000 (04:39 +0100)]
[AGPGART] x86-64 Kconfig fixes.
Offering the K7 GARTs on 64bit kernels causes sillyness, like reports of
"unrecognised device, try unsupported".  We don't want people to even try
that, so don't offer it in the first place.

There's really no good reason for offering any of the IA32 era GARTs on a
x86-64 64bit kernel. If Intel (or whoever) ever do an x86-64 clone, a new
gart driver will be started anyways, as has been done for amd-k8-agp.

23 years ago[AGPGART] Remove CONFIG_AGP3.
Dave Jones [Thu, 10 Apr 2003 02:15:13 +0000 (03:15 +0100)]
[AGPGART] Remove CONFIG_AGP3.
This optioned saved just a handful of bytes, and uglied up the code
quite a lot. Saving less than a page of memory is not as important as
maintainable code.

23 years ago[AGPGART] Kconfig cleanups. (Remove no longer needed E7x05 entries)
Dave Jones [Thu, 10 Apr 2003 02:10:20 +0000 (03:10 +0100)]
[AGPGART] Kconfig cleanups. (Remove no longer needed E7x05 entries)

23 years agoMerge tetrachloride.(none):/mnt/raid/src/kernel/2.5/bk-linus
Dave Jones [Thu, 10 Apr 2003 01:07:42 +0000 (02:07 +0100)]
Merge tetrachloride.(none):/mnt/raid/src/kernel/2.5/bk-linus
into tetrachloride.(none):/mnt/raid/src/kernel/2.5/agpgart

23 years ago[AGPGART] Missing C99 struct initialiser for x86-64 GART
Dave Jones [Thu, 10 Apr 2003 01:00:43 +0000 (02:00 +0100)]
[AGPGART] Missing C99 struct initialiser for x86-64 GART

23 years ago[AGPGART] ia64 related AGP fixes from David Mosberger.
Dave Jones [Thu, 10 Apr 2003 00:58:33 +0000 (01:58 +0100)]
[AGPGART] ia64 related AGP fixes from David Mosberger.

23 years ago[AGPGART] Fold Intel i7x05 GART into intel-agp driver.
Dave Jones [Thu, 10 Apr 2003 00:56:30 +0000 (01:56 +0100)]
[AGPGART] Fold Intel i7x05 GART into intel-agp driver.
Also includes various other fixes from Matt Tolentino

23 years agoFix kernel/posix-timers.c:
Linus Torvalds [Wed, 9 Apr 2003 14:18:00 +0000 (07:18 -0700)]
Fix kernel/posix-timers.c:
 - bad preprocessor test always tested true, even when it shouldn't.
 - annotate user pointers with proper annotations.

Both found by my automatic type checker tool.

23 years agoFix bad prototypes in kernel/softirq.c
Linus Torvalds [Wed, 9 Apr 2003 14:16:30 +0000 (07:16 -0700)]
Fix bad prototypes in kernel/softirq.c

23 years agoAnnotate kernel/printk.c with user pointer annotations.
Linus Torvalds [Wed, 9 Apr 2003 14:16:05 +0000 (07:16 -0700)]
Annotate kernel/printk.c with user pointer annotations.

23 years ago[SPARC]: __user tagging in sys_sparc.c
David S. Miller [Wed, 9 Apr 2003 14:09:28 +0000 (07:09 -0700)]
[SPARC]: __user tagging in sys_sparc.c

23 years agoAnnotate kernel/ptrace.c with user pointer information
Linus Torvalds [Wed, 9 Apr 2003 13:55:46 +0000 (06:55 -0700)]
Annotate kernel/ptrace.c with user pointer information

23 years agoAnnotate uid16 with user pointer annotations.
Linus Torvalds [Wed, 9 Apr 2003 13:51:30 +0000 (06:51 -0700)]
Annotate uid16 with user pointer annotations.

23 years agoAnnotate kernel/time.c with user pointer annotations
Linus Torvalds [Wed, 9 Apr 2003 13:51:08 +0000 (06:51 -0700)]
Annotate kernel/time.c with user pointer annotations

23 years agoAnnotate sysct with user pointer annotations
Linus Torvalds [Wed, 9 Apr 2003 13:50:47 +0000 (06:50 -0700)]
Annotate sysct with user pointer annotations

23 years ago[IPV{4,6}]: Convert from MOD_{INC,DEC}_USE_COUNT.
Hideaki Yoshifuji [Wed, 9 Apr 2003 11:03:56 +0000 (04:03 -0700)]
[IPV{4,6}]: Convert from MOD_{INC,DEC}_USE_COUNT.

23 years ago[VLAN]: More device registry error handling fixes.
Stephen Hemminger [Wed, 9 Apr 2003 10:57:43 +0000 (03:57 -0700)]
[VLAN]: More device registry error handling fixes.

23 years ago[PATCH] i2c: Add driver for powermac keywest i2c interface
Paul Mackerras [Wed, 9 Apr 2003 10:29:50 +0000 (03:29 -0700)]
[PATCH] i2c: Add driver for powermac keywest i2c interface

Here is a patch that adds an i2c bus driver for the i2c interface
found in the "KeyWest" and later combo-I/O chips used in powermacs.
The patch is against Linus' current BK tree.

23 years ago[PATCH] USB speedtouch: don't open a connection if no firmware
Duncan Sands [Wed, 9 Apr 2003 09:26:18 +0000 (02:26 -0700)]
[PATCH] USB speedtouch: don't open a connection if no firmware

How about this one instead.  MOD_INC_USE_COUNT is placed before I call
any functions that can sleep.  Let's just hope that the call to me doesn't
come after some sleeping in the higher layers...

23 years ago[PATCH] USB: Add support for Pentax Still Camera to linux kernel.
James Courtier-Dutton [Wed, 9 Apr 2003 09:16:44 +0000 (02:16 -0700)]
[PATCH] USB: Add support for Pentax Still Camera to linux kernel.

23 years ago[PATCH] USB: remove unnecessary setting of configuration from audio
Oliver Neukum [Wed, 9 Apr 2003 09:15:39 +0000 (02:15 -0700)]
[PATCH] USB: remove unnecessary setting of configuration from audio

audio should not mess with configurations.

23 years ago[PATCH] USB: New USB serial device ID: Asus A600 PDA cradle
Vincent Legoll [Wed, 9 Apr 2003 09:14:48 +0000 (02:14 -0700)]
[PATCH] USB: New USB serial device ID: Asus A600 PDA cradle

Just managed to get usb-serial connection up and running
with my Asus PDA, great work !

If you want to integrate the patches into the kernel tree,
please do so.

23 years ago[PATCH] USB speedtouch Kconfig fix; CREDITS entry out of order
Duncan Sands [Wed, 9 Apr 2003 09:14:03 +0000 (02:14 -0700)]
[PATCH] USB speedtouch Kconfig fix; CREDITS entry out of order

Follow the style of other entries in Kconfig.

 CREDITS                  |    8 ++++----
 drivers/usb/misc/Kconfig |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

23 years ago[PATCH] USB: fix uss720 driver to work properly with recent parport changes.
Greg Kroah-Hartman [Wed, 9 Apr 2003 08:45:05 +0000 (01:45 -0700)]
[PATCH] USB: fix uss720 driver to work properly with recent parport changes.

23 years ago[SPARC64]: Use __user in ioctl32.c
David S. Miller [Wed, 9 Apr 2003 08:26:57 +0000 (01:26 -0700)]
[SPARC64]: Use __user in ioctl32.c

23 years ago[SPARC64]: Fix copy_in_user args in process.c
David S. Miller [Wed, 9 Apr 2003 08:12:32 +0000 (01:12 -0700)]
[SPARC64]: Fix copy_in_user args in process.c

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Wed, 9 Apr 2003 08:03:16 +0000 (01:03 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/i2c-2.5

23 years ago[SPARC]: Make SA_ signal mask values explicitly unsigned.
David S. Miller [Wed, 9 Apr 2003 08:00:29 +0000 (01:00 -0700)]
[SPARC]: Make SA_ signal mask values explicitly unsigned.

23 years ago[SPARC]: Cleanup uaccess headers and add __user attributes.
David S. Miller [Wed, 9 Apr 2003 07:54:35 +0000 (00:54 -0700)]
[SPARC]: Cleanup uaccess headers and add __user attributes.

23 years agoi2c: clean up i2c-dev.c's formatting, DEBUG, and ioctl mess
Greg Kroah-Hartman [Wed, 9 Apr 2003 07:36:21 +0000 (00:36 -0700)]
i2c: clean up i2c-dev.c's formatting, DEBUG, and ioctl mess

23 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Wed, 9 Apr 2003 07:01:25 +0000 (00:01 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoia64: Initial sync with 2.5.67.
David Mosberger [Wed, 9 Apr 2003 04:51:40 +0000 (21:51 -0700)]
ia64: Initial sync with 2.5.67.

23 years agoTag more user-supplied path strings as being user pointers for
Linus Torvalds [Wed, 9 Apr 2003 04:44:19 +0000 (21:44 -0700)]
Tag more user-supplied path strings as being user pointers for
type evaluation.  This tags the system call interfaces in
fs/open.c, fs/dcache.c and mm/swapfile.c - and tags the path
walking helper functions.

23 years ago[PATCH] fix file leak in fadvise()
Andrew Morton [Wed, 9 Apr 2003 04:32:09 +0000 (21:32 -0700)]
[PATCH] fix file leak in fadvise()

It can miss an fput() if passed the fd of a file which has no ->mapping.

23 years ago[PATCH] 3c59x EISA tidyup
Andrew Morton [Wed, 9 Apr 2003 04:32:01 +0000 (21:32 -0700)]
[PATCH] 3c59x EISA tidyup

From: Marc Zyngier <mzyngier@freesurf.fr>

The included patch helps 3c59x to display the correct identification
string (3c592 and 3c597 were displayed as 3c590). It also gets rid of
the EISA_bus reference, which is not needed anymore since the driver
has been ported to the EISA probing API.

23 years ago[PATCH] task_lock commentary fixes
Andrew Morton [Wed, 9 Apr 2003 04:31:53 +0000 (21:31 -0700)]
[PATCH] task_lock commentary fixes

From: Manfred Spraul <manfred@colorfullife.com>

Update and clarify the incorrect commentary around task_lock()

23 years ago[PATCH] struct address_space comments
Andrew Morton [Wed, 9 Apr 2003 04:31:44 +0000 (21:31 -0700)]
[PATCH] struct address_space comments

From: "Martin J. Bligh" <mbligh@aracnet.com>

Fix the commentary around the address_space fields.

23 years ago[PATCH] Make msync(MS_ASYNC) no longer start the I/O
Andrew Morton [Wed, 9 Apr 2003 04:31:36 +0000 (21:31 -0700)]
[PATCH] Make msync(MS_ASYNC) no longer start the I/O

MS_ASYNC will currently wait on previously-submitted I/O, then start new I/O
and not wait on it.  This can cause undesirable blocking if msync is called
rapidly against the same memory.

So instead, change msync(MS_ASYNC) to not start any IO at all.  Just flush
the pte dirty bits into the pageframe and leave it at that.

The IO _will_ happen within a kupdate period.  And the application can use
fsync() or fadvise(FADV_DONTNEED) if it actually wants to schedule the IO
immediately.

(This has triggered an ext3 bug - the page's buffers get dirtied so fast
that kjournald keeps writing the buffers over and over for 10-20 seconds
before deciding to give up for some reason)

23 years ago[PATCH] Missing brelse() in ext2/ext3 extended attribute code
Andrew Morton [Wed, 9 Apr 2003 04:31:28 +0000 (21:31 -0700)]
[PATCH] Missing brelse() in ext2/ext3 extended attribute code

From: Andreas Gruenbacher <agruen@suse.de>

Missing brelse() in ext2/ext3 extended attribute code

The ext2 and ext3 EA implementations fail to release a buffer_head if
the inode that is being accessed is sharing EAs with another inode, and
an attribute is set to the same value that it has already, like so:

        $ touch f g
$ setfattr -n user.test -v test f g
# (Now, both f and g refer to the same EA block.)
$ setfattr -n user.test -v test f

With the bug, an "invalidate: busy buffer" or "invalidate: dirty
buffer" message will be logged when the file system is unmounted. This
patch fixes the problem.

At the implementation level:

The code was assuming that ext3_xattr_cache_find cannot return the same
block the inode already is associated with, so testing for (old_bh !=
new_bh) would determine whether the old block is resued or an additional
bh is held. This is wrong if the EA block is used by multiple inodes (in
which case it stays in the cache), and the block isn't actually
modified.  Instead of testing for (old_bh != new_bh), the code now does
a get_bh() in the branch that keeps the old block, which assures that
new_bh now is either NULL or a handle that must be released at the end
of ext3_xattr_set_handle2().

23 years ago[PATCH] epoll cross-thread deletion fix
Andrew Morton [Wed, 9 Apr 2003 04:31:19 +0000 (21:31 -0700)]
[PATCH] epoll cross-thread deletion fix

From: Davide Libenzi <davidel@xmailserver.org>

This fixes a bug that might happen having a thread doing epoll_wait() with
another thread doing epoll_ctl(EPOLL_CTL_DEL) and close(). The fast check
inside eventpoll_release() is good to not effect performace of code not
using epoll, but it requires get_file() to be called ( that can be avoided
by dropping the fast check ). I opted to keep the fast check and to have
epoll to call get_file() before the event send loop. I tested it on UP and
2SMP with a bug-exploiting program provided by @pivia.com ( thx to them )
and it looks fine. I also update the 2.4.20 epoll patch with this fix :

23 years ago[PATCH] Allow panics and reboots at oops time.
Andrew Morton [Wed, 9 Apr 2003 04:31:10 +0000 (21:31 -0700)]
[PATCH] Allow panics and reboots at oops time.

From: Russell Miller <rmiller@duskglow.com>

A BUG or an oops will often leave a machine in a useless state.  There is no
way to remotely recover the machine from that state.

The patch adds a /proc/sys/kernel/panic_on_oops sysctl which, when set, will
cause the x86 kernel to call panic() at the end of the oops handler.  If the
user has also set /proc/sys/kernel/panic then a reboot will occur.

The implementation will try to sleep for a while before panicing so the oops
info has a chance of hitting the logs.

The implementation is designed so that other architectures can easily do this
in their oops handlers.

23 years ago[PATCH] task_vsize() speedup
Andrew Morton [Wed, 9 Apr 2003 04:31:01 +0000 (21:31 -0700)]
[PATCH] task_vsize() speedup

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

task_vsize() mysteriously appeared on my profiles.  This should remove it
from them by using the already in-use elsewhere for rlimit checks
mm->total_vm for the benefit of O(1) cachelines touched.

23 years ago[PATCH] JBD pasting warning fix
Andrew Morton [Wed, 9 Apr 2003 04:30:52 +0000 (21:30 -0700)]
[PATCH] JBD pasting warning fix

From: "Hua Zhong" <hzhong@cisco.com>

Fix a token-pasting warning from recent gcc's

23 years ago[PATCH] fix unuse_pmd fixme
Andrew Morton [Wed, 9 Apr 2003 04:30:44 +0000 (21:30 -0700)]
[PATCH] fix unuse_pmd fixme

From: Hugh Dickins <hugh@veritas.com>

try_to_unuse drop mmlist_lock across unuse_process (with pretty dance
of atomic_incs and mmputs of various mmlist markers, and a polite new
cond_resched there), so unuse_process can pte_chain_alloc(GFP_KERNEL)
and pass that down and down and down and down to unuse_pte: which
cannot succeed more than once on a given mm (make that explicit by
returning back up once succeeded).  Preliminary checks moved up from
unuse_pte to unuse_pmd, and done more efficiently (avoid that extra
pte_file test added recently), swapoff spends far too long in here.
Updated locking comments and references to try_to_swap_out.