Skip to content

Commit 7e392f8

Browse files
committed
Merge branch 'linux-2.6'
2 parents 7713fef + 93811d9 commit 7e392f8

File tree

1,325 files changed

+38128
-14573
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,325 files changed

+38128
-14573
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
What: /sys/firmware/sgi_uv/
2+
Date: August 2008
3+
Contact: Russ Anderson <[email protected]>
4+
Description:
5+
The /sys/firmware/sgi_uv directory contains information
6+
about the SGI UV platform.
7+
8+
Under that directory are a number of files:
9+
10+
partition_id
11+
coherence_id
12+
13+
The partition_id entry contains the partition id.
14+
SGI UV systems can be partitioned into multiple physical
15+
machines, which each partition running a unique copy
16+
of the operating system. Each partition will have a unique
17+
partition id. To display the partition id, use the command:
18+
19+
cat /sys/firmware/sgi_uv/partition_id
20+
21+
The coherence_id entry contains the coherence id.
22+
A partitioned SGI UV system can have one or more coherence
23+
domain. The coherence id indicates which coherence domain
24+
this partition is in. To display the coherence id, use the
25+
command:
26+
27+
cat /sys/firmware/sgi_uv/coherence_id

Documentation/dontdiff

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*.css
66
*.dvi
77
*.eps
8+
*.fw.gen.S
9+
*.fw
810
*.gif
911
*.grep
1012
*.grp

Documentation/filesystems/Locking

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ prototypes:
144144
void (*kill_sb) (struct super_block *);
145145
locking rules:
146146
may block BKL
147-
get_sb yes yes
148-
kill_sb yes yes
147+
get_sb yes no
148+
kill_sb yes no
149149

150150
->get_sb() returns error or 0 with locked superblock attached to the vfsmount
151151
(exclusive on ->s_umount).
@@ -409,12 +409,12 @@ ioctl: yes (see below)
409409
unlocked_ioctl: no (see below)
410410
compat_ioctl: no
411411
mmap: no
412-
open: maybe (see below)
412+
open: no
413413
flush: no
414414
release: no
415415
fsync: no (see below)
416416
aio_fsync: no
417-
fasync: yes (see below)
417+
fasync: no
418418
lock: yes
419419
readv: no
420420
writev: no
@@ -431,13 +431,6 @@ For many filesystems, it is probably safe to acquire the inode
431431
semaphore. Note some filesystems (i.e. remote ones) provide no
432432
protection for i_size so you will need to use the BKL.
433433

434-
->open() locking is in-transit: big lock partially moved into the methods.
435-
The only exception is ->open() in the instances of file_operations that never
436-
end up in ->i_fop/->proc_fops, i.e. ones that belong to character devices
437-
(chrdev_open() takes lock before replacing ->f_op and calling the secondary
438-
method. As soon as we fix the handling of module reference counters all
439-
instances of ->open() will be called without the BKL.
440-
441434
Note: ext2_release() was *the* source of contention on fs-intensive
442435
loads and dropping BKL on ->release() helps to get rid of that (we still
443436
grab BKL for cases when we close a file that had been opened r/w, but that

Documentation/filesystems/ext4.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ Mailing list: [email protected]
2626

2727
git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
2828

29+
- Note that it is highly important to install the mke2fs.conf file
30+
that comes with the e2fsprogs 1.41.x sources in /etc/mke2fs.conf. If
31+
you have edited the /etc/mke2fs.conf file installed on your system,
32+
you will need to merge your changes with the version from e2fsprogs
33+
1.41.x.
34+
2935
- Create a new filesystem using the ext4dev filesystem type:
3036

3137
# mke2fs -t ext4dev /dev/hda1

Documentation/filesystems/ntfs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Web site
4040
========
4141

4242
There is plenty of additional information on the linux-ntfs web site
43-
at http://linux-ntfs.sourceforge.net/
43+
at http://www.linux-ntfs.org/
4444

4545
The web site has a lot of additional information, such as a comprehensive
4646
FAQ, documentation on the NTFS on-disk format, information on the Linux-NTFS
@@ -272,7 +272,7 @@ And you would know that /dev/hda2 has a size of 37768814 - 4209030 + 1 =
272272
For Win2k and later dynamic disks, you can for example use the ldminfo utility
273273
which is part of the Linux LDM tools (the latest version at the time of
274274
writing is linux-ldm-0.0.8.tar.bz2). You can download it from:
275-
http://linux-ntfs.sourceforge.net/downloads.html
275+
http://www.linux-ntfs.org/
276276
Simply extract the downloaded archive (tar xvjf linux-ldm-0.0.8.tar.bz2), go
277277
into it (cd linux-ldm-0.0.8) and change to the test directory (cd test). You
278278
will find the precompiled (i386) ldminfo utility there. NOTE: You will not be

Documentation/filesystems/proc.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,6 +1339,25 @@ Enables/Disables the protection of the per-process proc entries "maps" and
13391339
"smaps". When enabled, the contents of these files are visible only to
13401340
readers that are allowed to ptrace() the given process.
13411341

1342+
msgmni
1343+
------
1344+
1345+
Maximum number of message queue ids on the system.
1346+
This value scales to the amount of lowmem. It is automatically recomputed
1347+
upon memory add/remove or ipc namespace creation/removal.
1348+
When a value is written into this file, msgmni's value becomes fixed, i.e. it
1349+
is not recomputed anymore when one of the above events occurs.
1350+
Use auto_msgmni to change this behavior.
1351+
1352+
auto_msgmni
1353+
-----------
1354+
1355+
Enables/Disables automatic recomputing of msgmni upon memory add/remove or
1356+
upon ipc namespace creation/removal (see the msgmni description above).
1357+
Echoing "1" into this file enables msgmni automatic recomputing.
1358+
Echoing "0" turns it off.
1359+
auto_msgmni default value is 1.
1360+
13421361

13431362
2.4 /proc/sys/vm - The virtual memory subsystem
13441363
-----------------------------------------------

Documentation/ja_JP/HOWTO

Lines changed: 47 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ for non English (read: Japanese) speakers and is not intended as a
1111
fork. So if you have any comments or updates for this file, please try
1212
to update the original English file first.
1313

14-
Last Updated: 2007/11/16
14+
Last Updated: 2008/08/21
1515
==================================
1616
これは、
17-
linux-2.6.24/Documentation/HOWTO
17+
linux-2.6.27/Documentation/HOWTO
1818
の和訳です。
1919

2020
翻訳団体: JF プロジェクト < http://www.linux.or.jp/JF/ >
21-
翻訳日: 2007/11/10
21+
翻訳日: 2008/8/5
2222
翻訳者: Tsugikazu Shibata <tshibata at ab dot jp dot nec dot com>
2323
校正者: 松倉さん <nbh--mats at nifty dot com>
2424
小林 雅典さん (Masanori Kobayasi) <zap03216 at nifty dot ne dot jp>
@@ -287,13 +287,15 @@ Linux カーネルの開発プロセスは現在幾つかの異なるメイン
287287
に安定した状態にあると判断したときにリリースされます。目標は毎週新
288288
しい -rc カーネルをリリースすることです。
289289

290-
- 以下の URL で各 -rc リリースに存在する既知の後戻り問題のリスト
291-
が追跡されます-
292-
http://kernelnewbies.org/known_regressions
293-
294290
- このプロセスはカーネルが 「準備ができた」と考えられるまで継続しま
295291
す。このプロセスはだいたい 6週間継続します。
296292

293+
- 各リリースでの既知の後戻り問題(regression: このリリースの中で新規
294+
に作り込まれた問題を指す) はその都度 Linux-kernel メーリングリスト
295+
に投稿されます。ゴールとしては、カーネルが 「準備ができた」と宣言
296+
する前にこのリストの長さをゼロに減らすことですが、現実には、数個の
297+
後戻り問題がリリース時にたびたび残ってしまいます。
298+
297299
Andrew Morton が Linux-kernel メーリングリストにカーネルリリースについ
298300
て書いたことをここで言っておくことは価値があります-
299301
「カーネルがいつリリースされるかは誰も知りません。なぜなら、これは現
@@ -303,18 +305,20 @@ Andrew Morton が Linux-kernel メーリングリストにカーネルリリー
303305
2.6.x.y -stable カーネルツリー
304306
---------------------------
305307

306-
バージョンに4つ目の数字がついたカーネルは -stable カーネルです。これに
307-
、2.6.x カーネルで見つかったセキュリティ問題や重大な後戻りに対する比
308-
較的小さい重要な修正が含まれます
308+
バージョン番号が4つの数字に分かれているカーネルは -stable カーネルです。
309+
これには、2.6.x カーネルで見つかったセキュリティ問題や重大な後戻りに対
310+
する比較的小さい重要な修正が含まれます
309311

310312
これは、開発/実験的バージョンのテストに協力することに興味が無く、
311313
最新の安定したカーネルを使いたいユーザに推奨するブランチです。
312314

313-
もし、2.6.x.y カーネルが存在しない場合には、番号が一番大きい 2.6.x
314-
が最新の安定版カーネルです
315+
もし、2.6.x.y カーネルが存在しない場合には、番号が一番大きい 2.6.x
316+
最新の安定版カーネルです
315317

316-
2.6.x.y は "stable" チーム <[email protected]> でメンテされており、だ
317-
いたい隔週でリリースされています。
318+
2.6.x.y は "stable" チーム <[email protected]> でメンテされており、必
319+
要に応じてリリースされます。通常のリリース期間は 2週間毎ですが、差し迫っ
320+
た問題がなければもう少し長くなることもあります。セキュリティ関連の問題
321+
の場合はこれに対してだいたいの場合、すぐにリリースがされます。
318322

319323
カーネルツリーに入っている、Documentation/stable_kernel_rules.txt ファ
320324
イルにはどのような種類の変更が -stable ツリーに受け入れ可能か、またリ
@@ -341,7 +345,9 @@ linux-kernel メーリングリストで収集された多数のパッチと同
341345
メインラインへ入れるように Linus にプッシュします。
342346

343347
メインカーネルツリーに含めるために Linus に送る前に、すべての新しいパッ
344-
チが -mm ツリーでテストされることが強く推奨されます。
348+
チが -mm ツリーでテストされることが強く推奨されています。マージウィン
349+
ドウが開く前に -mm ツリーに現れなかったパッチはメインラインにマージさ
350+
れることは困難になります。
345351

346352
これらのカーネルは安定して動作すべきシステムとして使うのには適切ではあ
347353
りませんし、カーネルブランチの中でももっとも動作にリスクが高いものです。
@@ -395,13 +401,15 @@ linux-kernel メーリングリストで収集された多数のパッチと同
395401
- pcmcia, Dominik Brodowski <[email protected]>
396402
git.kernel.org:/pub/scm/linux/kernel/git/brodo/pcmcia-2.6.git
397403

398-
- SCSI, James Bottomley <James.Bottomley@SteelEye.com>
404+
- SCSI, James Bottomley <James.Bottomley@hansenpartnership.com>
399405
git.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git
400406

407+
- x86, Ingo Molnar <[email protected]>
408+
git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86.git
409+
401410
quilt ツリー-
402-
- USB, PCI ドライバコアと I2C, Greg Kroah-Hartman <[email protected]>
411+
- USB, ドライバコアと I2C, Greg Kroah-Hartman <[email protected]>
403412
kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/
404-
- x86-64 と i386 の仲間 Andi Kleen <[email protected]>
405413

406414
その他のカーネルツリーは http://git.kernel.org/ と MAINTAINERS ファ
407415
イルに一覧表があります。
@@ -412,13 +420,32 @@ linux-kernel メーリングリストで収集された多数のパッチと同
412420
bugzilla.kernel.org は Linux カーネル開発者がカーネルのバグを追跡する
413421
場所です。ユーザは見つけたバグの全てをこのツールで報告すべきです。
414422
どう kernel bugzilla を使うかの詳細は、以下を参照してください-
415-
http://test.kernel.org/bugzilla/faq.html
416-
423+
http://bugzilla.kernel.org/page.cgi?id=faq.html
417424
メインカーネルソースディレクトリにあるファイル REPORTING-BUGS はカーネ
418425
ルバグらしいものについてどうレポートするかの良いテンプレートであり、問
419426
題の追跡を助けるためにカーネル開発者にとってどんな情報が必要なのかの詳
420427
細が書かれています。
421428

429+
バグレポートの管理
430+
-------------------
431+
432+
あなたのハッキングのスキルを訓練する最高の方法のひとつに、他人がレポー
433+
トしたバグを修正することがあります。あなたがカーネルをより安定化させる
434+
こに寄与するということだけでなく、あなたは 現実の問題を修正することを
435+
学び、自分のスキルも強化でき、また他の開発者があなたの存在に気がつき
436+
ます。バグを修正することは、多くの開発者の中から自分が功績をあげる最善
437+
の道です、なぜなら多くの人は他人のバグの修正に時間を浪費することを好ま
438+
ないからです。
439+
440+
すでにレポートされたバグのために仕事をするためには、
441+
http://bugzilla.kernel.org に行ってください。もし今後のバグレポートに
442+
ついてアドバイスを受けたいのであれば、bugme-new メーリングリスト(新し
443+
いバグレポートだけがここにメールされる) または bugme-janitor メーリン
444+
グリスト(bugzilla の変更毎にここにメールされる)を購読できます。
445+
446+
http://lists.linux-foundation.org/mailman/listinfo/bugme-new
447+
http://lists.linux-foundation.org/mailman/listinfo/bugme-janitors
448+
422449
メーリングリスト
423450
-------------
424451

Documentation/ja_JP/SubmitChecklist

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
NOTE:
2+
This is a version of Documentation/SubmitChecklist into Japanese.
3+
This document is maintained by Takenori Nagano <[email protected]>
4+
and the JF Project team <http://www.linux.or.jp/JF/>.
5+
If you find any difference between this document and the original file
6+
or a problem with the translation,
7+
please contact the maintainer of this file or JF project.
8+
9+
Please also note that the purpose of this file is to be easier to read
10+
for non English (read: Japanese) speakers and is not intended as a
11+
fork. So if you have any comments or updates of this file, please try
12+
to update the original English file first.
13+
14+
Last Updated: 2008/07/14
15+
==================================
16+
これは、
17+
linux-2.6.26/Documentation/SubmitChecklist の和訳です。
18+
19+
翻訳団体: JF プロジェクト < http://www.linux.or.jp/JF/ >
20+
翻訳日: 2008/07/14
21+
翻訳者: Takenori Nagano <t-nagano at ah dot jp dot nec dot com>
22+
校正者: Masanori Kobayashi さん <zap03216 at nifty dot ne dot jp>
23+
==================================
24+
25+
26+
Linux カーネルパッチ投稿者向けチェックリスト
27+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28+
29+
本書では、パッチをより素早く取り込んでもらいたい開発者が実践すべき基本的な事柄
30+
をいくつか紹介します。ここにある全ての事柄は、Documentation/SubmittingPatches
31+
などのLinuxカーネルパッチ投稿に際しての心得を補足するものです。
32+
33+
1: 妥当なCONFIGオプションや変更されたCONFIGオプション、つまり =y, =m, =n
34+
全てで正しくビルドできることを確認してください。その際、gcc及びリンカが
35+
warningやerrorを出していないことも確認してください。
36+
37+
2: allnoconfig, allmodconfig オプションを用いて正しくビルドできることを
38+
確認してください。
39+
40+
3: 手許のクロスコンパイルツールやOSDLのPLMのようなものを用いて、複数の
41+
アーキテクチャにおいても正しくビルドできることを確認してください。
42+
43+
4: 64bit長の'unsigned long'を使用しているppc64は、クロスコンパイルでの
44+
チェックに適当なアーキテクチャです。
45+
46+
5: カーネルコーディングスタイルに準拠しているかどうか確認してください(!)
47+
48+
6: CONFIGオプションの追加・変更をした場合には、CONFIGメニューが壊れていない
49+
ことを確認してください。
50+
51+
7: 新しくKconfigのオプションを追加する際には、必ずそのhelpも記述してください。
52+
53+
8: 適切なKconfigの依存関係を考えながら慎重にチェックしてください。
54+
ただし、この作業はマシンを使ったテストできちんと行うのがとても困難です。
55+
うまくやるには、自分の頭で考えることです。
56+
57+
9: sparseを利用してちゃんとしたコードチェックをしてください。
58+
59+
10: 'make checkstack' と 'make namespacecheck' を利用し、問題が発見されたら
60+
修正してください。'make checkstack' は明示的に問題を示しませんが、どれか
61+
1つの関数が512バイトより大きいスタックを使っていれば、修正すべき候補と
62+
なります。
63+
64+
11: グローバルなkernel API を説明する kernel-doc をソースの中に含めてください。
65+
( staticな関数においては必須ではありませんが、含めてもらっても結構です )
66+
そして、'make htmldocs' もしくは 'make mandocs' を利用して追記した
67+
ドキュメントのチェックを行い、問題が見つかった場合には修正を行ってください。
68+
69+
12: CONFIG_PREEMPT, CONFIG_DEBUG_PREEMPT, CONFIG_DEBUG_SLAB,
70+
CONFIG_DEBUG_PAGEALLOC, CONFIG_DEBUG_MUTEXES, CONFIG_DEBUG_SPINLOCK,
71+
CONFIG_DEBUG_SPINLOCK_SLEEP これら全てを同時に有効にして動作確認を
72+
行ってください。
73+
74+
13: CONFIG_SMP, CONFIG_PREEMPT を有効にした場合と無効にした場合の両方で
75+
ビルドした上、動作確認を行ってください。
76+
77+
14: もしパッチがディスクのI/O性能などに影響を与えるようであれば、
78+
'CONFIG_LBD'オプションを有効にした場合と無効にした場合の両方で
79+
テストを実施してみてください。
80+
81+
15: lockdepの機能を全て有効にした上で、全てのコードパスを評価してください。
82+
83+
16: /proc に新しいエントリを追加した場合には、Documentation/ 配下に
84+
必ずドキュメントを追加してください。
85+
86+
17: 新しいブートパラメータを追加した場合には、
87+
必ずDocumentation/kernel-parameters.txt に説明を追加してください。
88+
89+
18: 新しくmoduleにパラメータを追加した場合には、MODULE_PARM_DESC()を
90+
利用して必ずその説明を記述してください。
91+
92+
19: 新しいuserspaceインタフェースを作成した場合には、Documentation/ABI/ に
93+
Documentation/ABI/README を参考にして必ずドキュメントを追加してください。
94+
95+
20: 'make headers_check'を実行して全く問題がないことを確認してください。
96+
97+
21: 少なくともslabアロケーションとpageアロケーションに失敗した場合の
98+
挙動について、fault-injectionを利用して確認してください。
99+
Documentation/fault-injection/ を参照してください。
100+
101+
追加したコードがかなりの量であったならば、サブシステム特有の
102+
fault-injectionを追加したほうが良いかもしれません。
103+
104+
22: 新たに追加したコードは、`gcc -W'でコンパイルしてください。
105+
このオプションは大量の不要なメッセージを出力しますが、
106+
"warning: comparison between signed and unsigned" のようなメッセージは、
107+
バグを見つけるのに役に立ちます。
108+
109+
23: 投稿したパッチが -mm パッチセットにマージされた後、全ての既存のパッチや
110+
VM, VFS およびその他のサブシステムに関する様々な変更と、現時点でも共存
111+
できることを確認するテストを行ってください。

Documentation/kernel-parameters.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,8 @@ and is between 256 and 4096 characters. It is defined in the file
365365
no delay (0).
366366
Format: integer
367367

368+
bootmem_debug [KNL] Enable bootmem allocator debug messages.
369+
368370
bttv.card= [HW,V4L] bttv (bt848 + bt878 based grabber cards)
369371
bttv.radio= Most important insmod options are available as
370372
kernel args too.
@@ -1072,6 +1074,9 @@ and is between 256 and 4096 characters. It is defined in the file
10721074

10731075
* [no]ncq: Turn on or off NCQ.
10741076

1077+
* nohrst, nosrst, norst: suppress hard, soft
1078+
and both resets.
1079+
10751080
If there are multiple matching configurations changing
10761081
the same attribute, the last one is used.
10771082

0 commit comments

Comments
 (0)