Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118948
b: refs/heads/master
c: 278afcb
h: refs/heads/master
v: v3
  • Loading branch information
David Teigland committed Nov 13, 2008
1 parent 9b6d72a commit cf0349d
Show file tree
Hide file tree
Showing 101 changed files with 277 additions and 7,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: 2d1595ad8766c9cbab81d259168c00261d382ac5
refs/heads/master: 278afcbf4fe964230eba67f8fb8235e8b7e63ffb
2 changes: 0 additions & 2 deletions trunk/Documentation/00-INDEX
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,6 @@ powerpc/
- directory with info on using Linux with the PowerPC.
preempt-locking.txt
- info on locking under a preemptive kernel.
printk-formats.txt
- how to get printk format specifiers right
prio_tree.txt
- info on radix-priority-search-tree use for indexing vmas.
ramdisk.txt
Expand Down
88 changes: 0 additions & 88 deletions trunk/Documentation/ABI/testing/sysfs-c2port

This file was deleted.

90 changes: 0 additions & 90 deletions trunk/Documentation/c2port.txt

This file was deleted.

21 changes: 9 additions & 12 deletions trunk/Documentation/cgroups/freezer-subsystem.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
The cgroup freezer is useful to batch job management system which start
The cgroup freezer is useful to batch job management system which start
and stop sets of tasks in order to schedule the resources of a machine
according to the desires of a system administrator. This sort of program
is often used on HPC clusters to schedule access to the cluster as a
whole. The cgroup freezer uses cgroups to describe the set of tasks to
be started/stopped by the batch job management system. It also provides
a means to start and stop the tasks composing the job.

The cgroup freezer will also be useful for checkpointing running groups
The cgroup freezer will also be useful for checkpointing running groups
of tasks. The freezer allows the checkpoint code to obtain a consistent
image of the tasks by attempting to force the tasks in a cgroup into a
quiescent state. Once the tasks are quiescent another task can
Expand All @@ -16,7 +16,7 @@ recoverable error occur. This also allows the checkpointed tasks to be
migrated between nodes in a cluster by copying the gathered information
to another node and restarting the tasks there.

Sequences of SIGSTOP and SIGCONT are not always sufficient for stopping
Sequences of SIGSTOP and SIGCONT are not always sufficient for stopping
and resuming tasks in userspace. Both of these signals are observable
from within the tasks we wish to freeze. While SIGSTOP cannot be caught,
blocked, or ignored it can be seen by waiting or ptracing parent tasks.
Expand All @@ -37,29 +37,26 @@ demonstrate this problem using nested bash shells:

<at this point 16990 exits and causes 16644 to exit too>

This happens because bash can observe both signals and choose how it
This happens because bash can observe both signals and choose how it
responds to them.

Another example of a program which catches and responds to these
Another example of a program which catches and responds to these
signals is gdb. In fact any program designed to use ptrace is likely to
have a problem with this method of stopping and resuming tasks.

In contrast, the cgroup freezer uses the kernel freezer code to
In contrast, the cgroup freezer uses the kernel freezer code to
prevent the freeze/unfreeze cycle from becoming visible to the tasks
being frozen. This allows the bash example above and gdb to run as
expected.

The freezer subsystem in the container filesystem defines a file named
The freezer subsystem in the container filesystem defines a file named
freezer.state. Writing "FROZEN" to the state file will freeze all tasks in the
cgroup. Subsequently writing "THAWED" will unfreeze the tasks in the cgroup.
Reading will return the current state.

Note freezer.state doesn't exist in root cgroup, which means root cgroup
is non-freezable.

* Examples of usage :

# mkdir /containers
# mkdir /containers/freezer
# mount -t cgroup -ofreezer freezer /containers
# mkdir /containers/0
# echo $some_pid > /containers/0/tasks
Expand Down Expand Up @@ -97,6 +94,6 @@ things happens:
the freezer.state file
2) Userspace retries the freezing operation by writing "FROZEN" to
the freezer.state file (writing "FREEZING" is not legal
and returns EINVAL)
and returns EIO)
3) The tasks that blocked the cgroup from entering the "FROZEN"
state disappear from the cgroup's set of tasks.
9 changes: 4 additions & 5 deletions trunk/Documentation/filesystems/xip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@ The block device operation is optional, these block devices support it as of
today:
- dcssblk: s390 dcss block device driver

An address space operation named get_xip_mem is used to retrieve references
to a page frame number and a kernel address. To obtain these values a reference
to an address_space is provided. This function assigns values to the kmem and
pfn parameters. The third argument indicates whether the function should allocate
blocks if needed.
An address space operation named get_xip_page is used to retrieve reference
to a struct page. To address the target page, a reference to an address_space,
and a sector number is provided. A 3rd argument indicates whether the
function should allocate blocks if needed.

This address space operation is mutually exclusive with readpage&writepage that
do page cache read/write operations.
Expand Down
67 changes: 0 additions & 67 deletions trunk/Documentation/hwmon/adt7462

This file was deleted.

49 changes: 0 additions & 49 deletions trunk/Documentation/hwmon/lis3lv02d

This file was deleted.

Loading

0 comments on commit cf0349d

Please sign in to comment.