Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145030
b: refs/heads/master
c: 049ef7e
h: refs/heads/master
v: v3
  • Loading branch information
Keith Packard authored and Eric Anholt committed Apr 30, 2009
1 parent f2863cf commit 8da40a6
Show file tree
Hide file tree
Showing 771 changed files with 9,522 additions and 17,590 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8c21f34126222239450717b78dda0c4962d9ebfa
refs/heads/master: 049ef7e40fc9959db480b2753a1dbe734d98e948
5 changes: 2 additions & 3 deletions trunk/Documentation/DocBook/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ quiet_cmd_db2pdf = PDF $@
$(call cmd,db2pdf)


index = index.html
main_idx = Documentation/DocBook/$(index)
main_idx = Documentation/DocBook/index.html
build_main_index = rm -rf $(main_idx) && \
echo '<h1>Linux Kernel HTML Documentation</h1>' >> $(main_idx) && \
echo '<h2>Kernel Version: $(KERNELVERSION)</h2>' >> $(main_idx) && \
Expand Down Expand Up @@ -233,7 +232,7 @@ clean-files := $(DOCBOOKS) \
$(patsubst %.xml, %.pdf, $(DOCBOOKS)) \
$(patsubst %.xml, %.html, $(DOCBOOKS)) \
$(patsubst %.xml, %.9, $(DOCBOOKS)) \
$(C-procfs-example) $(index)
$(C-procfs-example)

clean-dirs := $(patsubst %.xml,%,$(DOCBOOKS)) man

Expand Down
2 changes: 1 addition & 1 deletion trunk/Documentation/DocBook/kgdb.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
seriously wrong while debugging, it will most often be the case
that you want to enable gdb to be verbose about its target
communications. You do this prior to issuing the <constant>target
remote</constant> command by typing in: <constant>set debug remote 1</constant>
remote</constant> command by typing in: <constant>set remote debug 1</constant>
</para>
</chapter>
<chapter id="KGDBTestSuite">
Expand Down
24 changes: 8 additions & 16 deletions trunk/Documentation/filesystems/Locking
Original file line number Diff line number Diff line change
Expand Up @@ -512,24 +512,16 @@ locking rules:
BKL mmap_sem PageLocked(page)
open: no yes
close: no yes
fault: no yes can return with page locked
page_mkwrite: no yes can return with page locked
fault: no yes
page_mkwrite: no yes no
access: no yes

->fault() is called when a previously not present pte is about
to be faulted in. The filesystem must find and return the page associated
with the passed in "pgoff" in the vm_fault structure. If it is possible that
the page may be truncated and/or invalidated, then the filesystem must lock
the page, then ensure it is not already truncated (the page lock will block
subsequent truncate), and then return with VM_FAULT_LOCKED, and the page
locked. The VM will unlock the page.

->page_mkwrite() is called when a previously read-only pte is
about to become writeable. The filesystem again must ensure that there are
no truncate/invalidate races, and then return with the page locked. If
the page has been truncated, the filesystem should not look up a new page
like the ->fault() handler, but simply return with VM_FAULT_NOPAGE, which
will cause the VM to retry the fault.
->page_mkwrite() is called when a previously read-only page is
about to become writeable. The file system is responsible for
protecting against truncate races. Once appropriate action has been
taking to lock out truncate, the page range should be verified to be
within i_size. The page mapping should also be checked that it is not
NULL.

->access() is called when get_user_pages() fails in
acces_process_vm(), typically used to debug a process through
Expand Down
65 changes: 0 additions & 65 deletions trunk/Documentation/input/bcm5974.txt

This file was deleted.

140 changes: 0 additions & 140 deletions trunk/Documentation/input/multi-touch-protocol.txt

This file was deleted.

7 changes: 2 additions & 5 deletions trunk/Documentation/kernel-doc-nano-HOWTO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,7 @@ Use the argument mechanism to document members or constants.

Inside a struct description, you can use the "private:" and "public:"
comment tags. Structure fields that are inside a "private:" area
are not listed in the generated output documentation. The "private:"
and "public:" tags must begin immediately following a "/*" comment
marker. They may optionally include comments between the ":" and the
ending "*/" marker.
are not listed in the generated output documentation.

Example:

Expand All @@ -286,7 +283,7 @@ Example:
struct my_struct {
int a;
int b;
/* private: internal use only */
/* private: */
int c;
};

Expand Down
12 changes: 3 additions & 9 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ are specified on the kernel command line with the module name plus

usbcore.blinkenlights=1

Hyphens (dashes) and underscores are equivalent in parameter names, so
log_buf_len=1M print-fatal-signals=1
can also be entered as
log-buf-len=1M print_fatal_signals=1


This document may not be entirely up to date and comprehensive. The command
"modinfo -p ${modulename}" shows a current list of all parameters of a loadable
module. Loadable modules, after being loaded into the running kernel, also
Expand Down Expand Up @@ -351,7 +345,7 @@ and is between 256 and 4096 characters. It is defined in the file
not play well with APC CPU idle - disable it if you have
APC and your system crashes randomly.

apic= [APIC,X86-32] Advanced Programmable Interrupt Controller
apic= [APIC,i386] Advanced Programmable Interrupt Controller
Change the output verbosity whilst booting
Format: { quiet (default) | verbose | debug }
Change the amount of debugging information output
Expand Down Expand Up @@ -708,7 +702,7 @@ and is between 256 and 4096 characters. It is defined in the file
to discrete, to make X server driver able to add WB
entry later. This parameter enables that.

enable_timer_pin_1 [X86]
enable_timer_pin_1 [i386,x86-64]
Enable PIN 1 of APIC timer
Can be useful to work around chipset bugs
(in particular on some ATI chipsets).
Expand Down Expand Up @@ -781,7 +775,7 @@ and is between 256 and 4096 characters. It is defined in the file

hashdist= [KNL,NUMA] Large hashes allocated during boot
are distributed across NUMA nodes. Defaults on
for 64bit NUMA, off otherwise.
for IA-64, off otherwise.
Format: 0 | 1 (for off | on)

hcl= [IA-64] SGI's Hardware Graph compatibility layer
Expand Down
6 changes: 3 additions & 3 deletions trunk/Documentation/lockdep-design.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ locking error messages, inside curlies. A contrived example:
The bit position indicates STATE, STATE-read, for each of the states listed
above, and the character displayed in each indicates:

'.' acquired while irqs disabled and not in irq context
'-' acquired in irq context
'+' acquired with irqs enabled
'.' acquired while irqs disabled
'+' acquired in irq context
'-' acquired with irqs enabled
'?' acquired in irq context with irqs enabled.

Unused mutexes cannot be part of the cause of an error.
Expand Down
32 changes: 28 additions & 4 deletions trunk/Documentation/sysctl/vm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Currently, these files are in /proc/sys/vm:
- nr_hugepages
- nr_overcommit_hugepages
- nr_pdflush_threads
- nr_pdflush_threads_min
- nr_pdflush_threads_max
- nr_trim_pages (only if CONFIG_MMU=n)
- numa_zonelist_order
- oom_dump_tasks
Expand Down Expand Up @@ -88,10 +90,6 @@ will itself start writeback.
If dirty_bytes is written, dirty_ratio becomes a function of its value
(dirty_bytes / the amount of dirtyable system memory).

Note: the minimum value allowed for dirty_bytes is two pages (in bytes); any
value lower than this limit will be ignored and the old configuration will be
retained.

==============================================================

dirty_expire_centisecs
Expand Down Expand Up @@ -467,6 +465,32 @@ The default value is 0.

==============================================================

nr_pdflush_threads_min

This value controls the minimum number of pdflush threads.

At boot time, the kernel will create and maintain 'nr_pdflush_threads_min'
threads for the kernel's lifetime.

The default value is 2. The minimum value you can specify is 1, and
the maximum value is the current setting of 'nr_pdflush_threads_max'.

See 'nr_pdflush_threads_max' below for more information.

==============================================================

nr_pdflush_threads_max

This value controls the maximum number of pdflush threads that can be
created. The pdflush algorithm will create a new pdflush thread (up to
this maximum) if no pdflush threads have been available for >= 1 second.

The default value is 8. The minimum value you can specify is the
current value of 'nr_pdflush_threads_min' and the
maximum is 1000.

==============================================================

overcommit_memory:

This value contains a flag that enables memory overcommitment.
Expand Down
Loading

0 comments on commit 8da40a6

Please sign in to comment.