diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-04 14:32:18 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-04 14:32:18 -0500 |
| commit | be834aafdf5f8a37c191e697ac8ee6d53ab5020c (patch) | |
| tree | e5c4bce3fd97c046c7367b9eb46d25b35c2f84aa | |
| parent | 91aff98b79f10bf38c0d51b2d8538ecca35f916e (diff) | |
| parent | fd5d666932d51b2552ecc0280047d6b35d9b6cd1 (diff) | |
Merge tag 'docs-4.11-fixes' of git://git.lwn.net/linux
Pull documentation fixes from Jonathan Corbet:
"A few fixes for the docs tree, including one for a 4.11 build
regression"
* tag 'docs-4.11-fixes' of git://git.lwn.net/linux:
Documentation/sphinx: fix primary_domain configuration
docs: Fix htmldocs build failure
doc/ko_KR/memory-barriers: Update control-dependencies section
pcieaer doc: update the link
Documentation: Update path to sysrq.txt
| -rw-r--r-- | Documentation/DocBook/Makefile | 4 | ||||
| -rw-r--r-- | Documentation/PCI/pcieaer-howto.txt | 2 | ||||
| -rw-r--r-- | Documentation/conf.py | 2 | ||||
| -rw-r--r-- | Documentation/media/v4l-drivers/bttv.rst | 2 | ||||
| -rw-r--r-- | Documentation/s390/Debugging390.txt | 2 | ||||
| -rw-r--r-- | Documentation/sysctl/kernel.txt | 2 | ||||
| -rw-r--r-- | Documentation/translations/ko_KR/memory-barriers.txt | 68 | ||||
| -rw-r--r-- | Documentation/virtual/uml/UserModeLinux-HOWTO.txt | 6 |
8 files changed, 47 insertions, 41 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index 60a17b7da834..164c1c76971f 100644 --- a/Documentation/DocBook/Makefile +++ b/Documentation/DocBook/Makefile | |||
| @@ -7,12 +7,12 @@ | |||
| 7 | # list of DOCBOOKS. | 7 | # list of DOCBOOKS. |
| 8 | 8 | ||
| 9 | DOCBOOKS := z8530book.xml \ | 9 | DOCBOOKS := z8530book.xml \ |
| 10 | kernel-hacking.xml kernel-locking.xml deviceiobook.xml \ | 10 | kernel-hacking.xml kernel-locking.xml \ |
| 11 | writing_usb_driver.xml networking.xml \ | 11 | writing_usb_driver.xml networking.xml \ |
| 12 | kernel-api.xml filesystems.xml lsm.xml kgdb.xml \ | 12 | kernel-api.xml filesystems.xml lsm.xml kgdb.xml \ |
| 13 | gadget.xml libata.xml mtdnand.xml librs.xml rapidio.xml \ | 13 | gadget.xml libata.xml mtdnand.xml librs.xml rapidio.xml \ |
| 14 | genericirq.xml s390-drivers.xml scsi.xml \ | 14 | genericirq.xml s390-drivers.xml scsi.xml \ |
| 15 | sh.xml regulator.xml w1.xml \ | 15 | sh.xml w1.xml \ |
| 16 | writing_musb_glue_layer.xml | 16 | writing_musb_glue_layer.xml |
| 17 | 17 | ||
| 18 | ifeq ($(DOCBOOKS),) | 18 | ifeq ($(DOCBOOKS),) |
diff --git a/Documentation/PCI/pcieaer-howto.txt b/Documentation/PCI/pcieaer-howto.txt index ea8cafba255c..acd0dddd6bb8 100644 --- a/Documentation/PCI/pcieaer-howto.txt +++ b/Documentation/PCI/pcieaer-howto.txt | |||
| @@ -256,7 +256,7 @@ After reboot with new kernel or insert the module, a device file named | |||
| 256 | 256 | ||
| 257 | Then, you need a user space tool named aer-inject, which can be gotten | 257 | Then, you need a user space tool named aer-inject, which can be gotten |
| 258 | from: | 258 | from: |
| 259 | http://www.kernel.org/pub/linux/utils/pci/aer-inject/ | 259 | https://git.kernel.org/cgit/linux/kernel/git/gong.chen/aer-inject.git/ |
| 260 | 260 | ||
| 261 | More information about aer-inject can be found in the document comes | 261 | More information about aer-inject can be found in the document comes |
| 262 | with its source code. | 262 | with its source code. |
diff --git a/Documentation/conf.py b/Documentation/conf.py index f6823cf01275..7fadb3b83293 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py | |||
| @@ -135,7 +135,7 @@ pygments_style = 'sphinx' | |||
| 135 | # If true, `todo` and `todoList` produce output, else they produce nothing. | 135 | # If true, `todo` and `todoList` produce output, else they produce nothing. |
| 136 | todo_include_todos = False | 136 | todo_include_todos = False |
| 137 | 137 | ||
| 138 | primary_domain = 'C' | 138 | primary_domain = 'c' |
| 139 | highlight_language = 'none' | 139 | highlight_language = 'none' |
| 140 | 140 | ||
| 141 | # -- Options for HTML output ---------------------------------------------- | 141 | # -- Options for HTML output ---------------------------------------------- |
diff --git a/Documentation/media/v4l-drivers/bttv.rst b/Documentation/media/v4l-drivers/bttv.rst index bc63b12efafd..195ccaac2816 100644 --- a/Documentation/media/v4l-drivers/bttv.rst +++ b/Documentation/media/v4l-drivers/bttv.rst | |||
| @@ -312,7 +312,7 @@ information out of a register+stack dump printed by the kernel on | |||
| 312 | protection faults (so-called "kernel oops"). | 312 | protection faults (so-called "kernel oops"). |
| 313 | 313 | ||
| 314 | If you run into some kind of deadlock, you can try to dump a call trace | 314 | If you run into some kind of deadlock, you can try to dump a call trace |
| 315 | for each process using sysrq-t (see Documentation/sysrq.txt). | 315 | for each process using sysrq-t (see Documentation/admin-guide/sysrq.rst). |
| 316 | This way it is possible to figure where *exactly* some process in "D" | 316 | This way it is possible to figure where *exactly* some process in "D" |
| 317 | state is stuck. | 317 | state is stuck. |
| 318 | 318 | ||
diff --git a/Documentation/s390/Debugging390.txt b/Documentation/s390/Debugging390.txt index 3df8babcdc41..5ae7f868a007 100644 --- a/Documentation/s390/Debugging390.txt +++ b/Documentation/s390/Debugging390.txt | |||
| @@ -2116,7 +2116,7 @@ The sysrq key reading is very picky ( I have to type the keys in an | |||
| 2116 | This is particularly useful for syncing disks unmounting & rebooting | 2116 | This is particularly useful for syncing disks unmounting & rebooting |
| 2117 | if the machine gets partially hung. | 2117 | if the machine gets partially hung. |
| 2118 | 2118 | ||
| 2119 | Read Documentation/sysrq.txt for more info | 2119 | Read Documentation/admin-guide/sysrq.rst for more info |
| 2120 | 2120 | ||
| 2121 | References: | 2121 | References: |
| 2122 | =========== | 2122 | =========== |
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt index a32b4b748644..bac23c198360 100644 --- a/Documentation/sysctl/kernel.txt +++ b/Documentation/sysctl/kernel.txt | |||
| @@ -85,7 +85,7 @@ show up in /proc/sys/kernel: | |||
| 85 | - softlockup_all_cpu_backtrace | 85 | - softlockup_all_cpu_backtrace |
| 86 | - soft_watchdog | 86 | - soft_watchdog |
| 87 | - stop-a [ SPARC only ] | 87 | - stop-a [ SPARC only ] |
| 88 | - sysrq ==> Documentation/sysrq.txt | 88 | - sysrq ==> Documentation/admin-guide/sysrq.rst |
| 89 | - sysctl_writes_strict | 89 | - sysctl_writes_strict |
| 90 | - tainted | 90 | - tainted |
| 91 | - threads-max | 91 | - threads-max |
diff --git a/Documentation/translations/ko_KR/memory-barriers.txt b/Documentation/translations/ko_KR/memory-barriers.txt index a3228a676cc1..ce0b48d69eaa 100644 --- a/Documentation/translations/ko_KR/memory-barriers.txt +++ b/Documentation/translations/ko_KR/memory-barriers.txt | |||
| @@ -662,6 +662,10 @@ include/linux/rcupdate.h 의 rcu_assign_pointer() 와 rcu_dereference() 를 | |||
| 662 | 컨트롤 의존성 | 662 | 컨트롤 의존성 |
| 663 | ------------- | 663 | ------------- |
| 664 | 664 | ||
| 665 | 현재의 컴파일러들은 컨트롤 의존성을 이해하고 있지 않기 때문에 컨트롤 의존성은 | ||
| 666 | 약간 다루기 어려울 수 있습니다. 이 섹션의 목적은 여러분이 컴파일러의 무시로 | ||
| 667 | 인해 여러분의 코드가 망가지는 걸 막을 수 있도록 돕는겁니다. | ||
| 668 | |||
| 665 | 로드-로드 컨트롤 의존성은 데이터 의존성 배리어만으로는 정확히 동작할 수가 | 669 | 로드-로드 컨트롤 의존성은 데이터 의존성 배리어만으로는 정확히 동작할 수가 |
| 666 | 없어서 읽기 메모리 배리어를 필요로 합니다. 아래의 코드를 봅시다: | 670 | 없어서 읽기 메모리 배리어를 필요로 합니다. 아래의 코드를 봅시다: |
| 667 | 671 | ||
| @@ -689,20 +693,21 @@ CPU 는 b 로부터의 로드 오퍼레이션이 a 로부터의 로드 오퍼레 | |||
| 689 | 693 | ||
| 690 | q = READ_ONCE(a); | 694 | q = READ_ONCE(a); |
| 691 | if (q) { | 695 | if (q) { |
| 692 | WRITE_ONCE(b, p); | 696 | WRITE_ONCE(b, 1); |
| 693 | } | 697 | } |
| 694 | 698 | ||
| 695 | 컨트롤 의존성은 보통 다른 타입의 배리어들과 짝을 맞춰 사용됩니다. 그렇다곤 | 699 | 컨트롤 의존성은 보통 다른 타입의 배리어들과 짝을 맞춰 사용됩니다. 그렇다곤 |
| 696 | 하나, READ_ONCE() 는 반드시 사용해야 함을 부디 명심하세요! READ_ONCE() 가 | 700 | 하나, READ_ONCE() 도 WRITE_ONCE() 도 선택사항이 아니라 필수사항임을 부디 |
| 697 | 없다면, 컴파일러가 'a' 로부터의 로드를 'a' 로부터의 또다른 로드와, 'b' 로의 | 701 | 명심하세요! READ_ONCE() 가 없다면, 컴파일러는 'a' 로부터의 로드를 'a' 로부터의 |
| 698 | 스토어를 'b' 로의 또다른 스토어와 조합해 버려 매우 비직관적인 결과를 초래할 수 | 702 | 또다른 로드와 조합할 수 있습니다. WRITE_ONCE() 가 없다면, 컴파일러는 'b' 로의 |
| 699 | 있습니다. | 703 | 스토어를 'b' 로의 또라느 스토어들과 조합할 수 있습니다. 두 경우 모두 순서에 |
| 704 | 있어 상당히 비직관적인 결과를 초래할 수 있습니다. | ||
| 700 | 705 | ||
| 701 | 이걸로 끝이 아닌게, 컴파일러가 변수 'a' 의 값이 항상 0이 아니라고 증명할 수 | 706 | 이걸로 끝이 아닌게, 컴파일러가 변수 'a' 의 값이 항상 0이 아니라고 증명할 수 |
| 702 | 있다면, 앞의 예에서 "if" 문을 없애서 다음과 같이 최적화 할 수도 있습니다: | 707 | 있다면, 앞의 예에서 "if" 문을 없애서 다음과 같이 최적화 할 수도 있습니다: |
| 703 | 708 | ||
| 704 | q = a; | 709 | q = a; |
| 705 | b = p; /* BUG: Compiler and CPU can both reorder!!! */ | 710 | b = 1; /* BUG: Compiler and CPU can both reorder!!! */ |
| 706 | 711 | ||
| 707 | 그러니 READ_ONCE() 를 반드시 사용하세요. | 712 | 그러니 READ_ONCE() 를 반드시 사용하세요. |
| 708 | 713 | ||
| @@ -712,11 +717,11 @@ CPU 는 b 로부터의 로드 오퍼레이션이 a 로부터의 로드 오퍼레 | |||
| 712 | q = READ_ONCE(a); | 717 | q = READ_ONCE(a); |
| 713 | if (q) { | 718 | if (q) { |
| 714 | barrier(); | 719 | barrier(); |
| 715 | WRITE_ONCE(b, p); | 720 | WRITE_ONCE(b, 1); |
| 716 | do_something(); | 721 | do_something(); |
| 717 | } else { | 722 | } else { |
| 718 | barrier(); | 723 | barrier(); |
| 719 | WRITE_ONCE(b, p); | 724 | WRITE_ONCE(b, 1); |
| 720 | do_something_else(); | 725 | do_something_else(); |
| 721 | } | 726 | } |
| 722 | 727 | ||
| @@ -725,12 +730,12 @@ CPU 는 b 로부터의 로드 오퍼레이션이 a 로부터의 로드 오퍼레 | |||
| 725 | 730 | ||
| 726 | q = READ_ONCE(a); | 731 | q = READ_ONCE(a); |
| 727 | barrier(); | 732 | barrier(); |
| 728 | WRITE_ONCE(b, p); /* BUG: No ordering vs. load from a!!! */ | 733 | WRITE_ONCE(b, 1); /* BUG: No ordering vs. load from a!!! */ |
| 729 | if (q) { | 734 | if (q) { |
| 730 | /* WRITE_ONCE(b, p); -- moved up, BUG!!! */ | 735 | /* WRITE_ONCE(b, 1); -- moved up, BUG!!! */ |
| 731 | do_something(); | 736 | do_something(); |
| 732 | } else { | 737 | } else { |
| 733 | /* WRITE_ONCE(b, p); -- moved up, BUG!!! */ | 738 | /* WRITE_ONCE(b, 1); -- moved up, BUG!!! */ |
| 734 | do_something_else(); | 739 | do_something_else(); |
| 735 | } | 740 | } |
| 736 | 741 | ||
| @@ -742,10 +747,10 @@ CPU 는 b 로부터의 로드 오퍼레이션이 a 로부터의 로드 오퍼레 | |||
| 742 | 747 | ||
| 743 | q = READ_ONCE(a); | 748 | q = READ_ONCE(a); | <
