- 05 Sep, 2003 23 commits
-
-
Alexander Viro authored
cciss cleanup - instead of playing with device numbers, we add helper functions that get host and drive structures by gendisk and use them in open/ioctl/release, same as had been done for cpqarray.
-
Alexander Viro authored
paride/pt.c cleanups - passing pointer to pt_unit instead of index in array; same as had been done for pd/pcd/pf.
-
Alexander Viro authored
floppy98 ->probe() forgot to set *part to 0; fixed.
-
Alexander Viro authored
misc trivial cleanups
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Russell King authored
-
Russell King authored
-
Russell King authored
- Don't write the current time back to the RTC on suspend - we may jump over a programmed wakeup alarm. - Restore SA1100 GPIO output state
-
Russell King authored
- Suspend and resume system devices. - If device suspend fails, don't suspend.
-
Russell King authored
Some ARM CPUs don't allow CP15 CR1 control register to be read. Therefore, to ensure that the value hits the control register on Xscale, read back the CP15 CR0 ID register instead.
-
Russell King authored
On ARM, we oops when we detect that an interrupt handler has unbalanced the preempt count. We should restore the preempt count when we started to handle the interrupt and then cause the oops.
-
Russell King authored
-
Russell King authored
-
Russell King authored
-
Paul Fulghum authored
* replace previously removed NULL context check (causes oops when opening non existent device)
-
Paul Fulghum authored
* replace previously removed NULL context check (causes oops when opening non existent device)
-
Paul Fulghum authored
* add RCC underrun handling * fix stats output typo * replace previously removed NULL context check (causes oops when opening non existent device)
-
Arjan van de Ven authored
This fixes a "miscompile" HP reported against gcc 3.3 with -march-pentium4. It turned out to be a non-complete asm contraint. the existing constraint on "opt" was on the address of "opt", which allowed gcc to reorder the setting of the fields inside opt to beyond the asm that uses it, which is less than useful at best.
-
Jamie Lokier authored
This changes the way futexes are indexed, so that they don't pin pages. It also fixes some bugs with private mappings and COW pages. Currently, all futexes look up the page at the userspace address and pin it, using the pair (page,offset) as an index into a table of waiting futexes. Any page with a futex waiting on it remains pinned in RAM, which is a problem when many futexes are used, especially with FUTEX_FD. Another problem is that the page is not always the correct one, if it can be changed later by a COW (copy on write) operation. This can happen when waiting on a futex without writing to it after fork(), exec() or mmap(), if the page is then written to before attempting to wake a futex at the same adress. There are two symptoms of the COW problem: - The wrong process can receive wakeups - A process can fail to receive required wakeups. This patch fixes both by changing the indexing so that VM_SHARED mappings use the triple (inode,offset,index), and private mappings use the pair (mm,virtual_address). The former correctly handles all shared mappings, including tmpfs and therefore all kinds of shared memory (IPC shm, /dev/shm and MAP_ANON|MAP_SHARED). This works because every mapping which is VM_SHARED has an associated non-zero vma->vm_file, and hence inode. (This is ensured in do_mmap_pgoff, where it calls shmem_zero_setup). The latter handles all private mappings, both files and anonymous. It isn't affected by COW, because it doesn't care about the actual pages, just the virtual address. The patch has a few bonuses: 1. It removes the vcache implementation, as only futexes were using it, and they don't any more. 2. Removing the vcache should make COW page faults a bit faster. 3. Futex operations no longer take the page table lock, walk the page table, fault in pages that aren't mapped in the page table, or do a vcache hash lookup - they are mostly a simple offset calculation with one hash for the futex table. So they should be noticably faster. Special thanks to Hugh Dickins, Andrew Morton and Rusty Russell for insightful feedback. All suggestions are included.
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Bartlomiej Zolnierkiewicz authored
From Matias Alejo Garcia <kernel@matiu.com.ar>.
-
Russell King authored
MODULE_ALIAS_LDISC() is not in any way architecture-specific, so don't put it in architecture header files. Here's a patch which moves it to a more sensible location.
-
Jens Axboe authored
The "insert_here" list pointer logic was broken, and unnecessary. Kill it and its associated logic off completely - just tell the IO scheduler what kind of insert it is. This also makes the *_insert_request strategies much easier to follow, imo.
-
- 04 Sep, 2003 17 commits
-
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
John Levon authored
-
http://linux-lksctp.bkbits.net/lksctp-2.5David S. Miller authored
into nuts.ninka.net:/disk1/davem/BK/net-2.5
-
Stephen Hemminger authored
Since sdla.c now has locking instead of cli/sti, it shouldn't be completely busted on SMP. Also, the frad interface registration needed to be done once (and check the result), and undone on module unload.
-
David S. Miller authored
-
Stephen Hemminger authored
* get rid of leftover sti * no longer need MOD_INC/DEC stuff * get rid of dead code related to MOD_INC/DEC * use module_init/module_exit to cleanly run init code
-
Chas Williams authored
-
Chas Williams authored
-
Chas Williams authored
-
David S. Miller authored
into nuts.ninka.net:/disk1/davem/BK/net-2.5
-
Rusty Russell authored
try_then_request_module() does what crypto/autoload.c is doing, so replace it. Fix try_then_request_module(), too (thanks James).
-
Andrew Morton authored
I should have stayed in bed.
-
Sridhar Samudrala authored
Apparently the new gcc 3.2.2 allows local variable declarations within the code of a function if it is not used earlier. But older gcc's do not allow this.
-
Stephen Hemminger authored
-
Chas Williams authored
-