- 08 Mar, 2004 30 commits
-
-
Rusty Russell authored
Now we've moved the bogolock code out to stop_machine.c and generalized it a little, use it in module.c and delete the duplicate code there.
-
Rusty Russell authored
The "bogolock" code was introduced in module.c, as a way of freezing the machine when we wanted to remove a module. This patch moves it out to stop_machine.c and stop_machine.h. Since the code changes affinity and proirity, it's impolite to hijack the current context, so we use a kthread. This means we have to pass the function rather than implement "stop_machine()" and "restart_machine()".
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.6
-
http://jfs.bkbits.net/linux-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Dave Kleikamp authored
into austin.ibm.com:/shaggy/bk/jfs-2.5
-
Dave Kleikamp authored
Submitted by Christoph Hellwig
-
Dave Kleikamp authored
Committing a transaction creating a file required insuring that the inode stayed in cache until the journal was written to. i_count was being incremented until the transaction was complete. However, incrementing i_count caused fcntl(S_SETLEASE) to fail. I reworked the transaction code so that the inode does not have to stay in-memory while the transaction is being committed. Thanks to Steve French for figuring out why setlease was failing.
-
Dave Kleikamp authored
When no iocharset is specified, the default action is to trivially map each byte into the low order of the 16-bit unicode character. If an existing name exists that has a non-zero high order byte, the file will be inaccessible without remounting with iocharset set to a charset that supports the character. This patch will cause a warning to be issued to the syslog (no more than five times) suggesting that the volume be mounted with iocharset=utf8 in order to access the file.
-
Andrew Morton authored
From: Valdis.Kletnieks@vt.edu The send_IPI_self() in smp.c was fixed but the one in io_apic.c was not.
-
Andrew Morton authored
From: Hugh Dickins <hugh@veritas.com> Fixes bugzilla #2219 fork's dup_mmap leaves child mm_rb as copied from parent mm while doing all the copy_page_ranges, and then calls build_mmap_rb without holding page_table_lock. try_to_unmap_one's find_vma (holding page_table_lock not mmap_sem) coming on another cpu may cause mm mayhem. It may leave the child's mmap_cache pointing to a vma of the parent mm. When the parent exits and the child faults, quite what happens rather depends on what junk then inhabits vm_page_prot, which gets set in the page table, with page_add_rmap adding the ptep, but junk pte likely to fail the tests for page_remove_rmap. Eventually the child exits, the page table is freed and try_to_unmap_one oopses on null ptep_to_mm (but in a kernel with rss limiting, usually page_referenced hits the null ptep_to_mm first). This took me days and days to unravel! Big thanks to Matthieu for reporting it with a good test case.
-
Andrew Morton authored
It provides a best-effort, minimum-latency "get all the writeout underway" function.
-
Dave Kleikamp authored
-
Linus Torvalds authored
blk_start_queue() fix.
-
Bartlomiej Zolnierkiewicz authored
From: Jakub Bogusz <qboosh@pld-linux.org>
-
bk://kernel.bkbits.net/davem/tg3-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
David S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
Chris Wright authored
Noted by Stephen Smalley: sys_acct does not properly clean up the open file when the security_acct hook returns an error. Fixed thus.
-
Jens Axboe authored
Here's the second attempt at fixing blk_start_queue(). The only change since last version is using proper atomic bitops. If we moved the read/write full to a different variable, we could rely on the queue lock for plugging and stop/start of queue (by far the most used bit operations there) and skip the atomic bitops.
-
David Stevens authored
-
Wensong Zhang authored
Patch from Horms <horms@vergenet.net> 1. The trailing '\n' was missing, it has been added 2. The protocol is already in host byte order, the ntohl() call has been removed
-
Herbert Xu authored
-
David S. Miller authored
into nuts.davemloft.net:/disk1/BK/tg3-2.6
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
Jens Axboe authored
blk_insert_request() unconditionally calls q->request_fn(q) regardless of the plug state of the queue. This means that we could invoke request_fn with a plugged queue, which is an invalid state. Also fix a Jamesism style in there.
-
Nathan Scott authored
filemap_flush() needs exporting for modular XFS builds.
-
Stephen Rothwell authored
This got missed in my cleanup if iSeries_vio_dev.
-
- 07 Mar, 2004 5 commits
-
-
Krzysztof Halasa authored
The attached patch updates wanXL card driver. Please apply to Linux 2.6. Thanks. Changes: * fixed initialization kernel panic, introduced with recent alloc_netdev() wan patch, * wanxl_rx_intr() port# now checked before accessing port structure, * cleanups etc. -- Krzysztof Halasa, B*FH
-
Scott Feldman authored
* Add National DP83840 PHY rev b/c setup. Only rev a was being setup.
-
Andrew Morton authored
From: Joe Perches <joe@perches.com> Use %08llx for a dma_addr_t, not the recently-added %llx.
-
Jens Axboe authored
The carmel driver will want to use this rather than muck around in queue internals directly.
-
Andrew Morton authored
Declarations come before statements, please. Current gcc warns about this too, bless them: crypto/arc4.c: In function `arc4_crypt': crypto/arc4.c:65: warning: ISO C90 forbids mixed declarations and code
-
- 06 Mar, 2004 5 commits
-
-
Andrew Morton authored
From: Zwane Mwaikambo <zwane@linuxpower.ca> It looks like a block request snuck through before we had initialised the motor_off_timer timers. So I pushed the timer init earlier.
-
Andrew Morton authored
From: Marc-Christian Petersen <m.c.p@wolk-project.de> OSS Sound Driver Forte needs ac97_codec.
-
Andrew Morton authored
drivers/i2c/busses/i2c-elv.c: In function `i2c_bitelv_init': drivers/i2c/busses/i2c-elv.c:155: warning: unsigned int format, long int arg (arg 2) drivers/i2c/busses/i2c-elv.c:155: warning: unsigned int format, long int arg (arg 2) drivers/i2c/busses/i2c-velleman.c: In function `i2c_bitvelle_init': drivers/i2c/busses/i2c-velleman.c:141: warning: unsigned int format, long int arg (arg 2) drivers/i2c/busses/i2c-velleman.c:141: warning: unsigned int format, long int arg (arg 2)
-
Andrew Morton authored
From: David Joerg <davidjoerg@web.de> Fix the description of the IO ports for the IDE primary and secondary interfaces.
-
Andrew Morton authored
From: Aneesh Kumar KV <aneesh.kumar@digital.com> We need to set the tasks's exit code prior to waking it, not afterwards. Acked by rth.
-