Skip to content

Commit b66484c

Browse files
committed
Merge branch 'akpm' (patches from Andrew)
Merge updates from Andrew Morton: - fsnotify updates - ocfs2 updates - all of MM * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (127 commits) console: don't prefer first registered if DT specifies stdout-path cred: simpler, 1D supplementary groups CREDITS: update Pavel's information, add GPG key, remove snail mail address mailmap: add Johan Hovold .gitattributes: set git diff driver for C source code files uprobes: remove function declarations from arch/{mips,s390} spelling.txt: "modeled" is spelt correctly nmi_backtrace: generate one-line reports for idle cpus arch/tile: adopt the new nmi_backtrace framework nmi_backtrace: do a local dump_stack() instead of a self-NMI nmi_backtrace: add more trigger_*_cpu_backtrace() methods min/max: remove sparse warnings when they're nested Documentation/filesystems/proc.txt: add more description for maps/smaps mm, proc: fix region lost in /proc/self/smaps proc: fix timerslack_ns CAP_SYS_NICE check when adjusting self proc: add LSM hook checks to /proc/<tid>/timerslack_ns proc: relax /proc/<tid>/timerslack_ns capability requirements meminfo: break apart a very long seq_printf with #ifdefs seq/proc: modify seq_put_decimal_[u]ll to take a const char *, not char proc: faster /proc/*/status ...
2 parents c913fc4 + 05fd007 commit b66484c

195 files changed

Lines changed: 2522 additions & 1698 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.gitattributes‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.c diff=cpp
2+
*.h diff=cpp

‎.mailmap‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ Jean Tourrilhes <jt@hpl.hp.com>
7575
Jeff Garzik <jgarzik@pretzel.yyz.us>
7676
Jens Axboe <axboe@suse.de>
7777
Jens Osterkamp <Jens.Osterkamp@de.ibm.com>
78+
Johan Hovold <johan@kernel.org> <jhovold@gmail.com>
79+
Johan Hovold <johan@kernel.org> <johan@hovoldconsulting.com>
7880
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
7981
John Stultz <johnstul@us.ibm.com>
8082
<josh@joshtriplett.org> <josh@freedesktop.org>

‎CREDITS‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2296,11 +2296,11 @@ D: Initial implementation of VC's, pty's and select()
22962296

22972297
N: Pavel Machek
22982298
E: pavel@ucw.cz
2299-
D: Softcursor for vga, hypertech cdrom support, vcsa bugfix, nbd
2299+
P: 4096R/92DFCE96 4FA7 9EEF FCD4 C44F C585 B8C7 C060 2241 92DF CE96
2300+
D: Softcursor for vga, hypertech cdrom support, vcsa bugfix, nbd,
23002301
D: sun4/330 port, capabilities for elf, speedup for rm on ext2, USB,
2301-
D: work on suspend-to-ram/disk, killing duplicates from ioctl32
2302-
S: Volkova 1131
2303-
S: 198 00 Praha 9
2302+
D: work on suspend-to-ram/disk, killing duplicates from ioctl32,
2303+
D: Altera SoCFPGA and Nokia N900 support.
23042304
S: Czech Republic
23052305

23062306
N: Paul Mackerras

‎Documentation/filesystems/proc.txt‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,18 @@ be vanished or the reverse -- new added.
515515
This file is only present if the CONFIG_MMU kernel configuration option is
516516
enabled.
517517

518+
Note: reading /proc/PID/maps or /proc/PID/smaps is inherently racy (consistent
519+
output can be achieved only in the single read call).
520+
This typically manifests when doing partial reads of these files while the
521+
memory map is being modified. Despite the races, we do provide the following
522+
guarantees:
523+
524+
1) The mapped addresses never go backwards, which implies no two
525+
regions will ever overlap.
526+
2) If there is something at a given vaddr during the entirety of the
527+
life of the smaps/maps walk, there will be some output for it.
528+
529+
518530
The /proc/PID/clear_refs is used to reset the PG_Referenced and ACCESSED/YOUNG
519531
bits on both physical and virtual pages associated with a process, and the
520532
soft-dirty bit on pte (see Documentation/vm/soft-dirty.txt for details).

‎arch/alpha/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ config ALPHA
1515
select GENERIC_IRQ_SHOW
1616
select ARCH_WANT_IPC_PARSE_VERSION
1717
select ARCH_HAVE_NMI_SAFE_CMPXCHG
18-
select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
1918
select AUDIT_ARCH
2019
select GENERIC_CLOCKEVENTS
2120
select GENERIC_SMP_IDLE_THREAD

‎arch/alpha/kernel/vmlinux.lds.S‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ SECTIONS
2222
HEAD_TEXT
2323
TEXT_TEXT
2424
SCHED_TEXT
25+
CPUIDLE_TEXT
2526
LOCK_TEXT
2627
*(.fixup)
2728
*(.gnu.warning)

‎arch/arc/kernel/vmlinux.lds.S‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ SECTIONS
8989
_text = .;
9090
TEXT_TEXT
9191
SCHED_TEXT
92+
CPUIDLE_TEXT
9293
LOCK_TEXT
9394
KPROBES_TEXT
9495
*(.fixup)

‎arch/arm/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ config ARM
22
bool
33
default y
44
select ARCH_CLOCKSOURCE_DATA
5-
select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
65
select ARCH_HAS_DEVMEM_IS_ALLOWED
76
select ARCH_HAS_ELF_RANDOMIZE
87
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST

‎arch/arm/include/asm/irq.h‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
3636
#endif
3737

3838
#ifdef CONFIG_SMP
39-
extern void arch_trigger_all_cpu_backtrace(bool);
40-
#define arch_trigger_all_cpu_backtrace(x) arch_trigger_all_cpu_backtrace(x)
39+
extern void arch_trigger_cpumask_backtrace(const cpumask_t *mask,
40+
bool exclude_self);
41+
#define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace
4142
#endif
4243

4344
static inline int nr_legacy_irqs(void)

‎arch/arm/kernel/smp.c‎

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -748,19 +748,10 @@ core_initcall(register_cpufreq_notifier);
748748

749749
static void raise_nmi(cpumask_t *mask)
750750
{
751-
/*
752-
* Generate the backtrace directly if we are running in a calling
753-
* context that is not preemptible by the backtrace IPI. Note
754-
* that nmi_cpu_backtrace() automatically removes the current cpu
755-
* from mask.
756-
*/
757-
if (cpumask_test_cpu(smp_processor_id(), mask) && irqs_disabled())
758-
nmi_cpu_backtrace(NULL);
759-
760751
smp_cross_call(mask, IPI_CPU_BACKTRACE);
761752
}
762753

763-
void arch_trigger_all_cpu_backtrace(bool include_self)
754+
void arch_trigger_cpumask_backtrace(const cpumask_t *mask, bool exclude_self)
764755
{
765-
nmi_trigger_all_cpu_backtrace(include_self, raise_nmi);
756+
nmi_trigger_cpumask_backtrace(mask, exclude_self, raise_nmi);
766757
}

0 commit comments

Comments
 (0)