Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145012
b: refs/heads/master
c: 9c1ee18
h: refs/heads/master
v: v3
  • Loading branch information
Aneesh Kumar K.V authored and Theodore Ts'o committed May 13, 2009
1 parent edae969 commit 1d4d5ae
Show file tree
Hide file tree
Showing 349 changed files with 3,480 additions and 5,899 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c244450dac6d83be1ceadf29a65a5b49c34ceed8
refs/heads/master: 9c1ee184a30394e54165fa4c15923cabd952c106
2 changes: 1 addition & 1 deletion trunk/Documentation/DocBook/kgdb.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
seriously wrong while debugging, it will most often be the case
that you want to enable gdb to be verbose about its target
communications. You do this prior to issuing the <constant>target
remote</constant> command by typing in: <constant>set debug remote 1</constant>
remote</constant> command by typing in: <constant>set remote debug 1</constant>
</para>
</chapter>
<chapter id="KGDBTestSuite">
Expand Down
28 changes: 28 additions & 0 deletions trunk/Documentation/sysctl/vm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Currently, these files are in /proc/sys/vm:
- nr_hugepages
- nr_overcommit_hugepages
- nr_pdflush_threads
- nr_pdflush_threads_min
- nr_pdflush_threads_max
- nr_trim_pages (only if CONFIG_MMU=n)
- numa_zonelist_order
- oom_dump_tasks
Expand Down Expand Up @@ -467,6 +469,32 @@ The default value is 0.

==============================================================

nr_pdflush_threads_min

This value controls the minimum number of pdflush threads.

At boot time, the kernel will create and maintain 'nr_pdflush_threads_min'
threads for the kernel's lifetime.

The default value is 2. The minimum value you can specify is 1, and
the maximum value is the current setting of 'nr_pdflush_threads_max'.

See 'nr_pdflush_threads_max' below for more information.

==============================================================

nr_pdflush_threads_max

This value controls the maximum number of pdflush threads that can be
created. The pdflush algorithm will create a new pdflush thread (up to
this maximum) if no pdflush threads have been available for >= 1 second.

The default value is 8. The minimum value you can specify is the
current value of 'nr_pdflush_threads_min' and the
maximum is 1000.

==============================================================

overcommit_memory:

This value contains a flag that enables memory overcommitment.
Expand Down
2 changes: 1 addition & 1 deletion trunk/Documentation/sysfs-rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ versions of the sysfs interface.
"devices" directory at /sys/subsystem/<name>/devices.

If /sys/subsystem exists, /sys/bus, /sys/class and /sys/block can be
ignored. If it does not exist, you always have to scan all three
ignored. If it does not exist, you have always to scan all three
places, as the kernel is free to move a subsystem from one place to
the other, as long as the devices are still reachable by the same
subsystem name.
Expand Down
26 changes: 1 addition & 25 deletions trunk/arch/alpha/include/asm/percpu.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#ifndef __ALPHA_PERCPU_H
#define __ALPHA_PERCPU_H

#include <linux/compiler.h>
#include <linux/threads.h>
#include <linux/percpu-defs.h>

/*
* Determine the real variable name from the name visible in the
Expand Down Expand Up @@ -75,28 +73,6 @@ extern unsigned long __per_cpu_offset[NR_CPUS];

#endif /* SMP */

#ifdef CONFIG_SMP
#define PER_CPU_BASE_SECTION ".data.percpu"
#else
#define PER_CPU_BASE_SECTION ".data"
#endif

#ifdef CONFIG_SMP

#ifdef MODULE
#define PER_CPU_SHARED_ALIGNED_SECTION ""
#else
#define PER_CPU_SHARED_ALIGNED_SECTION ".shared_aligned"
#endif
#define PER_CPU_FIRST_SECTION ".first"

#else

#define PER_CPU_SHARED_ALIGNED_SECTION ""
#define PER_CPU_FIRST_SECTION ""

#endif

#define PER_CPU_ATTRIBUTES
#include <asm-generic/percpu.h>

#endif /* __ALPHA_PERCPU_H */
25 changes: 0 additions & 25 deletions trunk/arch/arm/mach-davinci/include/mach/asp.h

This file was deleted.

2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-ixp4xx/ixp4xx_npe.c
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ static int __init npe_init_module(void)
}

if (!found)
return -ENODEV;
return -ENOSYS;
return 0;
}

Expand Down
14 changes: 7 additions & 7 deletions trunk/arch/cris/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ SRC_ARCH = $(srctree)/arch/cris
# cris object files path
OBJ_ARCH = $(objtree)/arch/cris

boot := arch/cris/boot
boot := arch/cris/$(SARCH)/boot
MACHINE := arch/cris/$(SARCH)

all: zImage
Expand All @@ -81,15 +81,15 @@ zImage Image: vmlinux
archprepare:

archclean:
$(Q)if [ -e arch/cris/boot ]; then \
$(MAKE) $(clean)=arch/cris/boot; \
$(Q)if [ -e arch/cris/$(SARCH)/boot ]; then \
$(MAKE) $(clean)=arch/cris/$(SARCH)/boot; \
fi

CLEAN_FILES += \
$(boot)/zImage \
$(boot)/compressed/decompress.bin \
$(boot)/compressed/piggy.gz \
$(boot)/rescue/rescue.bin
$(MACHINE)/boot/zImage \
$(MACHINE)/boot/compressed/decompress.bin \
$(MACHINE)/boot/compressed/piggy.gz \
$(MACHINE)/boot/rescue/rescue.bin


# MRPROPER_FILES +=
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
#
# arch/cris/boot/Makefile
# arch/cris/arch-v10/boot/Makefile
#

objcopyflags-$(CONFIG_ETRAX_ARCH_V10) += -R .note -R .comment
objcopyflags-$(CONFIG_ETRAX_ARCH_V32) += --remove-section=.bss

OBJCOPYFLAGS = -O binary $(objcopyflags-y)

OBJCOPYFLAGS = -O binary --remove-section=.bss

subdir- := compressed rescue
targets := Image
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
#
# arch/cris/boot/compressed/Makefile
# arch/cris/arch-v10/boot/compressed/Makefile
#

asflags-y += $(LINUXINCLUDE)
ccflags-y += -O2 $(LINUXINCLUDE)

# asflags-$(CONFIG_ETRAX_ARCH_V32) += -I$(srctree)/include/asm/mach \
# -I$(srctree)/include/asm/arch
# ccflags-$(CONFIG_ETRAX_ARCH_V32) += -O2 -I$(srctree)/include/asm/mach
# -I$(srctree)/include/asm/arch

arch-$(CONFIG_ETRAX_ARCH_V10) = v10
arch-$(CONFIG_ETRAX_ARCH_V32) = v32

ldflags-y += -T $(srctree)/$(src)/decompress_$(arch-y).lds

OBJECTS-$(CONFIG_ETRAX_ARCH_V32) = $(obj)/head_v32.o
OBJECTS-$(CONFIG_ETRAX_ARCH_V10) = $(obj)/head_v10.o
OBJECTS= $(OBJECTS-y) $(obj)/misc.o
ldflags-y += -T $(srctree)/$(src)/decompress.lds
OBJECTS = $(obj)/head.o $(obj)/misc.o
OBJCOPYFLAGS = -O binary --remove-section=.bss

quiet_cmd_image = BUILD $@
Expand All @@ -36,3 +24,4 @@ $(obj)/vmlinux: $(obj)/piggy.gz $(obj)/decompress.bin FORCE

$(obj)/piggy.gz: $(obj)/../Image FORCE
$(call if_changed,gzip)

25 changes: 25 additions & 0 deletions trunk/arch/cris/arch-v10/boot/compressed/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Creation of the self-extracting compressed kernel image (vmlinuz)
-----------------------------------------------------------------
$Id: README,v 1.1 2001/12/17 13:59:27 bjornw Exp $

This can be slightly confusing because it's a process with many steps.

The kernel object built by the arch/etrax100/Makefile, vmlinux, is split
by that makefile into text and data binary files, vmlinux.text and
vmlinux.data.

Those files together with a ROM filesystem can be catted together and
burned into a flash or executed directly at the DRAM origin.

They can also be catted together and compressed with gzip, which is what
happens in this makefile. Together they make up piggy.img.

The decompressor is built into the file decompress.o. It is turned into
the binary file decompress.bin, which is catted together with piggy.img
into the file vmlinuz. It can be executed in an arbitrary place in flash.

Be careful - it assumes some things about free locations in DRAM. It
assumes the DRAM starts at 0x40000000 and that it is at least 8 MB,
so it puts its code at 0x40700000, and initial stack at 0x40800000.

-Bjorn
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
beq dram_init_finished
nop

#include "../../arch-v10/lib/dram_init.S"
#include "../../lib/dram_init.S"

dram_init_finished:

Expand Down Expand Up @@ -123,4 +123,4 @@ _cmd_line_magic:
.dword 0
_cmd_line_addr:
.dword 0
#include "../../arch-v10/lib/hw_settings.S"
#include "../../lib/hw_settings.S"
Loading

0 comments on commit 1d4d5ae

Please sign in to comment.