- 19 Jan, 2004 40 commits
-
-
Andrew Morton authored
From: Russell King, Tom Rini, Dave Jones As plugged in 2.4 recently. Fix some leakage of uninitialised memory to userspace via rtc reads.
-
Andrew Morton authored
From: Christophe Saout <christophe@saout.de> The intent of these are to clarify the meaning of the bio fields in the bi_end_io function (since we are already mostly there). After these small modifications bio->bi_idx and the corresponding bio_iovec(bio)->bv_offset point to the beginning of the completed data, together with the nr_bytes argument you know exactly what data was finished, e.g. when you can't track it otherwise (or it would be unnecessary expensive). Apart from that it's a nice-to-have. The first mini-patch moves the update of bio_iovec(bio)->bv_offset and ->bv_len after the call of bi_end_io where bi_idx gets updated so they get updated together. Ok with Jens. The second part of the patch modifies the multwrite hack in PIO non- taskfile ide disk code. It modifies the bi_idx field to walk the bios and doesn't reset it correctly before ending the request. The patch uses the segment counter in the request field to correctly restore the bi_idx field before ending the request. Can't possibly break anything since it's working on the local request copy ("scratchpad") anyway. Also does this in legacy/pdc4030.c (similar code). The code modified here is going to die anyway any trying to fix it would be too invasive. Ok with Bartlomiej.
-
Andrew Morton authored
From: Manfred Spraul <manfred@colorfullife.com> readdir on /proc has two problems: reading all entries is O(N^2), and entries are overlooked if tasks die in the middle of readdir: the readdir implementation remembers the offset into the task list, and if a task (actually: process) that was returned by previous readdir calls exits, then a random entry is dropped. The attached patch fixes the O(N^2) by using f_version to store the pid of the task that should be returned next. This speeds up reading /proc to O(N). Additionally, it mitigates the effects of dying tasks: Tasks are skipped only if the task whose pid is stored in f_version exits, all other task deaths have no effect. Unfortunately the code has a bad worst case behavior: if the targeted task exits and a new task with the same pid is created, then all entries in the task list between old and new position are dropped. This should be rare.
-
Andrew Morton authored
From: Bram Stolk <bram@sara.nl> Fixes for Documentation/fb/modedb.txt and Documentation/fb/tridentfb.txt
-
Andrew Morton authored
From: Rusty Russell <rusty@rustcorp.com.au> It turns out that run_workqueue never has signal_pending(), since setting the handler to SIG_IGN means "don't make zombies, I'm ignoring them". Fix the comment, don't allow the signal, and remove the unused waitpid loop. This also allows simpler conversion of workueues to the kthread mechanism, which uses signals to indicate it's time to stop.
-
Andrew Morton authored
Spotted by From: Christian Borntraeger <kernel@borntraeger.net> dma_reset_input() takes dmap->lock, so call it without that lock held.
-
Andrew Morton authored
From: jbarnes@sgi.com (Jesse Barnes) The 'depends' directive for SGI IOC4 support is too restrictive. Just make it depend on ia64.
-
Andrew Morton authored
We leak a page in do_no_page() if pte_chain_alloc fails.
-
Andrew Morton authored
From: Armin <armin@melware.de> - Allocate buffer of correct size. - Fix possible buffer overflow. - Use correct debug level for double registered application.
-
Andrew Morton authored
From: Armin <armin@melware.de> It fixes access to hardware memory of wrong size and therefore removes a compiler warning. The hardware trap variable must be read as 32bit value.
-
Andrew Morton authored
From: Armin <armin@melware.de> The new driver for Eicon ISDN cards is in drivers/isdn/hardware/eicon. The old driver is still in drivers/isdn/eicon and I would like to remove this old driver from the 2.6 kernels. The attached patch removes the references to this driver, but in addition the directory drivers/isdn/eicon should be removed.
-
Andrew Morton authored
From: Alex Tomas <alex@clusterfs.com> start_this_handle() returns 0 always. because of this journal_start() may return handle with h_transaction = NULL
-
Andrew Morton authored
From: Andi Kleen <ak@muc.de> The i386 HPET time setup code would explicitely check for the Intel vendor ID. That is bogus because other chipset vendors (like AMD) are implementing HPET too. Remove this check.
-
Andrew Morton authored
From: Rusty Russell <rusty@au1.ibm.com> Vatsa spotted this: you can remove a module while it's being initialized, and that will be bad. Hole was opened when I dropped the sem around the init routine (which can probe for other modules).
-
Andrew Morton authored
From: Nick Piggin <piggin@cyberone.com.au>, Rusty Russell <rusty@rustcorp.com.au> Prevents a race where sys_sched_setaffinity can race with sched_migrate_task and cause sched_migrate_task to restore an invalid cpu mask.
-
Andrew Morton authored
- Make it static - It is larger and has two callsites: uninline it.
-
Andrew Morton authored
From: Jesper Juhl <juhl-lkml@dif.dk> I'm compiling 2.6.1-rc1-mm1 with "-W -Wall" to look for potential problems and minor stuff to clean up. One of the things that enabling the extra warnings turn up is errors about the placement of the inline keyword.
-
Andrew Morton authored
Fix warnings and build errors under EXT2_DEBUG.
-
Andrew Morton authored
From: Pavel Machek <pavel@ucw.cz> Softcursor was broken for half of 2.5 series. This fixes it by first hiding cursor _then_ hiding softcursor. Very simple mistake...
-
Andrew Morton authored
From: Pavel Machek <pavel@ucw.cz> This is obsolete x86-64 code.
-
Andrew Morton authored
- Add missing locking around s_next_generation increment - Correctly set the initial value of s_next_generation.
-
Andrew Morton authored
There is no locking around the increment of this per-filesystem counter. Create a new lock, just for this.
-
Andrew Morton authored
We've cached EXT2_SB(sb) in local variable `sbi'. Use it.
-
Andrew Morton authored
From: Pavel Machek <pavel@ucw.cz> This kills outdated docs, and adds some helpful docs about video issues with suspend.
-
Andrew Morton authored
From: Pavel Machek <pavel@ucw.cz> wakeup.S includes some rather nasty, and unneccessary debugging code. (It used to try to flush caches/tlbs; now its totally useless).
-
Andrew Morton authored
From: "H. Peter Anvin" <hpa@zytor.com> MAINTAINERS update
-
Andrew Morton authored
From: "Bryan O'Sullivan" <bos@serpentine.com> For compound pages, page_count needs to be sure to reference the head page. This affects code that plays tricks with memory mappings into userspace, which would mostly involve video drivers.
-
Andrew Morton authored
From: "Nakajima, Jun" <jun.nakajima@intel.com> Restore the HT detection algorithm. Make the processor package mapping subarch-specific so that it can reflect the APIC ID info provided by BIOS if required.
-
http://linux-watchdog.bkbits.net/linux-2.6-watchdogLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Bartlomiej Zolnierkiewicz authored
From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>, Randy.Dunlap <rddunlap@osdl.org>
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
bk://bk.phunnypharm.org/ieee1394-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Andrew Morton authored
If we detect an error late in this function, local variable `interpreter' can be NULL. Don't try to fput() it in that case.
-
Andrew Morton authored
3c59x has a tunable `rx_copybreak'. But it's declared const, so recent gcc's rub it out altogether, and modprobe says `3c59x: falsely claims to have parameter rx_copybreak'.
-
Andrew Morton authored
This way, the "static char buf" is defined only once instead of once per file.
-
Andrew Morton authored
From: NeilBrown <neilb@cse.unsw.edu.au> From: Greg Banks <gnb@melbourne.sgi.com>, see comment in code.
-
Andrew Morton authored
From: NeilBrown <neilb@cse.unsw.edu.au> Based on code from Terje Malmedal <terje.malmedal@usit.uio.no>
-
Andrew Morton authored
From: NeilBrown <neilb@cse.unsw.edu.au> follow_up doesn't check that the passed dentry is at the root of the mounted file system, so we have to do that, to avoid calling follow_up too many times.
-
Andrew Morton authored
From: NeilBrown <neilb@cse.unsw.edu.au> We weren't converting the -E* error code to an nfserr_* error code as we should.
-
Andrew Morton authored
From: NeilBrown <neilb@cse.unsw.edu.au> nfsd_setuser was not called until after filehandle lookup was done, so filehandle lookup would use the wrong userid, and so the permission checking in nfsd_acceptable would be bogus.
-