- 02 Jul, 2003 7 commits
-
-
Andrew Morton authored
From: Dave Hansen <haveblue@us.ibm.com> The current numa meminfo code exports (via sysfs) pgdat->node_size, as totalram. This variable is consistently used elsewhere to mean "the number of physical pages that this particular node spans". This is _not_ what we want to see from meminfo, which is: "how much actual memory does this node have?" The following patch removes pgdat->node_size, and replaces it with ->node_spanned_pages. This is to avoid confusion with a new variable, node_present_pages, which is the _actual_ value that we want to export in meminfo. Most of the patch is a simple s/node_size/node_spanned_pages/. The node_size() macro is also removed, and replaced with new ones for node_{spanned,present}_pages() to avoid confusion. We were bitten by this problem in this bug: http://bugme.osdl.org/show_bug.cgi?id=818 Compiled and tested on NUMA-Q.
-
Andrew Morton authored
From: Manfred Spraul <manfred@colorfullife.com> Manfred's latest page unmapping debug patch. The patch adds support for a special debug mode to both the page and the slab allocator: Unused pages are removed from the kernel linear mapping. This means that now any access to freed memory will cause an immediate exception. Right now, read accesses remain totally unnoticed and write accesses may be catched by the slab poisoning, but usually far too late for a meaningfull bug report. The implementation is based on a new arch dependant function, kernel_map_pages(), that removes the pages from the linear mapping. It's right now only implemented for i386. Changelog: - Add kernel_map_pages() for i386, based on change_page_attr. If DEBUG_PAGEALLOC is not set, then the function is an empty stub. The stub is in <linux/mm.h>, i.e. it exists for all archs. - Make change_page_attr irq safe. Note that it's not fully irq safe due to the lack of the tlb flush ipi, but it's good enough for kernel_map_pages(). Another problem is that kernel_map_pages is not permitted to fail, thus PSE is disabled if DEBUG_PAGEALLOC is enabled - use kernel_map pages for the page allocator. - use kernel_map_pages for the slab allocator. I couldn't resist and added additional debugging support into mm/slab.c: * at kfree time, the complete backtrace of the kfree caller is stored in the freed object. * a ptrinfo() function that dumps all known data about a kernel virtual address: the pte value, if it belongs to a slab cache the cache name and additional info. * merging of common code: new helper function obj_dbglen and obj_dbghdr for the conversion between the user visible object pointers/len and the actual, internal addresses and len values.
-
Andrew Morton authored
From: Hugh Dickins <hugh@veritas.com> mremap's move_vma VM_LOCKED case was still wrong. If the do_munmap unmaps a part of new_vma, then its vm_start and vm_end from before cannot both be the right addresses for the make_pages_present range, and may BUG() there. We need [new_addr, new_addr+new_len) to be locked down; but move_page_tables already transferred the locked pages [new_addr, new_addr+old_len), and they're either held in a VM_LOCKED vma throughout, or temporarily in no vma: in neither case can be swapped out, so no need to run over that range again.
-
Dagfinn Ilmari Mannsåker authored
With the recent fixes, io_schedule needs to be exported for modular dm to work.
-
Linus Torvalds authored
-
Joe Thornber authored
Replace a couple of bogus yields() with schedule() and io_schedule() respectively.
-
Joe Thornber authored
-
- 01 Jul, 2003 31 commits
-
-
Paul Mundt authored
This includes the remainder of arch-specific part of the SH merge. This patch only effects arch/sh and include/asm-sh, against current BK.
-
Bartlomiej Zolnierkiewicz authored
Okay, since now corruption happens and there are some other issues to be resolved ("bad: scheduling while atomic" and "/proc/ide/hdX/identify") better set it by default to n for 2.5.74, also mark it EXPERIMENTAL.
-
Andi Kleen authored
AMD64 does not support a.out, so don't display it in the configuration.
-
Andi Kleen authored
AMD64 like IA64 needs to force IPC_64 in the IPC functions. This makes 2.5 compatible with 2.4 again.
-
Ben Collins authored
Since KALLSYMS is defined, might aswell use it somewhere.
-
Ben Collins authored
Spelling fix
-
Martin Schwidefsky authored
The qeth network device driver. Supports the OSA Express Gigabit cards, HiperSockes and VM GuestLAN interfaces.
-
Martin Schwidefsky authored
Add thin interrupt support to qdio.
-
Martin Schwidefsky authored
Add configuration option to select the different processor types. Add new path group algorith and new relocation types introduces with z990.
-
Martin Schwidefsky authored
Fix online attribute. "echo 1 > online" should enable a device and "echo 0 > online" should disable a device, not the other way round.
-
Martin Schwidefsky authored
Fix ptrace system call number replacement code.
-
Martin Schwidefsky authored
Fix SEMTIMEDOP operation in sys_ipc. Patch by Ernie Petrides.
-
bk://kernel.bkbits.net/jgarzik/net-drivers-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Marc Zyngier authored
(can be enabled by ethtool)
-
bk://kernel.bkbits.net/gregkh/linux/linus-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/gregkh-2.5
-
Alan Stern authored
This patch for 2.5 copies into unusual_devs.h an entry that is present in 2.4 but missing here. It also adds back the IGNORE_SER flag with a dummy value, just for backward compatibility.
-
Kay Sievers authored
dev->udev was set to NULL to indicate a device disconnect but we need this value for usb_buffer_free() when device is still opened and cleanup is delayed until skel_release(). I've added a dev->present for preventing device read, write and ioctl. Also URB_NO_DMA_MAP is changed to URB_NO_TRANSFER_DMA_MAP and a unused var is removed.
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
This creates sys/class/usb_host/ which lists all usb hosts in the system.
-
Andi Kleen authored
- Update defconfig - Merge with i386 - Make oprofile compile again - Warning fixes - Minor changes for 32bit SYSCALL path (still disabled) - Remove obsolete FS/GS symbols in ptrace.h
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Jens Axboe authored
From: Pascal Schmidt <der.eremit@email.de> Add capability flag for MO drives. Since ATAPI MOs are now recognized by the ide-cd driver, it is useful to have a capability flag to be able to tell MO drives from other drives (needed for later write support).
-
Rusty Russell authored
Makes scheduler use per-cpu variables for the runqueues.
-
Rusty Russell authored
Remember the size of the SHF_EXECINSTR sections, which are conveniently at the start of the modules, and use that to more reliably implement module_text_address().
-
Greg Ungerer authored
Fix broken definition of MARK parity for ColdFire UART.
-
Greg Ungerer authored
The m68knommu ColdFire 5249 CPU has the same DMA engine as the 5307 and 5407 ColdFire CPU's. Modify m68knommu dma.h to reflect this.
-
Greg Ungerer authored
Rework the bitops functions for the m68knommu arhcitecture. Change all addr pointers to be "unsigned long", cleans up many compiler warnings.
-
Greg Ungerer authored
Rework the interrupt handling code for the m68knommu 68360 sub-architecture. This is inline with the interrupt changes to the other m68knommu CPU's. Makes this code be the primary interrupt setup for a 68360 based kernel, not just a set of support functions.
-
Greg Ungerer authored
Make the ROMfs copy in the startup code for ARNEWSH 5307 board conditional on actually using a ROMfs setup.
-
- 02 Jul, 2003 1 commit
-
-
Anton Blanchard authored
into samba.org:/scratch/anton/tmp3
-
- 01 Jul, 2003 1 commit
-
-
Anton Blanchard authored
-