- 15 Feb, 2003 10 commits
-
-
Andrew Morton authored
Patch from Joakim Tjernlund <joakim.tjernlund@lumentis.se> I did the optimizations in the crc32 patch Brian Murphy submitted a while ago. Now I have cleaned it up a little and made some more optimizations. gcc is quite bad at loop optimizations (at least for PPC) so I have rewritten them to make gcc to generate better code. Even recent gcc's(3.2.x) produces better code. Also reduced the unrolling since it did not make a noticeable difference.
-
Andrew Morton authored
When ext3_writepage races with truncate, block_write_full_page() will see that the page is outside i_size and will bale out with -EIO. But ext3_writepage() will ignore this and will proceed to add the buffers to the transaction. Later, kjournald tries to write them out and goes BUG() because those buffers are not mapped to disk. The fix is to not attach the buffers to the transaction in ext3_writepage() if block_write_full_page() failed. So far so good, but that page now has dirty, unmapped buffers (the buffers were attached in a dirty state by ext3_writepage()). So teach block_write_full_page() to clean the buffers against the page if it is wholly outside i_size. (A simpler fix to all of this mught be to just bale out of ext3_writepage() if the page is outside i_size. But that is racy against block_write_full_page()'s subsequent execution of the same comparison).
-
Andrew Morton authored
Patch from: Oleg Drokin <green@namesys.com> It moves all the arg checking code from the start of generic_file_aio_write() into a standalone function, so other filesystems can avoid having to cut-n-paste them. The new function is exported to modules, and also inlined in filemap.c so that the current filesystems are unaffected. If someone is using ext2 and reiserfs at the same time, they lose a bit of icache.
-
Andrew Morton authored
Patch from Oleg Drokin <green@namesys.com> Move these already-inline functions to a header file so that filesystems can reuse them. For the reiserfs_file_write patch.
-
Andrew Morton authored
Patch from: Zwane Mwaikambo <zwane@holomorphy.com> Considering that smp_call_function isn't allowed to hold a lock reference and within smp_call_function we lock and unlock call_lock thus triggering a preempt point. Therefore we can't guarantee that we'll be on the same processor when we hit do_flush_tlb_all_local. void flush_tlb_all(void) { smp_call_function (flush_tlb_all_ipi,0,1,1); do_flush_tlb_all_local(); } ... smp_call_function() { spin_lock(call_lock); ... spin_unlock(call_lock); <preemption point> } ... do_flush_tlb_all_local() - possibly not executing on same processor anymore.
-
Andrew Morton authored
I'm getting a build error: fs/jfs/super.c: In function `jfs_fill_super': fs/jfs/super.c:335: parse error before `)' and it doesn't happen with gcc-3.2.x. Taking out the file-n-line fixes it up. This patch was acked by shaggy.
-
Matthew Wilcox authored
Robbie Williamson found some bugs in the mandatory locking implementation. This patch fixes all the problems he found: - Fix null pointer dereference caused by sys_truncate() passing a null filp. - Honour the O_NONBLOCK flag when calling ftruncate() - Local variable `fl' wasn't being initialised correctly in locks_mandatory_area() - Don't return -ENOLCK from __posix_lock_file() when FL_ACCESS is set.
-
Jens Axboe authored
We must grab lock before checking rl->count.
-
Jens Axboe authored
bio-to-request front merging works, but request-to-request has been broken due to a bit too much copy'n pasting.
-
Jens Axboe authored
Cleaner fix for the ioscheduler: - Problem with alias request, the new request gets lost. - Must always clear merge hash in move_to_dispatch()
-
- 14 Feb, 2003 30 commits
-
-
Linus Torvalds authored
-
bk://kernel.bkbits.net/jgarzik/net-drivers-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Jeff Garzik authored
into redhat.com:/garz/repo/net-drivers-2.5
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
Just approving this as maintainer of i2o_scsi
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
This lets me put mca-legacy into drivers to fix them for now without worrying about losing the fact they want more attention
-
Alan Cox authored
There are no known cards outside of labs that used i2o_lan. The only exception is the Redcreek VPN, which has its own driver anyway. Note i2o_lan.h is left as i2o_config can still understand i2o_lan devices such as the RedCreek.
-
David Woodhouse authored
-
Patrick Mochel authored
The following patches should fix those last two issues - compiling boot.c for UP and compiling proc.c by default.
-
bk://namesys.com/bk/reiser3-linux-2.5-resizer-fixLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Oleg Drokin authored
This is needed because mark_buffer_dirty is now checking if buffer is up to date. Noticed by Alex Tomas <bzzz@tmi.comex.ru>
-
bk://linux-dj.bkbits.net/cpufreqLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Dave Jones authored
into tetrachloride.(none):/mnt/stuff/kernel/2.5/cpufreq
-
Dave Jones authored
into tetrachloride.(none):/mnt/stuff/kernel/2.5/agpgart
-
Dave Jones authored
into tetrachloride.(none):/mnt/stuff/kernel/2.5/agpgart
-
Dave Jones authored
into tetrachloride.(none):/mnt/stuff/kernel/2.5/cpufreq
-
Dave Jones authored
-