]> git.hungrycats.org Git - linux/log
linux
22 years agoLinux v2.5.31 v2.5.31
Linus Torvalds [Sat, 10 Aug 2002 11:40:33 +0000 (04:40 -0700)]
Linux v2.5.31

22 years ago[PATCH] Infrastructure for atomic user accesses
Andrew Morton [Sat, 10 Aug 2002 11:40:05 +0000 (04:40 -0700)]
[PATCH] Infrastructure for atomic user accesses

Well the optimum solution there would be to create and use
`inc_preempt_count_non_preempt()'.  I don't see any
way of embedding this in kmap_atomic() or copy_to_user_atomic()
without loss of flexibility or incurring a double-inc somewhere.

22 years agoMerge bk://linuxusb.bkbits.net/pci_hp-2.5
Linus Torvalds [Sat, 10 Aug 2002 09:48:39 +0000 (02:48 -0700)]
Merge bk://linuxusb.bkbits.net/pci_hp-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Sat, 10 Aug 2002 09:47:29 +0000 (02:47 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] fix a race between set_page_dirty and truncate
Andrew Morton [Sat, 10 Aug 2002 09:44:55 +0000 (02:44 -0700)]
[PATCH] fix a race between set_page_dirty and truncate

Fix a race between set_page_dirty() and truncate.

The page could have been removed from the mapping while this CPU is
spinning on the lock.  __free_pages_ok() will go BUG.

This has not been observed in practice - most callers of
set_page_dirty() hold the page lock which gives exclusion from
truncate.  But zap_pte_range() does not.

A fix for this has been sent to Marcelo also.

22 years ago[PATCH] direct IO fixes
Andrew Morton [Sat, 10 Aug 2002 09:44:51 +0000 (02:44 -0700)]
[PATCH] direct IO fixes

Some direct IO fixes from Badari Pulavarty.

- off-by-one in the bounds checking in blkdev_get_blocks().

- When adding more blocks into a bio_vec, account for the current
  offset into that bio_vec.

- Fix a total ballsup in the code which calculates the total number
  of pages which are about to be put under IO.

22 years ago[PATCH] sync get_user_pages with 2.4
Andrew Morton [Sat, 10 Aug 2002 09:44:47 +0000 (02:44 -0700)]
[PATCH] sync get_user_pages with 2.4

Forward port of get_user_pages() change from 2.4.

- If the vma is marked as VM_IO area then fail the map.

  This prevents kernel deadlocks which occur when applications which
  have frame buffers mapped try to dump core.  Also prevents a kernel
  oops when a debugger is attached to a process which has an IO mmap.

- Check that the mapped page is inside mem_map[] (pfn_valid).

- inline follow_page() and remove the preempt_disable()s.  It has
  only a single callsite and is called under spinloclk.

22 years ago[PATCH] tunable ext3 commit interval
Andrew Morton [Sat, 10 Aug 2002 09:44:42 +0000 (02:44 -0700)]
[PATCH] tunable ext3 commit interval

The patch from Stephen Tweedie allows users to modify the journal
commit interval for the ext3 filesystem.

The commit interval is normally five seconds.  For portable computers
with spun-down drives it is advantageous to be able to increase the
commit interval.

There may also be advantages in decreasing the commit interval for
specialised applications such as heavily-loaded NFS servers which are
using synchronous exports.

The laptop users will also need to increase the pdflush periodic
writeback interval (/proc/sys/vm/dirty_writeback_centisecs), because
the `kupdate' activity also forces a commit.

To specify the commit interval, use

mount -o commit=30 /dev/hda1 /mnt/whatever

or
mount -o remount,commit=30 /dev/hda1

The commit interval is specified in units of seconds.

22 years ago[PATCH] copy_strings speedup
Andrew Morton [Sat, 10 Aug 2002 09:44:38 +0000 (02:44 -0700)]
[PATCH] copy_strings speedup

This is the first of three patches which reduce the amount of
kmap/kunmap traffic on highmem machines.

The workload which was tested was RAM-only dbench.  This is dominated
by copy_*_user() costs.

The three patches speed up my 4xPIII by 3%

The three patches speed up a 16P NUMA-Q by 100 to 150%

The first two patches (copy_strings and pagecache reads) speed up an
8-way by 15%.  I expect that all three patches will speed up the 8-way
by 40%.

Some of the benefit is from reduced pressure on kmap_lock.  Most of it
is from reducing the number of global TLB invalidations.

This patch fixes up copy_strings().  copy_strings does a huge amount of
kmapping.  Martin Bligh has noted that across a kernel compile this
function is the second or third largest user of kmaps in the kernel.

The fix is pretty simple: just hang onto the previous kmap as we we go
around the loop.  It reduces the number of kmappings from copy_strings
by a factor of 30.

22 years ago[PATCH] 3c905B fix
Andrew Morton [Sat, 10 Aug 2002 09:44:34 +0000 (02:44 -0700)]
[PATCH] 3c905B fix

Patch from Zwane which fixes a transceiver problem on his 3c905B.

Apparently the 905B's MII status register is saying that it doesn't
need preamble, but the datasheet says that it does.  So add a 905B
override for that in the device table.

This could break other 3c905B's.  I don't know.  There's only one way
to find out.

22 years ago[PATCH] build warning fix
Russell King [Sat, 10 Aug 2002 09:44:30 +0000 (02:44 -0700)]
[PATCH] build warning fix

This patch has been verified to apply cleanly to 2.5.30

This patch fixes a build warning in smp.h.  register_cpu_notifier uses
struct notifier_block in its argument list.  Unfortunately, there are
places where smp.h is included before the definition of this structure.

22 years ago[PATCH] S3 and swsusp: fixing device_resume order
Pavel Machek [Sat, 10 Aug 2002 09:44:25 +0000 (02:44 -0700)]
[PATCH] S3 and swsusp: fixing device_resume order

pci driver's resume must not be called during RESUME_POWER_ON because
interrupts are still off and i8259A is not initialized [OHCI kills
machine in such case, cardbus probably too.  PCI drivers just assume
initialized interrupts.]

Second hunk fixes device_resume calls to be okay according to
documentation.

22 years ago[PATCH] Re: downgrade_write
David Howells [Sat, 10 Aug 2002 09:33:51 +0000 (02:33 -0700)]
[PATCH] Re: downgrade_write

The prototype name is wrong, not the name called by the actual
implementation.  Noticed by David Miller.

22 years ago[PATCH] missing export of elv_queue_empty()
Jens Axboe [Sat, 10 Aug 2002 09:33:47 +0000 (02:33 -0700)]
[PATCH] missing export of elv_queue_empty()

Forgot to export it to modules :/

22 years ago[PATCH] Fix misspelling of "sector" in ide.c
Paul Menage [Sat, 10 Aug 2002 09:28:51 +0000 (02:28 -0700)]
[PATCH] Fix misspelling of "sector" in ide.c

22 years agoMerge Al's partition handling cleanups
Linus Torvalds [Sat, 10 Aug 2002 09:24:45 +0000 (02:24 -0700)]
Merge Al's partition handling cleanups

22 years ago[PATCH] fix check_disk_change() deadlocks
Alexander Viro [Sat, 10 Aug 2002 09:22:02 +0000 (02:22 -0700)]
[PATCH] fix check_disk_change() deadlocks

Small, but tricky: fix for check_disk_change() deadlocks.
What we do is
a) opening block device shifted from check_partition() to
   grok_partitions(); check_partitions() takes opened
   struct block_device.
b) all callers of check_disk_change() fall in two groups -
   ones that are called only from some ->open() and ones
   that are _never_ called from ->open().  There is no
   middle ground.  We split the thing in two functions -
   check_disk_change() for the first class and full_check_....
   for the second.  The former (ones inside ->open()) doesn't
   touch partition tables but marks the bdev as "had been
   invalidated".  In the end of do_open() we check if
   bdev is marked and call wipe_partitions()/check_partition()
   if it is - at that point bdev is fully set up and ready.
c) ->bd_part_sem kludge is gone - we use ->bd_sem instead.
   That is, do_open() on a partition grabs ->bd_sem on entire
   disk and picks partition data while under it; do_open() on
   entire disk rereads partition if needed before dropping
   ->bd_sem (right before dropping it); BLKRRPART does
   trylock on ->bd_sem and then checks ->bd_part_count -
   same logics as before, except that we use ->bd_sem instead
   of ->bd_part_sem.

That kills recursive open(), gives us the same exclusion rules as
we had and makes sure that actual IO (including rereading partition
tables) is done only when we are ready to do it.

It actually sounds a lot nastier than it is.  do_open() is a one sick
puppy right now, but we have everything in one place and _out_ of drivers
(and 20-odd equally sick puppies are gone from them, along with about
the same number of races).

Now we are almost ready to clean it up for good - all that remains to
do before that is to get the rest of drivers (cciss, DAC960, i2o and
a couple of ancients - xd and acsi) using per-disk gendisks.  Then
most of that crap will disappear.

BTW, the only generic ioctl remaining in the drivers is HDIO_GETGEO -
a lot of foo_ioctl() starts with if (cmd != HDIO_GETGEO) return -EINVAL; ;-)

22 years ago[PATCH] ps2esdi.c per-disk gendisks
Alexander Viro [Sat, 10 Aug 2002 09:21:58 +0000 (02:21 -0700)]
[PATCH] ps2esdi.c per-disk gendisks

ps2esdi.c switched to per-disk gendisks

22 years ago[PATCH] cpqarray.c per-disk gendisks
Alexander Viro [Sat, 10 Aug 2002 09:21:54 +0000 (02:21 -0700)]
[PATCH] cpqarray.c per-disk gendisks

cpqarray.c switched to per-disk gendisks

22 years ago[PATCH] partition table flush/read cleanup
Alexander Viro [Sat, 10 Aug 2002 09:21:49 +0000 (02:21 -0700)]
[PATCH] partition table flush/read cleanup

Big One.  Flushing/rereading partition tables is taken from
->revalidate() for partitioned devices; now it's done in the
caller (check_disk_change()).  BLKRRPART handling also moved
out of drivers - they are still allowed to override it (DAC960
and i2o are the only remaining ones), but common case is handled
in fs/block_dev.c.

Note: we are still only shifting stuff - bd_sem deadlocks in
check_disk_change() are still there.  However, now we have all
relevant code outside of drivers and that will allow to fix the
thing (see next patches).

22 years ago[PATCH] ide subdrivers attach() cleanup
Alexander Viro [Sat, 10 Aug 2002 09:21:45 +0000 (02:21 -0700)]
[PATCH] ide subdrivers attach() cleanup

->attach() for ide subdrivers explicitly calls register_disk()
instead of ata_revalidate() now; revalidate_drives() is gone -
it's not needed anymore (we _know_ that we'll read partition
table as soon as driver claims the drive; no need to mess with
bogus rereading).

22 years ago[PATCH] clean up major_name
Alexander Viro [Sat, 10 Aug 2002 09:21:40 +0000 (02:21 -0700)]
[PATCH] clean up major_name

->major_name for per-disk gendisks set to full name - i.e.
IDE gendisks have "hda", "hdb", etc. instead of "hd".
As the result, we kill a lot of crap in check.c::disk_name().
In particular, now we can afford ->minor_shift set to 0
for ide-cd (disk_name() was the only obstacle)

22 years ago[PATCH] make check_disk_change() use struct block_device
Alexander Viro [Sat, 10 Aug 2002 09:21:36 +0000 (02:21 -0700)]
[PATCH] make check_disk_change() use struct block_device

check_disk_change() converted to passing struct block_device.

Old variant is still needed for a couple of places; wrapper
is provided (__check_disk_change(kdev)).  do_open() logics
with setting ->bd_op sanitized - now we do that before calling
->open().

22 years ago[PATCH] fix /proc/partitions braino
Alexander Viro [Sat, 10 Aug 2002 09:21:31 +0000 (02:21 -0700)]
[PATCH] fix /proc/partitions braino

fix for embarrassing braino in /proc/partitions - size in kilobytes
is _half_ the size in secotrs, not twice that size...

22 years ago[PATCH] seq_read() fix
Alexander Viro [Sat, 10 Aug 2002 09:21:28 +0000 (02:21 -0700)]
[PATCH] seq_read() fix

Present both in 2.4 and 2.5 ;-/

22 years ago[PATCH] misc pagecache cleanups / tweaks
Christoph Hellwig [Sat, 10 Aug 2002 09:09:20 +0000 (02:09 -0700)]
[PATCH] misc pagecache cleanups / tweaks

- inline grab_cache_page() in pagemap.h, it's just a simple wrapper
  around find_or_create_page()
- rename (__)remove_inode_page to (__)remove_from_page_cache and
  move them from mm.h and swap.h to pagemap.h because they reverse
  add_to_page_cache and that's where they belong.

22 years ago[PATCH] alpha: rwsem update [10/10]
Ivan Kokshaysky [Sat, 10 Aug 2002 09:03:26 +0000 (02:03 -0700)]
[PATCH] alpha: rwsem update [10/10]

- __down_[read,write]_trylock, __downgrade_write implemented;
- __builtin_expect replaced with unlikely().

22 years ago[PATCH] alpha: misc fixes [9/10]
Ivan Kokshaysky [Sat, 10 Aug 2002 09:03:21 +0000 (02:03 -0700)]
[PATCH] alpha: misc fixes [9/10]

Set of small fixes:
- pcibios_init() must be int;
- fls() - ctlz on ev67, generic on others. This was required for
  something several kernel releases back, now it seems to be unused.
  Anyway, it shouldn't hurt, so included here.
- missing #includes, missing #if RTC_IRQ in drivers/char/rtc.c;
- define USER_HZ;
From Jeff Wiedemeier:
- rename alpha-specific config section 'General setup' to 'System setup'
  to avoid confusion with generic 'General setup';
- fix the 'bootpfile' build.

22 years ago[PATCH] alpha: osf getrusage, readv, writev [8/10]
Ivan Kokshaysky [Sat, 10 Aug 2002 09:03:17 +0000 (02:03 -0700)]
[PATCH] alpha: osf getrusage, readv, writev [8/10]

- osf_getrusage() updated for new utime/stime fields of the task_struct;
- compatibility wrappers for OSF/1 v4 readv/writev syscalls:
  forward port from 2.4.19.

22 years ago[PATCH] alpha: percpu update [7/10]
Ivan Kokshaysky [Sat, 10 Aug 2002 09:03:12 +0000 (02:03 -0700)]
[PATCH] alpha: percpu update [7/10]

Generic per-cpu areas; wrappers for SMP boot process.

22 years ago[PATCH] alpha: interrupt/preempt update [6/10]
Ivan Kokshaysky [Sat, 10 Aug 2002 09:03:08 +0000 (02:03 -0700)]
[PATCH] alpha: interrupt/preempt update [6/10]

This one is large mostly because of massive code deletion.
- cli, sti an so on go away;
- irq_smp.c goes to /dev/null; the only leftover (synchronize_irq)
  moved to irq.c;
- hardirq count field in the preemption counter extended to 12 bits -
  one more than required for wildfire.

22 years ago[PATCH] alpha: cia-1 fix [5/10]
Ivan Kokshaysky [Sat, 10 Aug 2002 09:03:04 +0000 (02:03 -0700)]
[PATCH] alpha: cia-1 fix [5/10]

From Jay Estabrook:
CIA rev 1 can't use DAC and windows 1,2 for SG.

22 years ago[PATCH] alpha: regdef.h [4/10]
Ivan Kokshaysky [Sat, 10 Aug 2002 09:02:59 +0000 (02:02 -0700)]
[PATCH] alpha: regdef.h [4/10]

Historically, assembly routines included libc header <alpha/regdef.h>
for OSF/1 register names. With the new kernel build system
it doesn't work anymore. Make our own copy in <include/asm>.

22 years ago[PATCH] alpha: CPU logical mapping [3/10]
Ivan Kokshaysky [Sat, 10 Aug 2002 09:02:55 +0000 (02:02 -0700)]
[PATCH] alpha: CPU logical mapping [3/10]

Hardware cpu_id to logical cpu mapping is gone.
Converted to cpu_online() etc.

22 years ago[PATCH] alpha: IPI update [2/10]
Ivan Kokshaysky [Sat, 10 Aug 2002 09:02:51 +0000 (02:02 -0700)]
[PATCH] alpha: IPI update [2/10]

- send_ipi_message() fix from Jeff Wiedemeier:
  The 2.5.30 IPI algorithm (with the to_whom == set test) incorrectly sends
  IPI messages to CPU 0 in a SMP system running with one processor. In this
  case to_whom is often 0 (cpu_present_mask & ~1UL << smp_processor_id()) which
  ends up triggering the to_whom == set case.
- migration IPI removed;

22 years ago[PATCH] alpha: pte/pfn/page/tlb macros update [1/10]
Ivan Kokshaysky [Sat, 10 Aug 2002 09:02:47 +0000 (02:02 -0700)]
[PATCH] alpha: pte/pfn/page/tlb macros update [1/10]

This starts a large set of alpha patches accumulated since 2.5.18 or
even earlier. All of this was reasonably well tested.
Thanks to Jeff Wiedemeier for SMP testing and fixes.

- sync up with (2.5.18?) pte/pfn/page/tlb etc. macros;
- asm-generic/tlb.h: loading unsigned long constant to unsigned int
  tlb->nr causes compiler warnings on 64 bit platforms.

22 years agoWorkaround for aic7xxx setup inconsistencies.
Linus Torvalds [Fri, 9 Aug 2002 09:09:15 +0000 (02:09 -0700)]
Workaround for aic7xxx setup inconsistencies.

22 years agoMerge with dri CVS
Linus Torvalds [Fri, 9 Aug 2002 09:07:32 +0000 (02:07 -0700)]
Merge with dri CVS

22 years agoMake pid allocation use 30 of the 32 bits, instead of 15.
Linus Torvalds [Thu, 8 Aug 2002 10:57:42 +0000 (03:57 -0700)]
Make pid allocation use 30 of the 32 bits, instead of 15.

22 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Wed, 7 Aug 2002 17:20:54 +0000 (03:20 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

22 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Tue, 6 Aug 2002 18:18:32 +0000 (04:18 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

22 years agoMerge bk://thebsh.namesys.com/bk/reiser3-linux-2.5
Linus Torvalds [Tue, 6 Aug 2002 15:47:43 +0000 (08:47 -0700)]
Merge bk://thebsh.namesys.com/bk/reiser3-linux-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoNTFS: 2.0.24 - Cleanups.
Anton Altaparmakov [Wed, 7 Aug 2002 02:46:41 +0000 (03:46 +0100)]
NTFS: 2.0.24 - Cleanups.
- Treat BUG_ON() as ASSERT() not VERIFY(), i.e. do not use side effects
  inside BUG_ON(). (Adam J. Richter)
- Split logical OR expressions inside BUG_ON() into individual BUG_ON()
  calls for improved debugging. (Adam J. Richter)
- Add errors flag to the ntfs volume state, accessed via
  NVol{,Set,Clear}Errors(vol).
- Do not allow read-write remounts of read-only volumes with errors.
- Clarify comment for ntfs file operation sendfile which was added by
  Christoph Hellwig a while ago (just using generic_file_sendfile())
  to say that ntfs ->sendfile is only used for the case where the
  source data is on the ntfs partition and the destination is
  somewhere else, i.e. nothing we need to concern ourselves with.

22 years agoMerge cantab.net:/usr/src/bklinux-2.5 into cantab.net:/usr/src/tng
Anton Altaparmakov [Wed, 7 Aug 2002 02:12:35 +0000 (03:12 +0100)]
Merge cantab.net:/usr/src/bklinux-2.5 into cantab.net:/usr/src/tng

22 years agoreiserfs_fs.h, namei.c, bitmap.c:
Oleg Drokin [Tue, 6 Aug 2002 14:57:52 +0000 (18:57 +0400)]
reiserfs_fs.h, namei.c, bitmap.c:
  fix __FUNCTION__ usage, since its use as string literals is deprecated now.

22 years agoMerge angband.namesys.com:/home/green/bk/linux-2.5
Oleg Drokin [Tue, 6 Aug 2002 14:44:26 +0000 (18:44 +0400)]
Merge angband.namesys.com:/home/green/bk/linux-2.5
into angband.namesys.com:/home/green/bk_work/reiser3-linux-2.5

22 years agoMerge cantab.net:/usr/src/bklinux-2.5 into cantab.net:/usr/src/tng
Anton Altaparmakov [Tue, 6 Aug 2002 09:22:59 +0000 (10:22 +0100)]
Merge cantab.net:/usr/src/bklinux-2.5 into cantab.net:/usr/src/tng

22 years ago[PATCH] fix expand_stack for upward-growing stacks
Matthew Wilcox [Tue, 6 Aug 2002 07:53:18 +0000 (00:53 -0700)]
[PATCH] fix expand_stack for upward-growing stacks

 - trivial: cache file->f_dentry->d_inode; saves a few bytes of compiled
   size.
 - move expand_stack inside ARCH_STACK_GROWSUP, add an alternate
   implementation for PA-RISC.
 - partially fix the comment (mmap_sem is held for READ, not for WRITE).
   It still doesn't make sense, saying we don't need to take the spinlock
   right before we take it.  I expect one of the vm hackers will know
   what the right thing is.

22 years agoPPC32: convert some more save_flags/cli/restore_flags etc. calls.
Paul Mackerras [Tue, 6 Aug 2002 07:36:02 +0000 (17:36 +1000)]
PPC32: convert some more save_flags/cli/restore_flags etc. calls.

22 years agoISDN: Hand merge
Kai Germaschewski [Tue, 6 Aug 2002 07:35:23 +0000 (02:35 -0500)]
ISDN: Hand merge

22 years agoISDN: Fix the cleanups
Kai Germaschewski [Tue, 6 Aug 2002 06:54:22 +0000 (01:54 -0500)]
ISDN: Fix the cleanups

Testing of course revealed some bugs introduced during the cleanups,
so these are fixed here with a couple of other small bits, like improved
debugging code.

22 years agoISDN: Fix isdnloop when simulating multiple controllers
Kai Germaschewski [Tue, 6 Aug 2002 06:44:16 +0000 (01:44 -0500)]
ISDN: Fix isdnloop when simulating multiple controllers

22 years agoPPC32: update the defconfigs for a couple of embedded boards.
Tom Rini [Tue, 6 Aug 2002 06:43:50 +0000 (16:43 +1000)]
PPC32: update the defconfigs for a couple of embedded boards.

22 years agoPPC32: miscellanous small fixes.
Paul Mackerras [Tue, 6 Aug 2002 06:38:41 +0000 (16:38 +1000)]
PPC32: miscellanous small fixes.

Rename print_backtrace to show_stack and improve it, remove the
#if 0 around set_fpexc mode and add get_fpexc_mode, add the
__NR_security define and reserve syscall 225 for Tux.

22 years agoPPC32: interrupt fixes along the lines of Ingo's changes to x86.
Benjamin Herrenschmidt [Tue, 6 Aug 2002 06:22:08 +0000 (16:22 +1000)]
PPC32: interrupt fixes along the lines of Ingo's changes to x86.

We don't unmask the interrupt at the end of handling it if there
is no action (i.e. someone has done free_irq).  Add some likely
and unlikely hints and fix synchronize_irq.

22 years agoPPC32: use the memory size passed in from the bootloader
Tom Rini [Tue, 6 Aug 2002 05:26:56 +0000 (15:26 +1000)]
PPC32: use the memory size passed in from the bootloader
in preference to probing at startup.

We now use boot_mem_size if it is nonzero and only call
ppc_md.find_end_of_memory if boot_mem_size is zero.

22 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Tue, 6 Aug 2002 01:43:27 +0000 (11:43 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

22 years agoMerge angband.namesys.com:/home/green/bk/linux-2.5
Oleg Drokin [Mon, 5 Aug 2002 14:22:16 +0000 (18:22 +0400)]
Merge angband.namesys.com:/home/green/bk/linux-2.5
into angband.namesys.com:/home/green/bk_work/reiser3-linux-2.5

22 years agoMerge bk://ldm.bkbits.net/linux-2.5-driverfs
Linus Torvalds [Mon, 5 Aug 2002 07:06:39 +0000 (00:06 -0700)]
Merge bk://ldm.bkbits.net/linux-2.5-driverfs
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge bk://ldm.bkbits.net/linux-2.5-driverfs
Patrick Mochel [Mon, 5 Aug 2002 06:34:53 +0000 (23:34 -0700)]
Merge bk://ldm.bkbits.net/linux-2.5-driverfs
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-driverfs

22 years agoDon't call device_remove_file() from cdrom layer, since they're not even
Patrick Mochel [Mon, 5 Aug 2002 06:33:45 +0000 (23:33 -0700)]
Don't call device_remove_file() from cdrom layer, since they're not even
the ones that create the file.

22 years agoMerge bk://jfs.bkbits.net/linux-2.5
Linus Torvalds [Mon, 5 Aug 2002 05:57:05 +0000 (22:57 -0700)]
Merge bk://jfs.bkbits.net/linux-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoAdd resize function to JFS
Dave Kleikamp [Mon, 5 Aug 2002 08:16:35 +0000 (03:16 -0500)]
Add resize function to JFS

This is invoked by mount -remount,resize=<blocks>.
See Documentation/filesystems/jfs.txt for more information.

22 years agodriverfs: decrement refcount on dentry being removed, not directory
Patrick Mochel [Mon, 5 Aug 2002 04:13:08 +0000 (21:13 -0700)]
driverfs: decrement refcount on dentry being removed, not directory

This brain fart is left over from some cleanup of these functions a _long_
time ago. We need to dput() the dentry, since we have an implicit count of
one left over from the create function.

Instead, we were dput() on the directory that it was in, which we didn't
have a matching dget() for.

22 years agoMerge kleikamp.austin.ibm.com:/home/shaggy/bk/jfs-2.5
Dave Kleikamp [Mon, 5 Aug 2002 04:03:22 +0000 (23:03 -0500)]
Merge kleikamp.austin.ibm.com:/home/shaggy/bk/jfs-2.5
into kleikamp.austin.ibm.com:/home/shaggy/bk/resize-2.5

22 years agoRework JFS's inode locking
Dave Kleikamp [Mon, 5 Aug 2002 03:35:46 +0000 (22:35 -0500)]
Rework JFS's inode locking

In order for JFS to be able to quiesce the current activity, while
blocking new transactions, the locking needed some rework.  New
transactions are stopped in the functions txBegin or txBeginAnon,
where the rdwrlock (IREAD_LOCK/IWRITE_LOCK) may be held.  Dirty
inodes may need to be committed while new transactions are blocked
here, so another lock is introduced (commit_sem) which is taken after
txBegin/txBeginAnon is called.  This ensures that the proper
serialization takes place, without the write_inode method needing to
grab the rdwrlock.

In addition, the use of IWRITE_LOCK and IREAD_LOCK has been removed
from directory inodes.  The serialization done by the VFS using i_sem
is sufficient to avoid races.

This patch removes JFS's dependency on down_write_trylock.

22 years agoMerge jfs@jfs.bkbits.net:linux-2.5
Dave Kleikamp [Mon, 5 Aug 2002 03:34:26 +0000 (22:34 -0500)]
Merge jfs@jfs.bkbits.net:linux-2.5
into kleikamp.austin.ibm.com:/home/shaggy/bk/jfs-2.5

22 years agoMerge http://gkernel.bkbits.net/janitor-2.5
Linus Torvalds [Mon, 5 Aug 2002 02:39:02 +0000 (19:39 -0700)]
Merge http://gkernel.bkbits.net/janitor-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge master.kernel.org:/home/davem/BK/net-2.5
Linus Torvalds [Mon, 5 Aug 2002 02:00:05 +0000 (19:00 -0700)]
Merge master.kernel.org:/home/davem/BK/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoNTFS: 2.0.23 - Major bug fixes (races, deadlocks, non-i386 architectures).
Anton Altaparmakov [Mon, 5 Aug 2002 01:01:33 +0000 (02:01 +0100)]
NTFS: 2.0.23 - Major bug fixes (races, deadlocks, non-i386 architectures).
- Massive internal locking changes to mft record locking. Fixes lock
  recursion and replaces the mrec_lock read/write semaphore with a
  mutex. Also removes the now superfluous mft_count. This fixes several
  race conditions and deadlocks, especially in the future write code.
- Fix ntfs over loopback for compressed files by adding an
  optimization barrier. (gcc was screwing up otherwise ?)
- Miscellaneous cleanups all over the code and a fix or two in error
  handling code paths.
Thanks go to Christoph Hellwig for pointing out the following two:
- Remove now unused function fs/ntfs/malloc.h::vmalloc_nofs().
- Fix ntfs_free() for ia64 and parisc by checking for VMALLOC_END, too.

22 years agosysctl_net_802.c: Protect sysctl_tr_rif_timeout usage with CONFIG_TR.
David S. Miller [Sun, 4 Aug 2002 15:21:57 +0000 (08:21 -0700)]
sysctl_net_802.c: Protect sysctl_tr_rif_timeout usage with CONFIG_TR.

22 years agoAdd KERN_xxx prefixes to printk's in kernel/ subdir.
Cory Watson [Sun, 4 Aug 2002 08:49:54 +0000 (04:49 -0400)]
Add KERN_xxx prefixes to printk's in kernel/ subdir.

22 years agoMerge master.kernel.org:/home/davem/BK/net-2.5
Linus Torvalds [Sun, 4 Aug 2002 04:52:00 +0000 (21:52 -0700)]
Merge master.kernel.org:/home/davem/BK/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge http://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Sun, 4 Aug 2002 04:41:40 +0000 (21:41 -0700)]
Merge http://gkernel.bkbits.net/net-drivers-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoFix inappropriate use of set_bit in dl2k gige net driver
Matthew Wilcox [Sun, 4 Aug 2002 09:35:36 +0000 (05:35 -0400)]
Fix inappropriate use of set_bit in dl2k gige net driver

22 years agoFix epic100 net driver:
Krzysztof Halasa [Sun, 4 Aug 2002 09:09:53 +0000 (05:09 -0400)]
Fix epic100 net driver:
* fix spurious bad initializations
* pound phy a la SMSC's app note on the subject

22 years agoYet another new tulip pci id
Owen Taylor [Sun, 4 Aug 2002 09:03:08 +0000 (05:03 -0400)]
Yet another new tulip pci id

22 years agoAdd pci id to tulip net driver
Aaron Baranoff [Sun, 4 Aug 2002 08:56:29 +0000 (04:56 -0400)]
Add pci id to tulip net driver

22 years agoAdd __devexit_p marker to orinoco_{pci,plx} wireless drivers
Adrian Bunk [Sun, 4 Aug 2002 08:54:06 +0000 (04:54 -0400)]
Add __devexit_p marker to orinoco_{pci,plx} wireless drivers

22 years agoMark dmfe net driver with __devexit, fixing hotplug support and
Paul Vojta [Sun, 4 Aug 2002 08:52:02 +0000 (04:52 -0400)]
Mark dmfe net driver with __devexit, fixing hotplug support and
occasional linker warnings/errors

22 years agoRemove unnecessary prototypes in eepro100 net driver
Pavel Machek [Sun, 4 Aug 2002 08:34:11 +0000 (04:34 -0400)]
Remove unnecessary prototypes in eepro100 net driver

22 years agoAdd pci id to tulip net driver
antoine@ausone.whoknows [Sun, 4 Aug 2002 08:25:35 +0000 (04:25 -0400)]
Add pci id to tulip net driver

22 years agoUpdate old eepro net driver:
Michael Westermann [Sun, 4 Aug 2002 08:22:01 +0000 (04:22 -0400)]
Update old eepro net driver:
* when you hit a memory shortage, also drop the packets on-board
* several KERN_xxx printk prefix corrections

22 years agoAdd two pci ids to 8139too net driver
Wilson Chen [Sun, 4 Aug 2002 08:11:55 +0000 (04:11 -0400)]
Add two pci ids to 8139too net driver

22 years agoAdd pci id to orinoco wireless net driver
Ingo Rohlfs [Sun, 4 Aug 2002 08:01:43 +0000 (04:01 -0400)]
Add pci id to orinoco wireless net driver

22 years agoClean up eepro100 update from David M-T:
Christoph Hellwig [Sun, 4 Aug 2002 07:54:34 +0000 (03:54 -0400)]
Clean up eepro100 update from David M-T:
- remove outdated comment about 2.3-only
- style up David's changelog entry like the others
- replace ifdef RX_ALIGN with a rx_align() macro
- kill pointless #if defined(MODULE) || defined(CONFIG_HOTPLUG)
  around ->remove.

22 years agosynchronize_irq updates for dl2k and ns83820 gige net drivers
Jeff Garzik [Sun, 4 Aug 2002 07:50:09 +0000 (03:50 -0400)]
synchronize_irq updates for dl2k and ns83820 gige net drivers

22 years agoFix e100 net driver build when CONFIG_PM is defined.
Jeff Garzik [Sun, 4 Aug 2002 07:41:35 +0000 (03:41 -0400)]
Fix e100 net driver build when CONFIG_PM is defined.

22 years agoMerge http://gkernel.bkbits.net/misc-2.5
Linus Torvalds [Sun, 4 Aug 2002 04:39:56 +0000 (21:39 -0700)]
Merge http://gkernel.bkbits.net/misc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoCorrectly free resources in old-OSS esssolo1 sound driver
Marcus Alanen [Sun, 4 Aug 2002 08:45:31 +0000 (04:45 -0400)]
Correctly free resources in old-OSS esssolo1 sound driver

22 years agoCorrectly free resources in old-OSS es1371 sound driver
Marcus Alanen [Sun, 4 Aug 2002 08:43:40 +0000 (04:43 -0400)]
Correctly free resources in old-OSS es1371 sound driver

22 years agoMacro __devexit_p in linux/init.h needs to be conditions on both
Jeff Garzik [Sun, 4 Aug 2002 07:29:22 +0000 (03:29 -0400)]
Macro __devexit_p in linux/init.h needs to be conditions on both
MODULE and CONFIG_HOTPLUG cpp symbols.  Merge 2.4's definition to
make it so.

22 years agoMerge master.kernel.org:/home/davem/BK/sparc-2.5
Linus Torvalds [Sun, 4 Aug 2002 04:22:51 +0000 (21:22 -0700)]
Merge master.kernel.org:/home/davem/BK/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge nuts.ninka.net:/home/davem/src/BK/BAK-sparc-2.5
David S. Miller [Sat, 3 Aug 2002 19:38:03 +0000 (12:38 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/BAK-sparc-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5

22 years agodrivers/scsi/qlogicpti.c: Replace cli/sti with spinlocking.
David S. Miller [Sat, 3 Aug 2002 19:26:18 +0000 (12:26 -0700)]
drivers/scsi/qlogicpti.c: Replace cli/sti with spinlocking.

22 years agoSPARC64 NS87303: Replace cli/sti with spinlocking.
David S. Miller [Sat, 3 Aug 2002 19:08:54 +0000 (12:08 -0700)]
SPARC64 NS87303: Replace cli/sti with spinlocking.

22 years agoMYRI_SBUS: Replace cli/sti with spinlocking.
David S. Miller [Sat, 3 Aug 2002 19:03:12 +0000 (12:03 -0700)]
MYRI_SBUS: Replace cli/sti with spinlocking.

22 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Sat, 3 Aug 2002 19:02:57 +0000 (05:02 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

22 years agodrivers/sbus/char/openprom.c: Remove useless cli/sti usage.
David S. Miller [Sat, 3 Aug 2002 18:57:34 +0000 (11:57 -0700)]
drivers/sbus/char/openprom.c: Remove useless cli/sti usage.

22 years agoMerge master.kernel.org:/home/acme/BK/appletalk-2.5
David S. Miller [Sat, 3 Aug 2002 17:22:22 +0000 (10:22 -0700)]
Merge master.kernel.org:/home/acme/BK/appletalk-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5