- 18 Feb, 2002 2 commits
-
-
Andrew Morton authored
A forward port. At present, msync() does not report errors from EIO or ENOSPC. fsync() has the same bug for mapped pages against the affected fd. The patch correctly propagates these errors back up from writepage so that fsync and msync correctly report errors. It's fairly important - msync is the only way we have of reporting ENOSPC against sparse mappings. Of course, you can still silently lose your data if it's kswapd who gets ENOSPC during writepage. I have 3/4 of a patch for that. It records the data loss so that a later msync() will report the bad news. This patch also adds an implementation of msync(MS_ASYNC), because it was easy.
-
Andrew Morton authored
A forward-port. ext2, minix and sysv aren't handling directories correctly when IS_SYNC is in place. They call waitfor_one_page(), but forgot to start the I/O. The patch also moves waitfor_one_page and writeout_one_page into fs/buffer.c, so mm/filemap.c now does not mention buffer_head at all.
-
- 13 Feb, 2002 25 commits
-
-
Andi Kleen authored
fs/proc/inode.c is using __init, but for some reason missing an #include <linux/init.h>. Add this.
-
Andi Kleen authored
Add Andi Kleen as x86-64 maintainer.
-
Andi Kleen authored
This adds the x86_64 arch and asm directories and a Documentation/x86_64. It took a bit longer because I first had to make preemption and thread_info work and also found some other bugs while doing this. The port has been tested for a long time on UP. I'm not sure what I should describe. A lot is based on i386 with a lot of cleanups. I wrote a paper about it for last year's OLS that describes most of the changes (ftp://ftp.firstfloor.org/pub/ak/x86_64.ps.gz). It is a bit outdated now, but should give a good overview. It currently has a completely cut'n'pasted from others+hacked 32bit emulation. I hope to clean that up in the future by merging the generic core of this with other 64bit archs. Thanks, -Andi
-
Andi Kleen authored
Just an gcc 3.1 warning fix. It now warns about __FUNCTION__ string concatenation. Also remove the check because it does not seem to trigger ever. -Andi
-
Linus Torvalds authored
-
Linus Torvalds authored
-
http://gkernel.bkbits.net/misc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
for the definition of unlikely().
-
Paul Mackerras authored
The patch below changes access_process_vm to use a new architecture hook, flush_icache_user_range, instead of flush_icache_page, and adds a definition of flush_icache_user_range which does the same thing as flush_icache_page for all architectures except PPC. (The PPC update that is in Linus' BK tree already includes a suitable definition of flush_icache_user_range.) The reason for doing this is that when flush_icache_page is called from do_no_page or do_swap_page, I want to be able to do the flush conditionally, based on the state of the page. In contrast, access_process_vm needs to do the flush unconditionally since it has just modified the page. In the access_process_vm case it is useful to have the information about the user address and length that have been modified since then we can just flush the affected cache lines rather than the whole page. This patch should make it easy to improve performance on alpha, since there (as I understand it) the icache flush is not needed at all in do_no_page or do_swap_page, but is needed in access_process_vm. All that is needed is to make flush_icache_page a noop on alpha. The patch below doesn't do this, I'll let the alpha maintainers push that change if they want.
-
Paul Mackerras authored
This patch fixes a compile error on PPC. It's in sd_find_target, a function that returns a kdev_t.
-
bk://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Michael Elizabeth Chastain authored
This one-liner fixes an error case in Menuconfig when awk fails. Written by Andrew Church (achurch@achurch.org). Reviewed and tested by Michael Elizabeth Chastain (mec@shout.net). Michael Elizabeth Chastain ===
-
Linus Torvalds authored
-
Steven Cole authored
Add help texts for CONFIG_PCMCIA_AXNET and CONFIG_PCMCIA_XIRCOM
-
http://gkernel.bkbits.net/net-drivers-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
http://gkernel.bkbits.net/misc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jaroslav Kysela authored
Integrate ALSA into v2.5.4 Jaroslav
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Ingo Molnar authored
-
Ingo Molnar authored
condition, we test the preemption count in preempt_schedule(). This reduces the icache footprint and the overhead of preemption. - plus optimize the irq-path preemption check a bit.
-
Ingo Molnar authored
this is a fragile piece of the ptrace code, the code relies on a single wakeup coming from the parent. This fix is necessery after the preempt_schedule() cleanups, it unbreaks 'strace strace ...'.
-
Ingo Molnar authored
fixes a preemption race that was introduced by my removal of PREEMPT_ACTIVE.
-
Jeff Garzik authored
into hostme.bitkeeper.com:/ua/repos/g/gkernel/net-drivers-2.5
-
Jeff Garzik authored
into hostme.bitkeeper.com:/ua/repos/g/gkernel/misc-2.5
-
- 12 Feb, 2002 9 commits
-
-
Ingo Molnar authored
- the PREEMPT_ACTIVE trick is not needed - schedule() should check for need_resched, we might miss a reschedule otherwise. the cleanup also fixes the bug. The only reason why i kept preempt_schedule() was to fix up p->state to TASK_RUNNING, to make it possible to preempt from places that mark the task TASK_UNINTERRUPTIBLE before adding the task to a waitqueue, and thus a preemption in that small window could cause the task to be removed from the runqueue erroneously.
-
Ingo Molnar authored
-
Ingo Molnar authored
-
Martin Diehl authored
this is a patch to prevent usb_set_interface() from erroneously resetting the toggles for all endpoints instead of only the affected ones from the requested interface/altsetting. I've also added some missing parentheses to related macros in usb.h as I prefered not to take special care for nasty side-effects ;-) Patch below was created against 2.4.18-pre9 (with some lines of offset it applies to 2.5.4-pre5 as well). Tested in multi-interface configuration to provide evidence it: * correctly identifies the affected endpoints and resets the toggles * doesn't touch endpoints from other interfaces * provides correct handling of shared EP0 * solves an issue I had with 2.4.18-pre9 where setting one interface occasionally caused transfers on other interface to hang due to lost toggle synchronisation Despite being a pure bugfix, well localized and (IMHO) pretty obviously correct wrt. USB-spec, I'd like to suggest including this in early 2.4.19-pre. Just in case some existing driver would somehow workaround the currently wrong behavior and might break with this fix. And it's not very urgent right now, as we are probably close to 2.4.18-rc1. Regards, Martin
-
Vojtech Pavlik authored
- patch to fix bug where urbs were freed too soon.
-
Jeff Garzik authored
Contributor: Ed Vance @ Macrolink
-
Jeff Garzik authored
Contributor: Go Taniguchi
-
Jeff Garzik authored
into bmac and mace net drivers. Via Dave Jones.
-
Jeff Garzik authored
'sungem' which DaveM is maintaining is the replacement.
-
- 11 Feb, 2002 4 commits
-
-
Jeff Garzik authored
-
Jeff Garzik authored
net driver. Also included are a couple of minor error reporting updates and the proper detection for cardbus removal. Contributor: Mike Phillips Linux Token Ring Project
-
Jeff Garzik authored
the ibmtr token ring net driver. Contributor: Mike Phillips Linux Token Ring Project
-
Jeff Garzik authored
* Only print warning on truly "oversized" packets * Fix theoretical bug on gigabit cards - return to 1.1.3 behavior Contributor: Val Henson
-