Skip to content

Commit d6d6a86

Browse files
author
Jiri Kosina
committed
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
2 parents f38bb7d + 1b40a89 commit d6d6a86

File tree

1,138 files changed

+26887
-11060
lines changed

Some content is hidden

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

1,138 files changed

+26887
-11060
lines changed

.gitignore

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
# subdirectories here. Add them in the ".gitignore" file
44
# in that subdirectory instead.
55
#
6+
# NOTE! Please use 'git-ls-files -i --exclude-standard'
7+
# command after changing this file, to see if there are
8+
# any tracked files which get ignored after the change.
9+
#
610
# Normal rules
711
#
812
.*
@@ -18,18 +22,21 @@
1822
*.lst
1923
*.symtypes
2024
*.order
25+
*.elf
26+
*.bin
27+
*.gz
2128

2229
#
2330
# Top-level generic files
2431
#
2532
tags
2633
TAGS
27-
vmlinux*
28-
!vmlinux.lds.S
34+
vmlinux
2935
System.map
3036
Module.markers
3137
Module.symvers
3238
!.gitignore
39+
!.mailmap
3340

3441
#
3542
# Generated include files

CREDITS

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2611,8 +2611,9 @@ S: Perth, Western Australia
26112611
S: Australia
26122612

26132613
N: Miguel Ojeda Sandonis
2614-
2615-
W: http://maxextreme.googlepages.com/
2614+
2615+
W: http://miguelojeda.es
2616+
W: http://jair.lab.fi.uva.es/~migojed/
26162617
D: Author of the ks0108, cfag12864b and cfag12864bfb auxiliary display drivers.
26172618
D: Maintainer of the auxiliary display drivers tree (drivers/auxdisplay/*)
26182619
S: C/ Mieses 20, 9-B

Documentation/DocBook/kgdb.tmpl

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,9 @@
8484
runs an instance of gdb against the vmlinux file which contains
8585
the symbols (not boot image such as bzImage, zImage, uImage...).
8686
In gdb the developer specifies the connection parameters and
87-
connects to kgdb. Depending on which kgdb I/O modules exist in
88-
the kernel for a given architecture, it may be possible to debug
89-
the test machine's kernel with the development machine using a
90-
rs232 or ethernet connection.
87+
connects to kgdb. The type of connection a developer makes with
88+
gdb depends on the availability of kgdb I/O modules compiled as
89+
builtin's or kernel modules in the test machine's kernel.
9190
</para>
9291
</chapter>
9392
<chapter id="CompilingAKernel">
@@ -223,7 +222,7 @@
223222
</para>
224223
<para>
225224
IMPORTANT NOTE: Using this option with kgdb over the console
226-
(kgdboc) or kgdb over ethernet (kgdboe) is not supported.
225+
(kgdboc) is not supported.
227226
</para>
228227
</sect1>
229228
</chapter>
@@ -249,18 +248,11 @@
249248
(gdb) target remote /dev/ttyS0
250249
</programlisting>
251250
<para>
252-
Example (kgdb to a terminal server):
251+
Example (kgdb to a terminal server on tcp port 2012):
253252
</para>
254253
<programlisting>
255254
% gdb ./vmlinux
256-
(gdb) target remote udp:192.168.2.2:6443
257-
</programlisting>
258-
<para>
259-
Example (kgdb over ethernet):
260-
</para>
261-
<programlisting>
262-
% gdb ./vmlinux
263-
(gdb) target remote udp:192.168.2.2:6443
255+
(gdb) target remote 192.168.2.2:2012
264256
</programlisting>
265257
<para>
266258
Once connected, you can debug a kernel the way you would debug an

Documentation/SubmittingPatches

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,52 @@ Some people also put extra tags at the end. They'll just be ignored for
327327
now, but you can do this to mark internal company procedures or just
328328
point out some special detail about the sign-off.
329329

330+
If you are a subsystem or branch maintainer, sometimes you need to slightly
331+
modify patches you receive in order to merge them, because the code is not
332+
exactly the same in your tree and the submitters'. If you stick strictly to
333+
rule (c), you should ask the submitter to rediff, but this is a totally
334+
counter-productive waste of time and energy. Rule (b) allows you to adjust
335+
the code, but then it is very impolite to change one submitter's code and
336+
make him endorse your bugs. To solve this problem, it is recommended that
337+
you add a line between the last Signed-off-by header and yours, indicating
338+
the nature of your changes. While there is nothing mandatory about this, it
339+
seems like prepending the description with your mail and/or name, all
340+
enclosed in square brackets, is noticeable enough to make it obvious that
341+
you are responsible for last-minute changes. Example :
342+
343+
Signed-off-by: Random J Developer <[email protected]>
344+
[[email protected]: struct foo moved from foo.c to foo.h]
345+
Signed-off-by: Lucky K Maintainer <[email protected]>
346+
347+
This practise is particularly helpful if you maintain a stable branch and
348+
want at the same time to credit the author, track changes, merge the fix,
349+
and protect the submitter from complaints. Note that under no circumstances
350+
can you change the author's identity (the From header), as it is the one
351+
which appears in the changelog.
352+
353+
Special note to back-porters: It seems to be a common and useful practise
354+
to insert an indication of the origin of a patch at the top of the commit
355+
message (just after the subject line) to facilitate tracking. For instance,
356+
here's what we see in 2.6-stable :
357+
358+
Date: Tue May 13 19:10:30 2008 +0000
359+
360+
SCSI: libiscsi regression in 2.6.25: fix nop timer handling
361+
362+
commit 4cf1043593db6a337f10e006c23c69e5fc93e722 upstream
363+
364+
And here's what appears in 2.4 :
365+
366+
Date: Tue May 13 22:12:27 2008 +0200
367+
368+
wireless, airo: waitbusy() won't delay
369+
370+
[backport of 2.6 commit b7acbdfbd1f277c1eb23f344f899cfa4cd0bf36a]
371+
372+
Whatever the format, this information provides a valuable help to people
373+
tracking your trees, and to people trying to trouble-shoot bugs in your
374+
tree.
375+
330376

331377
13) When to use Acked-by: and Cc:
332378

Documentation/accounting/taskstats-struct.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ There are three different groups of fields in the struct taskstats:
2424

2525
4) Per-task and per-thread context switch count statistics
2626

27+
5) Time accounting for SMT machines
28+
2729
Future extension should add fields to the end of the taskstats struct, and
2830
should not change the relative position of each field within the struct.
2931

@@ -164,4 +166,8 @@ struct taskstats {
164166
__u64 nvcsw; /* Context voluntary switch counter */
165167
__u64 nivcsw; /* Context involuntary switch counter */
166168

169+
5) Time accounting for SMT machines
170+
__u64 ac_utimescaled; /* utime scaled on frequency etc */
171+
__u64 ac_stimescaled; /* stime scaled on frequency etc */
172+
__u64 cpu_scaled_run_real_total; /* scaled cpu_run_real_total */
167173
}

Documentation/auxdisplay/cfag12864b

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
===================================
44

55
License: GPLv2
6-
Author & Maintainer: Miguel Ojeda Sandonis <[email protected]>
6+
Author & Maintainer: Miguel Ojeda Sandonis
77
Date: 2006-10-27
88

99

@@ -22,7 +22,7 @@ Date: 2006-10-27
2222
1. DRIVER INFORMATION
2323
---------------------
2424

25-
This driver support one cfag12864b display at time.
25+
This driver supports a cfag12864b LCD.
2626

2727

2828
---------------------

Documentation/auxdisplay/cfag12864b-example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Description: cfag12864b LCD userspace example program
55
* License: GPLv2
66
*
7-
* Author: Copyright (C) Miguel Ojeda Sandonis <[email protected]>
7+
* Author: Copyright (C) Miguel Ojeda Sandonis
88
* Date: 2006-10-31
99
*
1010
* This program is free software; you can redistribute it and/or modify

Documentation/auxdisplay/ks0108

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
==========================================
44

55
License: GPLv2
6-
Author & Maintainer: Miguel Ojeda Sandonis <[email protected]>
6+
Author & Maintainer: Miguel Ojeda Sandonis
77
Date: 2006-10-27
88

99

@@ -21,7 +21,7 @@ Date: 2006-10-27
2121
1. DRIVER INFORMATION
2222
---------------------
2323

24-
This driver support the ks0108 LCD controller.
24+
This driver supports the ks0108 LCD controller.
2525

2626

2727
---------------------

Documentation/cciss.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ This driver is known to work with the following cards:
2121
* SA E200
2222
* SA E200i
2323
* SA E500
24+
* SA P212
25+
* SA P410
26+
* SA P410i
27+
* SA P411
28+
* SA P812
2429

2530
Detecting drive failures:
2631
-------------------------

Documentation/cgroups.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,10 @@ If you have several tasks to attach, you have to do it one after another:
390390
...
391391
# /bin/echo PIDn > tasks
392392

393+
You can attach the current shell task by echoing 0:
394+
395+
# echo 0 > tasks
396+
393397
3. Kernel API
394398
=============
395399

Documentation/controllers/devices.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ either an integer or * for all. Access is a composition of r
1313
The root device cgroup starts with rwm to 'all'. A child device
1414
cgroup gets a copy of the parent. Administrators can then remove
1515
devices from the whitelist or add new entries. A child cgroup can
16-
never receive a device access which is denied its parent. However
16+
never receive a device access which is denied by its parent. However
1717
when a device access is removed from a parent it will not also be
1818
removed from the child(ren).
1919

@@ -29,7 +29,11 @@ allows cgroup 1 to read and mknod the device usually known as
2929

3030
echo a > /cgroups/1/devices.deny
3131

32-
will remove the default 'a *:* mrw' entry.
32+
will remove the default 'a *:* rwm' entry. Doing
33+
34+
echo a > /cgroups/1/devices.allow
35+
36+
will add the 'a *:* rwm' entry to the whitelist.
3337

3438
3. Security
3539

Documentation/cpusets.txt

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,15 @@ browsing and modifying the cpusets presently known to the kernel. No
154154
new system calls are added for cpusets - all support for querying and
155155
modifying cpusets is via this cpuset file system.
156156

157-
The /proc/<pid>/status file for each task has two added lines,
157+
The /proc/<pid>/status file for each task has four added lines,
158158
displaying the tasks cpus_allowed (on which CPUs it may be scheduled)
159159
and mems_allowed (on which Memory Nodes it may obtain memory),
160-
in the format seen in the following example:
160+
in the two formats seen in the following example:
161161

162162
Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff
163+
Cpus_allowed_list: 0-127
163164
Mems_allowed: ffffffff,ffffffff
165+
Mems_allowed_list: 0-63
164166

165167
Each cpuset is represented by a directory in the cgroup file system
166168
containing (on top of the standard cgroup files) the following
@@ -199,7 +201,7 @@ using the sched_setaffinity, mbind and set_mempolicy system calls.
199201
The following rules apply to each cpuset:
200202

201203
- Its CPUs and Memory Nodes must be a subset of its parents.
202-
- It can only be marked exclusive if its parent is.
204+
- It can't be marked exclusive unless its parent is.
203205
- If its cpu or memory is exclusive, they may not overlap any sibling.
204206

205207
These rules, and the natural hierarchy of cpusets, enable efficient
@@ -345,7 +347,7 @@ is modified to perform an inline check for this PF_SPREAD_PAGE task
345347
flag, and if set, a call to a new routine cpuset_mem_spread_node()
346348
returns the node to prefer for the allocation.
347349

348-
Similarly, setting 'memory_spread_cache' turns on the flag
350+
Similarly, setting 'memory_spread_slab' turns on the flag
349351
PF_SPREAD_SLAB, and appropriately marked slab caches will allocate
350352
pages from the node returned by cpuset_mem_spread_node().
351353

@@ -542,7 +544,10 @@ otherwise initial value -1 that indicates the cpuset has no request.
542544
2 : search cores in a package.
543545
3 : search cpus in a node [= system wide on non-NUMA system]
544546
( 4 : search nodes in a chunk of node [on NUMA system] )
545-
( 5~ : search system wide [on NUMA system])
547+
( 5 : search system wide [on NUMA system] )
548+
549+
The system default is architecture dependent. The system default
550+
can be changed using the relax_domain_level= boot parameter.
546551

547552
This file is per-cpuset and affect the sched domain where the cpuset
548553
belongs to. Therefore if the flag 'sched_load_balance' of a cpuset
@@ -709,7 +714,10 @@ Now you want to do something with this cpuset.
709714

710715
In this directory you can find several files:
711716
# ls
712-
cpus cpu_exclusive mems mem_exclusive mem_hardwall tasks
717+
cpu_exclusive memory_migrate mems tasks
718+
cpus memory_pressure notify_on_release
719+
mem_exclusive memory_spread_page sched_load_balance
720+
mem_hardwall memory_spread_slab sched_relax_domain_level
713721

714722
Reading them will give you information about the state of this cpuset:
715723
the CPUs and Memory Nodes it can use, the processes that are using

Documentation/feature-removal-schedule.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,3 +312,12 @@ When: 2.6.26
312312
Why: Implementation became generic; users should now include
313313
linux/semaphore.h instead.
314314
Who: Matthew Wilcox <[email protected]>
315+
316+
---------------------------
317+
318+
What: CONFIG_THERMAL_HWMON
319+
When: January 2009
320+
Why: This option was introduced just to allow older lm-sensors userspace
321+
to keep working over the upgrade to 2.6.26. At the scheduled time of
322+
removal fixed lm-sensors (2.x or 3.x) should be readily available.
323+
Who: Rene Herman <[email protected]>

Documentation/filesystems/ext4.txt

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,16 @@ commit=nrsec (*) Ext4 can be told to sync all its data and metadata
139139
Setting it to very large values will improve
140140
performance.
141141

142-
barrier=1 This enables/disables barriers. barrier=0 disables
143-
it, barrier=1 enables it.
142+
barrier=<0|1(*)> This enables/disables the use of write barriers in
143+
the jbd code. barrier=0 disables, barrier=1 enables.
144+
This also requires an IO stack which can support
145+
barriers, and if jbd gets an error on a barrier
146+
write, it will disable again with a warning.
147+
Write barriers enforce proper on-disk ordering
148+
of journal commits, making volatile disk write caches
149+
safe to use, at some performance penalty. If
150+
your disks are battery-backed in one way or another,
151+
disabling barriers may safely improve performance.
144152

145153
orlov (*) This enables the new Orlov block allocator. It is
146154
enabled by default.

Documentation/filesystems/sysfs-pci.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ files, each with their own function.
3636
local_cpus nearby CPU mask (cpumask, ro)
3737
resource PCI resource host addresses (ascii, ro)
3838
resource0..N PCI resource N, if present (binary, mmap)
39+
resource0_wc..N_wc PCI WC map resource N, if prefetchable (binary, mmap)
3940
rom PCI ROM resource, if present (binary, ro)
4041
subsystem_device PCI subsystem device (ascii, ro)
4142
subsystem_vendor PCI subsystem vendor (ascii, ro)

0 commit comments

Comments
 (0)