- 05 Nov, 2002 40 commits
-
-
Linus Torvalds authored
-
Ingo Molnar authored
This is the second iteration of thread-aware coredumps. Changes: - Ulrich Drepper has reviewed the data structures and checked actual coredumps via readelf - everything looks fine and according to the spec. - a serious bug has been fixed in the thread-state dumping code - it was still based on the 2.4 assumption that the task struct points to the kernel stack - it's task->thread_info in 2.5. This bug caused bogus register info to be filled in for threads. - properly wait for all threads that share the same MM to serialize with the coredumping thread. This is CLONE_VM based, not tied to CLONE_THREAD and/or signal semantics, ie. old-style (or different-style) threaded apps will be properly stopped as well. The locking might look a bit complex, but i wanted to keep the __exit_mm() overhead as low as possible. It's not quite trivial to get these bits right, because 'sharing the MM' is detached from signals semantics, so we cannot rely on broadcast-kill catching all threads. So zap_threads() iterates through every thread and zaps those which were left out. (There's a minimal race left in where a newly forked child might escape the attention of zap_threads() - this race is fixed by the OOM fixes in the mmap-speedup patch.) - fill_psinfo() is now called with the thread group leader, for the coredump to get 'process' state. - initialize the elf_thread_status structure with zeroes. the IA64 ELF bits are not included, yet, to reduce complexity of the patch. The patch has been tested on x86 UP and SMP.
-
Linus Torvalds authored
-
David Hinds authored
drivers/ide/legacy/ide-cs.c: o Added MODULE_{AUTHOR,DESCRIPTION}, fixed MODULE_LICENSE o Added support for (Panasonic) KME KXLC005 cards o Better errno for failed module initialization drivers/parport/parport_cs.c o Fixed it so it actually works o Removed cruft for old kernels o Better errno for failed module initialization
-
David Hinds authored
include/pcmcia/ciscode.h o added product ID's for a few more cards drivers/net/pcmcia/fmvj18x_cs.c o Added MODULE_DESCRIPTION o Added support for RATOC cards o Added support for Nextcom NC5310B cards o Added support for SSi 78Q8370 chipset o Added support for TDK GN3410 multifunction cards o Better errno for failed module initialization o Cleaned up whitespace drivers/net/pcmcia/smc91c92_cs.c o Added full duplex support for smc91c100 based cards o Better errno for failed module initialization o Synced up naming of stuff to match pcmcia-cs version o Cleaned up whitespace drivers/pcmcia/cardbus.c drivers/pcmcia/cistpl.c drivers/pcmcia/cs_internal.c o Fixed card identification bug triggered by invoking certain PCMCIA tools when cardmgr is not running.
-
David Hinds authored
This brings several PCMCIA network drivers into sync with 2.4 and the pcmcia-cs package. The axnet_cs driver gets a major cleanup.
-
David Hinds authored
This cleans up some obsolete email addresses.
-
http://gkernel.bkbits.net/misc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
In order to conserve CPU, the read(2) syscall would schedule_timeout unconditionally. This also crippled speed, and was a bad design decision. This cset merges the updated read(2) logic of the sister driver amd768_rng from Alan, which schedules only when it needs to. On my test system, by one microbenmark, read(2) output jumped from 0.08 kbit/s to "what Intel expects" of 20 kbit/s. End users may notice a significant decrease in idle time after this change (and a correspondingly large increase in /dev/hwrng user speed), if /dev/hwrng is used to its maximum capacity.
-
bk://linuxusb.bkbits.net/pci_hp-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/pci_hp-2.5
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/gregkh-2.5
-
Christopher Hoover authored
Dereferencing hcd.pdev will always oops with SA-1111. It has to be treated as a cookie, not a pointer in any common OHCI HCD code. Apparently we need a clean way to go from struct device * to struct ohci_hcd *. I added dev_to_ohci that does the obvious thing and added separate implementations for PCI and SA-1111. Two implementations is ugly but I didn't think it wise (for me) to hack on the PCI/driverfs interface, so I just cut & paste the old code. Two patches. The first is a diff from linux-2.5.44 and linux-2.5.44-rmk1. It is from rmk and adds a struct device pointer to ohci_hcd. The second depends on the first and contains my changes to clean up to the pdev oops problems. (Some fuzz may occur as I have ohci-1024 applied.) With these changes, SA111 OHCI-HC/HCD is showing some signs of life on linux-2.5.44-rmk1. usb-storage is currentl blowing chunks, but I think I saw some patches go by against 2.5.44 that I haven't yet tried.
-
bk://bk.arm.linux.org.ukLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Russell King authored
(from Alan Cox) This adds support for 68328, 68360, MCF and NB85E serial drivers.
-
Russell King authored
into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk
-
Russell King authored
- Add LDFLAGS_BLOB definitions - Tweak kernel_thread for better code - Fix vmlinux-armv.lds.in to prevent ld complaining about the architecture private flags. (I'm not certain that the last item isn't a hole in some bug fix in ld - this fix appears to work with every binutils I've found thus far. However, if this suspected bug gets fixed, we're going to have to rethink how we combine binary objects into ELF objects.)
-
Russell King authored
2.5.46 appears to require drivers/scsi/scsi.h to be included before drivers/scsi/hosts.h. Make this happen in the Acorn SCSI drivers.
-
Andrew Morton authored
This completes the kernel-wide audit.
-
Linus Torvalds authored
handling (it's "current_text_addr()", not the home-brew gcc label magic)
-
Manfred Spraul authored
Ahm. No. It must be i_version = 1 Otherwise there is a trivial bug: mkdir("dir"); <force the directory out of dcache> dir = open("dir"); lseek(dir,1,SEEK_SET); readdir(); lseek sets f_version to 0, and readdir() trusts f_pos, because i_version is 0, too. This applies to all filesystems. The ext2 patch already sets i_version to 1.
-
Andrew Morton authored
The result of a timer audit in sound/*
-
Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
David S. Miller authored
-
Art Haas authored
This fixes the new ACL bits in fs/ext3 to use C99 designated initializers.
-
Art Haas authored
This converts the new ACL bits in fs/ext2 to use C99 designated initializers.
-
Andrew Morton authored
Teach DECLARE_WORK about __TIMER_INITIALIZER. So all statically initialised workqueues have valid timers. eg: drivers/char/random.c:batch_work.
-
Randy Dunlap authored
usb-midi requires SOUND, otherwise, when built in-kernel but soundcore is modular, usb-midi can't resolve some sound interfaces.
-
Alan Stern authored
This patch switches from using usb_stor_bulk_msg() to usb_stor_bulk_transfer_buf(), which includes a great deal more logic. This allows for elimination of all sorts of duplicate code (clearing STALLs, etc.). This also eliminates the (now) redundant functions from the ISD-200 driver.
-
Matthew Dharm authored
This patch adds tests for an aborted command to higher-level functions. This allows faster exit from a couple of paths and will allow code consolidation in the lower-level transport functions.
-
Matthew Dharm authored
This patch fixes up some result-code tests that were missed in previous patches.
-
Matthew Dharm authored
This patch moves the initialization of the SCSI residue field to be in just a couple of places, instead of all over the map. It's code consolidation.
-
David Brownell authored
Two changes, one big one not: - check before traversing a null pointer, removing oops - always do bandwidth checks, no point in allowing overcommit That oops possibility has been there for a bit over two months, but something changed recently which made me see it. Maybe sme other folk have seen this one too (in ed_deschedule).
-
David Brownell authored
Minor patches: - resend of the Config.in patch, updated to Kconfig, plus makes 'usbtest' modular when usb is; - hmm, "usbfs" isn't locking here. protect. fix is basically from martin: add/use a semaphore. - that one-liner to make sure get_configuration is called correctly (with funkier test firmware). - new 'realworld' module param can be used to turn off the real-world accomodations and be stricter about what device failures make ch9 tests fail.
-
Anton Blanchard authored
The slab allocator doesnt initialise ->array for all cpus. This means we fail to boot on a machine with boot cpu != 0. I was testing current 2.5 BK. Luckily Rusty was at hand to explain the ins and outs of initialisers to me.
-