- 25 Jun, 2003 27 commits
-
-
Andrew Morton authored
From: Maneesh Soni <maneesh@in.ibm.com> - nfs_unlink() can race with lockless d_lookup() as d_lookup() can successfully lookup a dentry for which nfs_unlink() can assume that no one else is using and can go ahead and do nfs_safe_remove() on it. By using per dentry lock, it is solved as we d_lookup() will fail the lookup for unhashed dentries.
-
Andrew Morton authored
From: Maneesh Soni <maneesh@in.ibm.com> - d_invalidate() can incorrectly return success instead of returning -EBUSY as we can have situations where lockless d_lookup has found a dentry successfully before d_invalidate drops it
-
Andrew Morton authored
From: Ingo Molnar Apparently our thread-creation performance has gone down the tubes again, because the mm.free_area_cache search heuristic broke. The initial, more naive hole-cache patch helped the testcode in the beginning. Then after some point glibc started creating a 'small hole' in the vmas, which hole was _below_ the thread stacks, and which hole thus prevented the intended operation of the cache. The new code solves the problem by relaxing the 'smallest address hole cache' rule a bit, the cache is now not re-set at every get_unmapped_area() time, it's only re-set during unmaps. It's also re-set if there are no allocatable mappings at all - ie. correctness is not affected.
-
Andrew Morton authored
From: David Mosberger <davidm@napali.hpl.hp.com> Give the ia32 vsyscall DSO the same name as ia64's.
-
Andrew Morton authored
From: Stephen Smalley <sds@epoch.ncsc.mil> This patch adds an AT_SECURE auxv entry to pass a boolean flag indicating whether "secure mode" should be enabled (i.e. sanitize the environment, initial descriptors, etc) and allows each security module to specify the flag value via a new hook. New userland can then simply obey this flag when present rather than applying other methods of deciding (sample patch for glibc-2.3.2 can be found at http://www.cs.utah.edu/~sds/glibc-secureexec.patch). This change enables security modules like SELinux to request secure mode upon changes to other security attributes (e.g. capabilities, roles/domains, etc) in addition to uid/gid changes or even to completely override the legacy logic. The legacy decision algorithm is preserved in the default hook functions for the dummy and capability security modules. Credit for the idea of adding an AT_SECURE auxv entry goes to Roland McGrath.
-
Andrew Morton authored
- unused var warning in pnp_add_irq_resource() - unused var in fd_mcs.c (Adrian Bunk) - remove dead code in i810_main.c (a u8 cannot exceed 255) (Adrian Bunk) - don't truncate dma_addr_t's in gdth.c (Jes Sorensen) - vgastate.c needs vmalloc.h (Geert Uytterhoeven <geert@linux-m68k.org>) - revert bogus test from rd_open() - it was a 2.4 forward-port, and 2.5 doesn't need it. (The gendisks aren't registered, we cannot get there anyway).
-
Andrew Morton authored
From: Robert Love <rml@tech9.net> Basically, the problem is that setscheduler() does not set need_resched when needed. There are two basic cases where this is needed: - the task is running, but now it is no longer the highest priority task on the rq - the task is not running, but now it is the highest priority task on the rq In either case, we need to set need_resched to invoke the scheduler.
-
Andrew Morton authored
sysrq-T currently displays the same stack trace for every process. Teach show_stack() to look in the passed task_struct first if the caller did not pass in a stack address.
-
Andrew Morton authored
From: Mikael Pettersson <mikpe@csd.uu.se> 2.5.73 removed the workaround needed to prevent gcc-2.95.x from miscompiling spinlocks on UP. It turns out that some versions of gcc-2.95 still do have problems with empty structs, so re-introduce the workaround.
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/pci-2.5
-
Greg Kroah-Hartman authored
Useful for testing hotplug issues with pci drivers.
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
Added needed release function, now all pci hotplug drivers need to implement it...
-
Matthew Wilcox authored
- Combine pci_alloc_primary_bus_parented into pci_scan_bus_parented. - Move the EXPORT_SYMBOL for pci_root_buses up to its definition. - Don't EXPORT_SYMBOL pci_scan_bus since it's a static inline. - Add the pci_domain_nr() to the sysfs name for this bus.
-
Matthew Wilcox authored
I noticed we have a couple of redundancies in drivers/pci/Makefile, have a patch...
-
bk://kernel.bkbits.net/jgarzik/net-drivers-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Ralf Bächle authored
Add missing CONFIG_TC35805 entry to Kconfig. Update CONFIG_NET_SB1250_MAC Kconfig entry. Minor cosmetic updates to gt96100eth.
-
Ralf Bächle authored
-
Ralf Bächle authored
-
Ralf Bächle authored
-
Ralf Bächle authored
-
Ralf Bächle authored
-
Ralf Bächle authored
-
Ralf Bächle authored
-
Jeff Garzik authored
Submitted by Ralf Baechle <ralf@linux-mips.org>
-
Randy Dunlap authored
[ Registers of the world, unite! ] This makes the IO-APIC data structures use unions, so that we can cleanly access them both as flat "raw" values, and as the bitmap sub-entries.
-
bk://ppc.bkbits.net/for-linus-ppcLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 26 Jun, 2003 1 commit
-
-
Paul Mackerras authored
This error is handled in the signal delivery code and should never be returned from a syscall unless a signal is pending. Grepping seems to indicate that that is in fact the case (but not for ERESTARTSYS, but that is another problem).
-
- 25 Jun, 2003 1 commit
-
-
Paul Mackerras authored
-
- 24 Jun, 2003 11 commits
-
-
Stephen Hemminger authored
Ignore earlier patch -- this one locks and free's as appropriate. Tested on 2.5.72 with SMP. Of course, it begs the question why have two (now three) versions of drivers for the same hardware...
-
Scott Feldman authored
dev_ioctl already checks capable(CAP_NET_ADMIN), so no need to do so in drivers.
-
Daniel Ritz authored
net_device is no longer allocated as part of the driver's private structure, instead it's allocated via alloc_netdev. compile tested only since no hardware against 2.5.73-bk -daniel ===== smc91c92_cs.c 1.18 vs edited =====
-
Daniel Ritz authored
net_device is no longer allocated as part of the driver's private structure, instead it's allocated via alloc_netdev. compile tested only since no hardware against 2.5.73-bk -daniel ===== nmclan_cs.c 1.14 vs edited =====
-
Daniel Ritz authored
net_device is no longer allocated as part of the driver's private structure, instead it's allocated via alloc_netdev. compile tested only since no hardware against 2.5.73-bk -daniel ===== fmvj18x_cs.c 1.21 vs edited =====
-
Daniel Ritz authored
net_device is no longer allocated as part of the driver's private structure, instead it's allocated via alloc_netdev. compile tested only since no hardware against 2.5.73-bk -daniel ===== drivers/net/pcmcia/3c589_cs.c 1.17 vs edited =====
-
Daniel Ritz authored
net_device is no longer allocated as part of the driver's private structure, instead it's allocated via alloc_netdev. compile tested only since no hardware against 2.5.73-bk -daniel ===== drivers/net/pcmcia/3c574_cs.c 1.17 vs edited =====
-
Paul Mackerras authored
into samba.org:/stuff/paulus/kernel/for-linus-ppc
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-