Skip to content

Commit 1c2a48c

Browse files
author
Ingo Molnar
committed
Merge branch 'linus' into x86/apic-cleanups
Conflicts: arch/x86/include/asm/io_apic.h Merge reason: Resolve the conflict, update to a more recent -rc base Signed-off-by: Ingo Molnar <[email protected]>
2 parents 0aa002f + cb600d2 commit 1c2a48c

File tree

1,847 files changed

+32473
-17977
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,847 files changed

+32473
-17977
lines changed

CREDITS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2365,8 +2365,6 @@ E: [email protected]
23652365
W: http://oops.ghostprotocols.net:81/blog/
23662366
P: 1024D/9224DF01 D5DF E3BB E3C8 BCBB F8AD 841A B6AB 4681 9224 DF01
23672367
D: IPX, LLC, DCCP, cyc2x, wl3501_cs, net/ hacks
2368-
S: R. Brasílio Itiberê, 4270/1010 - Água Verde
2369-
S: 80240-060 - Curitiba - Paraná
23702368
S: Brazil
23712369

23722370
N: Karsten Merker
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
What: /sys/bus/rbd/
2+
Date: November 2010
3+
Contact: Yehuda Sadeh <[email protected]>,
4+
Sage Weil <[email protected]>
5+
Description:
6+
7+
Being used for adding and removing rbd block devices.
8+
9+
Usage: <mon ip addr> <options> <pool name> <rbd image name> [snap name]
10+
11+
$ echo "192.168.0.1 name=admin rbd foo" > /sys/bus/rbd/add
12+
13+
The snapshot name can be "-" or omitted to map the image read/write. A <dev-id>
14+
will be assigned for any registered block device. If snapshot is used, it will
15+
be mapped read-only.
16+
17+
Removal of a device:
18+
19+
$ echo <dev-id> > /sys/bus/rbd/remove
20+
21+
Entries under /sys/bus/rbd/devices/<dev-id>/
22+
--------------------------------------------
23+
24+
client_id
25+
26+
The ceph unique client id that was assigned for this specific session.
27+
28+
major
29+
30+
The block device major number.
31+
32+
name
33+
34+
The name of the rbd image.
35+
36+
pool
37+
38+
The pool where this rbd image resides. The pool-name pair is unique
39+
per rados system.
40+
41+
size
42+
43+
The size (in bytes) of the mapped block device.
44+
45+
refresh
46+
47+
Writing to this file will reread the image header data and set
48+
all relevant datastructures accordingly.
49+
50+
current_snap
51+
52+
The current snapshot for which the device is mapped.
53+
54+
create_snap
55+
56+
Create a snapshot:
57+
58+
$ echo <snap-name> > /sys/bus/rbd/devices/<dev-id>/snap_create
59+
60+
rollback_snap
61+
62+
Rolls back data to the specified snapshot. This goes over the entire
63+
list of rados blocks and sends a rollback command to each.
64+
65+
$ echo <snap-name> > /sys/bus/rbd/devices/<dev-id>/snap_rollback
66+
67+
snap_*
68+
69+
A directory per each snapshot
70+
71+
72+
Entries under /sys/bus/rbd/devices/<dev-id>/snap_<snap-name>
73+
-------------------------------------------------------------
74+
75+
id
76+
77+
The rados internal snapshot id assigned for this snapshot
78+
79+
size
80+
81+
The size of the image when this snapshot was taken.
82+
83+

Documentation/ABI/testing/sysfs-platform-asus-laptop

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,20 @@ Date: January 2007
4747
KernelVersion: 2.6.20
4848
Contact: "Corentin Chary" <[email protected]>
4949
Description:
50-
Control the bluetooth device. 1 means on, 0 means off.
50+
Control the wlan device. 1 means on, 0 means off.
5151
This may control the led, the device or both.
5252
Users: Lapsus
53+
54+
What: /sys/devices/platform/asus_laptop/wimax
55+
Date: October 2010
56+
KernelVersion: 2.6.37
57+
Contact: "Corentin Chary" <[email protected]>
58+
Description:
59+
Control the wimax device. 1 means on, 0 means off.
60+
61+
What: /sys/devices/platform/asus_laptop/wwan
62+
Date: October 2010
63+
KernelVersion: 2.6.37
64+
Contact: "Corentin Chary" <[email protected]>
65+
Description:
66+
Control the wwan (3G) device. 1 means on, 0 means off.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
What: /sys/devices/platform/eeepc-wmi/cpufv
2+
Date: Oct 2010
3+
KernelVersion: 2.6.37
4+
Contact: "Corentin Chary" <[email protected]>
5+
Description:
6+
Change CPU clock configuration (write-only).
7+
There are three available clock configuration:
8+
* 0 -> Super Performance Mode
9+
* 1 -> High Performance Mode
10+
* 2 -> Power Saving Mode

Documentation/DocBook/sh.tmpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@
7979
</sect2>
8080
</sect1>
8181
</chapter>
82-
<chapter id="clk">
83-
<title>Clock Framework Extensions</title>
84-
!Iinclude/linux/sh_clk.h
85-
</chapter>
8682
<chapter id="mach">
8783
<title>Machine Specific Interfaces</title>
8884
<sect1 id="dreamcast">

Documentation/DocBook/uio-howto.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</orgname>
1717

1818
<address>
19-
<email>hjk@linutronix.de</email>
19+
<email>hjk@hansjkoch.de</email>
2020
</address>
2121
</affiliation>
2222
</author>
@@ -114,7 +114,7 @@ GPL version 2.
114114

115115
<para>If you know of any translations for this document, or you are
116116
interested in translating it, please email me
117-
<email>hjk@linutronix.de</email>.
117+
<email>hjk@hansjkoch.de</email>.
118118
</para>
119119
</sect1>
120120

@@ -171,7 +171,7 @@ interested in translating it, please email me
171171
<title>Feedback</title>
172172
<para>Find something wrong with this document? (Or perhaps something
173173
right?) I would love to hear from you. Please email me at
174-
<email>hjk@linutronix.de</email>.</para>
174+
<email>hjk@hansjkoch.de</email>.</para>
175175
</sect1>
176176
</chapter>
177177

Documentation/RCU/trace.txt

Lines changed: 128 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
CONFIG_RCU_TRACE debugfs Files and Formats
22

33

4-
The rcutree implementation of RCU provides debugfs trace output that
5-
summarizes counters and state. This information is useful for debugging
6-
RCU itself, and can sometimes also help to debug abuses of RCU.
7-
The following sections describe the debugfs files and formats.
4+
The rcutree and rcutiny implementations of RCU provide debugfs trace
5+
output that summarizes counters and state. This information is useful for
6+
debugging RCU itself, and can sometimes also help to debug abuses of RCU.
7+
The following sections describe the debugfs files and formats, first
8+
for rcutree and next for rcutiny.
89

910

10-
Hierarchical RCU debugfs Files and Formats
11+
CONFIG_TREE_RCU and CONFIG_TREE_PREEMPT_RCU debugfs Files and Formats
1112

12-
This implementation of RCU provides three debugfs files under the
13+
These implementations of RCU provides five debugfs files under the
1314
top-level directory RCU: rcu/rcudata (which displays fields in struct
14-
rcu_data), rcu/rcugp (which displays grace-period counters), and
15-
rcu/rcuhier (which displays the struct rcu_node hierarchy).
15+
rcu_data), rcu/rcudata.csv (which is a .csv spreadsheet version of
16+
rcu/rcudata), rcu/rcugp (which displays grace-period counters),
17+
rcu/rcuhier (which displays the struct rcu_node hierarchy), and
18+
rcu/rcu_pending (which displays counts of the reasons that the
19+
rcu_pending() function decided that there was core RCU work to do).
1620

1721
The output of "cat rcu/rcudata" looks as follows:
1822

@@ -130,7 +134,8 @@ o "ci" is the number of RCU callbacks that have been invoked for
130134
been registered in absence of CPU-hotplug activity.
131135

132136
o "co" is the number of RCU callbacks that have been orphaned due to
133-
this CPU going offline.
137+
this CPU going offline. These orphaned callbacks have been moved
138+
to an arbitrarily chosen online CPU.
134139

135140
o "ca" is the number of RCU callbacks that have been adopted due to
136141
other CPUs going offline. Note that ci+co-ca+ql is the number of
@@ -168,12 +173,12 @@ o "gpnum" is the number of grace periods that have started. It is
168173

169174
The output of "cat rcu/rcuhier" looks as follows, with very long lines:
170175

171-
c=6902 g=6903 s=2 jfq=3 j=72c7 nfqs=13142/nfqsng=0(13142) fqlh=6 oqlen=0
176+
c=6902 g=6903 s=2 jfq=3 j=72c7 nfqs=13142/nfqsng=0(13142) fqlh=6
172177
1/1 .>. 0:127 ^0
173178
3/3 .>. 0:35 ^0 0/0 .>. 36:71 ^1 0/0 .>. 72:107 ^2 0/0 .>. 108:127 ^3
174179
3/3f .>. 0:5 ^0 2/3 .>. 6:11 ^1 0/0 .>. 12:17 ^2 0/0 .>. 18:23 ^3 0/0 .>. 24:29 ^4 0/0 .>. 30:35 ^5 0/0 .>. 36:41 ^0 0/0 .>. 42:47 ^1 0/0 .>. 48:53 ^2 0/0 .>. 54:59 ^3 0/0 .>. 60:65 ^4 0/0 .>. 66:71 ^5 0/0 .>. 72:77 ^0 0/0 .>. 78:83 ^1 0/0 .>. 84:89 ^2 0/0 .>. 90:95 ^3 0/0 .>. 96:101 ^4 0/0 .>. 102:107 ^5 0/0 .>. 108:113 ^0 0/0 .>. 114:119 ^1 0/0 .>. 120:125 ^2 0/0 .>. 126:127 ^3
175180
rcu_bh:
176-
c=-226 g=-226 s=1 jfq=-5701 j=72c7 nfqs=88/nfqsng=0(88) fqlh=0 oqlen=0
181+
c=-226 g=-226 s=1 jfq=-5701 j=72c7 nfqs=88/nfqsng=0(88) fqlh=0
177182
0/1 .>. 0:127 ^0
178183
0/3 .>. 0:35 ^0 0/0 .>. 36:71 ^1 0/0 .>. 72:107 ^2 0/0 .>. 108:127 ^3
179184
0/3f .>. 0:5 ^0 0/3 .>. 6:11 ^1 0/0 .>. 12:17 ^2 0/0 .>. 18:23 ^3 0/0 .>. 24:29 ^4 0/0 .>. 30:35 ^5 0/0 .>. 36:41 ^0 0/0 .>. 42:47 ^1 0/0 .>. 48:53 ^2 0/0 .>. 54:59 ^3 0/0 .>. 60:65 ^4 0/0 .>. 66:71 ^5 0/0 .>. 72:77 ^0 0/0 .>. 78:83 ^1 0/0 .>. 84:89 ^2 0/0 .>. 90:95 ^3 0/0 .>. 96:101 ^4 0/0 .>. 102:107 ^5 0/0 .>. 108:113 ^0 0/0 .>. 114:119 ^1 0/0 .>. 120:125 ^2 0/0 .>. 126:127 ^3
@@ -212,11 +217,6 @@ o "fqlh" is the number of calls to force_quiescent_state() that
212217
exited immediately (without even being counted in nfqs above)
213218
due to contention on ->fqslock.
214219

215-
o "oqlen" is the number of callbacks on the "orphan" callback
216-
list. RCU callbacks are placed on this list by CPUs going
217-
offline, and are "adopted" either by the CPU helping the outgoing
218-
CPU or by the next rcu_barrier*() call, whichever comes first.
219-
220220
o Each element of the form "1/1 0:127 ^0" represents one struct
221221
rcu_node. Each line represents one level of the hierarchy, from
222222
root to leaves. It is best to think of the rcu_data structures
@@ -326,3 +326,115 @@ o "nn" is the number of times that this CPU needed nothing. Alert
326326
readers will note that the rcu "nn" number for a given CPU very
327327
closely matches the rcu_bh "np" number for that same CPU. This
328328
is due to short-circuit evaluation in rcu_pending().
329+
330+
331+
CONFIG_TINY_RCU and CONFIG_TINY_PREEMPT_RCU debugfs Files and Formats
332+
333+
These implementations of RCU provides a single debugfs file under the
334+
top-level directory RCU, namely rcu/rcudata, which displays fields in
335+
rcu_bh_ctrlblk, rcu_sched_ctrlblk and, for CONFIG_TINY_PREEMPT_RCU,
336+
rcu_preempt_ctrlblk.
337+
338+
The output of "cat rcu/rcudata" is as follows:
339+
340+
rcu_preempt: qlen=24 gp=1097669 g197/p197/c197 tasks=...
341+
ttb=. btg=no ntb=184 neb=0 nnb=183 j=01f7 bt=0274
342+
normal balk: nt=1097669 gt=0 bt=371 b=0 ny=25073378 nos=0
343+
exp balk: bt=0 nos=0
344+
rcu_sched: qlen: 0
345+
rcu_bh: qlen: 0
346+
347+
This is split into rcu_preempt, rcu_sched, and rcu_bh sections, with the
348+
rcu_preempt section appearing only in CONFIG_TINY_PREEMPT_RCU builds.
349+
The last three lines of the rcu_preempt section appear only in
350+
CONFIG_RCU_BOOST kernel builds. The fields are as follows:
351+
352+
o "qlen" is the number of RCU callbacks currently waiting either
353+
for an RCU grace period or waiting to be invoked. This is the
354+
only field present for rcu_sched and rcu_bh, due to the
355+
short-circuiting of grace period in those two cases.
356+
357+
o "gp" is the number of grace periods that have completed.
358+
359+
o "g197/p197/c197" displays the grace-period state, with the
360+
"g" number being the number of grace periods that have started
361+
(mod 256), the "p" number being the number of grace periods
362+
that the CPU has responded to (also mod 256), and the "c"
363+
number being the number of grace periods that have completed
364+
(once again mode 256).
365+
366+
Why have both "gp" and "g"? Because the data flowing into
367+
"gp" is only present in a CONFIG_RCU_TRACE kernel.
368+
369+
o "tasks" is a set of bits. The first bit is "T" if there are
370+
currently tasks that have recently blocked within an RCU
371+
read-side critical section, the second bit is "N" if any of the
372+
aforementioned tasks are blocking the current RCU grace period,
373+
and the third bit is "E" if any of the aforementioned tasks are
374+
blocking the current expedited grace period. Each bit is "."
375+
if the corresponding condition does not hold.
376+
377+
o "ttb" is a single bit. It is "B" if any of the blocked tasks
378+
need to be priority boosted and "." otherwise.
379+
380+
o "btg" indicates whether boosting has been carried out during
381+
the current grace period, with "exp" indicating that boosting
382+
is in progress for an expedited grace period, "no" indicating
383+
that boosting has not yet started for a normal grace period,
384+
"begun" indicating that boosting has bebug for a normal grace
385+
period, and "done" indicating that boosting has completed for
386+
a normal grace period.
387+
388+
o "ntb" is the total number of tasks subjected to RCU priority boosting
389+
periods since boot.
390+
391+
o "neb" is the number of expedited grace periods that have had
392+
to resort to RCU priority boosting since boot.
393+
394+
o "nnb" is the number of normal grace periods that have had
395+
to resort to RCU priority boosting since boot.
396+
397+
o "j" is the low-order 12 bits of the jiffies counter in hexadecimal.
398+
399+
o "bt" is the low-order 12 bits of the value that the jiffies counter
400+
will have at the next time that boosting is scheduled to begin.
401+
402+
o In the line beginning with "normal balk", the fields are as follows:
403+
404+
o "nt" is the number of times that the system balked from
405+
boosting because there were no blocked tasks to boost.
406+
Note that the system will balk from boosting even if the
407+
grace period is overdue when the currently running task
408+
is looping within an RCU read-side critical section.
409+
There is no point in boosting in this case, because
410+
boosting a running task won't make it run any faster.
411+
412+
o "gt" is the number of times that the system balked
413+
from boosting because, although there were blocked tasks,
414+
none of them were preventing the current grace period
415+
from completing.
416+
417+
o "bt" is the number of times that the system balked
418+
from boosting because boosting was already in progress.
419+
420+
o "b" is the number of times that the system balked from
421+
boosting because boosting had already completed for
422+
the grace period in question.
423+
424+
o "ny" is the number of times that the system balked from
425+
boosting because it was not yet time to start boosting
426+
the grace period in question.
427+
428+
o "nos" is the number of times that the system balked from
429+
boosting for inexplicable ("not otherwise specified")
430+
reasons. This can actually happen due to races involving
431+
increments of the jiffies counter.
432+
433+
o In the line beginning with "exp balk", the fields are as follows:
434+
435+
o "bt" is the number of times that the system balked from
436+
boosting because there were no blocked tasks to boost.
437+
438+
o "nos" is the number of times that the system balked from
439+
boosting for inexplicable ("not otherwise specified")
440+
reasons.

Documentation/accounting/getdelays.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,7 @@ int main(int argc, char *argv[])
516516
default:
517517
fprintf(stderr, "Unknown nla_type %d\n",
518518
na->nla_type);
519+
case TASKSTATS_TYPE_NULL:
519520
break;
520521
}
521522
na = (struct nlattr *) (GENLMSG_DATA(&msg) + len);

0 commit comments

Comments
 (0)