* [PATCH 2/6] Documentation: add devicetree docs index file
[not found] <20110315134316.465b6e2c.rdunlap@xenotime.net>
@ 2011-03-15 23:11 ` Randy Dunlap
2011-03-15 23:11 ` [PATCH 3/6] Documentation: update header filename in CodingStyle Randy Dunlap
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Randy Dunlap @ 2011-03-15 23:11 UTC (permalink / raw)
To: lkml; +Cc: torvalds, Rob Landley, grant.likely
From: Rob Landley <rlandley@parallels.com>
The device tree infrastructure is being genericized so its documentation moved
out of the PowerPC directory.
Signed-off-by: Rob Landley <rlandley@parallels.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
Documentation/devicetree/00-INDEX | 10 ++++++++++
Documentation/powerpc/00-INDEX | 4 ----
2 files changed, 10 insertions(+), 4 deletions(-)
--- /dev/null
+++ lnx-2638-rc8/Documentation/devicetree/00-INDEX
@@ -0,0 +1,10 @@
+Documentation for device trees, a data structure by which bootloaders pass
+hardware layout to Linux in a device-independent manner, simplifying hardware
+probing. This subsystem is maintained by Grant Likely
+<grant.likely@secretlab.ca> and has a mailing list at
+https://lists.ozlabs.org/listinfo/devicetree-discuss
+
+00-INDEX
+ - this file
+booting-without-of.txt
+ - Booting Linux without Open Firmware, describes history and format of device trees.
--- lnx-2638-rc8.orig/Documentation/powerpc/00-INDEX
+++ lnx-2638-rc8/Documentation/powerpc/00-INDEX
@@ -5,8 +5,6 @@ please mail me.
00-INDEX
- this file
-booting-without-of.txt
- - Booting the Linux/ppc kernel without Open Firmware
cpu_features.txt
- info on how we support a variety of CPUs with minimal compile-time
options.
@@ -16,8 +14,6 @@ hvcs.txt
- IBM "Hypervisor Virtual Console Server" Installation Guide
mpc52xx.txt
- Linux 2.6.x on MPC52xx family
-mpc52xx-device-tree-bindings.txt
- - MPC5200 Device Tree Bindings
sound.txt
- info on sound support under Linux/PPC
zImage_layout.txt
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3/6] Documentation: update header filename in CodingStyle
[not found] <20110315134316.465b6e2c.rdunlap@xenotime.net>
2011-03-15 23:11 ` [PATCH 2/6] Documentation: add devicetree docs index file Randy Dunlap
@ 2011-03-15 23:11 ` Randy Dunlap
2011-03-16 5:13 ` Harry Wei
2011-03-15 23:12 ` [PATCH 4/6] Documentation: file handles are now freed Randy Dunlap
` (2 subsequent siblings)
4 siblings, 1 reply; 7+ messages in thread
From: Randy Dunlap @ 2011-03-15 23:11 UTC (permalink / raw)
To: lkml; +Cc: torvalds, Roland Kammerer
From: Roland Kammerer <dev.rck@gmail.com>
pr_info() and pr_debug() are in linux/printk.h, not linux/kernel.h.
Last updated is unnecessary, we have git for that.
Signed-off-by: Roland Kammerer <dev.rck@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
Documentation/CodingStyle | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
--- lnx-2638-rc8.orig/Documentation/CodingStyle
+++ lnx-2638-rc8/Documentation/CodingStyle
@@ -659,7 +659,7 @@ There are a number of driver model diagn
which you should use to make sure messages are matched to the right device
and driver, and are tagged with the right level: dev_err(), dev_warn(),
dev_info(), and so forth. For messages that aren't associated with a
-particular device, <linux/kernel.h> defines pr_debug() and pr_info().
+particular device, <linux/printk.h> defines pr_debug() and pr_info().
Coming up with good debugging messages can be quite a challenge; and once
you have them, they can be a huge help for remote troubleshooting. Such
@@ -819,6 +819,3 @@ language C, URL: http://www.open-std.org
Kernel CodingStyle, by greg@kroah.com at OLS 2002:
http://www.kroah.com/linux/talks/ols_2002_kernel_codingstyle_talk/html/
---
-Last updated on 2007-July-13.
-
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 4/6] Documentation: file handles are now freed
[not found] <20110315134316.465b6e2c.rdunlap@xenotime.net>
2011-03-15 23:11 ` [PATCH 2/6] Documentation: add devicetree docs index file Randy Dunlap
2011-03-15 23:11 ` [PATCH 3/6] Documentation: update header filename in CodingStyle Randy Dunlap
@ 2011-03-15 23:12 ` Randy Dunlap
2011-03-15 23:12 ` [PATCH 5/6] Documentation: update cgroup pid and cpuset information Randy Dunlap
2011-03-15 23:12 ` [PATCH 6/6] sched.c: fix kernel-doc for runqueue_is_locked() Randy Dunlap
4 siblings, 0 replies; 7+ messages in thread
From: Randy Dunlap @ 2011-03-15 23:12 UTC (permalink / raw)
To: lkml; +Cc: torvalds, Federica Teodori, Rik van Riel
From: Federica Teodori <federica.teodori@googlemail.com>
Since file handles are freed, a little amendment to the documentation
Signed-off-by: Federica Teodori <federica.teodori@googlemail.com>
Acked-by: Rik van Riel<riel@redhat.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
Documentation/sysctl/fs.txt | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
--- lnx-2638-rc8.orig/Documentation/sysctl/fs.txt
+++ lnx-2638-rc8/Documentation/sysctl/fs.txt
@@ -88,20 +88,19 @@ you might want to raise the limit.
file-max & file-nr:
-The kernel allocates file handles dynamically, but as yet it
-doesn't free them again.
-
The value in file-max denotes the maximum number of file-
handles that the Linux kernel will allocate. When you get lots
of error messages about running out of file handles, you might
want to increase this limit.
-Historically, the three values in file-nr denoted the number of
-allocated file handles, the number of allocated but unused file
-handles, and the maximum number of file handles. Linux 2.6 always
-reports 0 as the number of free file handles -- this is not an
-error, it just means that the number of allocated file handles
-exactly matches the number of used file handles.
+Historically,the kernel was able to allocate file handles
+dynamically, but not to free them again. The three values in
+file-nr denote the number of allocated file handles, the number
+of allocated but unused file handles, and the maximum number of
+file handles. Linux 2.6 always reports 0 as the number of free
+file handles -- this is not an error, it just means that the
+number of allocated file handles exactly matches the number of
+used file handles.
Attempts to allocate more file descriptors than file-max are
reported with printk, look for "VFS: file-max limit <number>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 5/6] Documentation: update cgroup pid and cpuset information
[not found] <20110315134316.465b6e2c.rdunlap@xenotime.net>
` (2 preceding siblings ...)
2011-03-15 23:12 ` [PATCH 4/6] Documentation: file handles are now freed Randy Dunlap
@ 2011-03-15 23:12 ` Randy Dunlap
2011-03-15 23:12 ` [PATCH 6/6] sched.c: fix kernel-doc for runqueue_is_locked() Randy Dunlap
4 siblings, 0 replies; 7+ messages in thread
From: Randy Dunlap @ 2011-03-15 23:12 UTC (permalink / raw)
To: lkml; +Cc: torvalds, Eric B Munson, Paul Menage
From: Eric B Munson <emunson@mgebm.net>
The cgroup documentation does not specify how a process can be removed from a
particular group. This patch adds a note at the end of the simple example
about how this is done. Also, some cgroups (like cpusets) require user input
before a new group can be used. This is noted in the patch as well.
Signed-off-by: Eric B Munson <emunson@mgebm.net>
Acked-by: Paul Menage <menage@google.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
Changes from V1:
Rework the note about removing a process from a cgroup
Add note about ns cgroup causing failure when moving processes between groups
Documentation/cgroups/cgroups.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)
--- lnx-2638-rc8.orig/Documentation/cgroups/cgroups.txt
+++ lnx-2638-rc8/Documentation/cgroups/cgroups.txt
@@ -349,6 +349,10 @@ To mount a cgroup hierarchy with all ava
The "xxx" is not interpreted by the cgroup code, but will appear in
/proc/mounts so may be any useful identifying string that you like.
+Note: Some subsystems do not work without some user input first. For instance,
+if cpusets are enabled the user will have to populate the cpus and mems files
+for each new cgroup created before that group can be used.
+
To mount a cgroup hierarchy with just the cpuset and memory
subsystems, type:
# mount -t cgroup -o cpuset,memory hier1 /dev/cgroup
@@ -426,6 +430,14 @@ You can attach the current shell task by
# echo 0 > tasks
+Note: Since every task is always a member of exactly one cgroup in each
+mounted hierarchy, to remove a task from its current cgroup you must
+move it into a new cgroup (possibly the root cgroup) by writing to the
+new cgroup's tasks file.
+
+Note: If the ns cgroup is active, moving a process to another cgroup can
+fail.
+
2.3 Mounting hierarchies by name
--------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 6/6] sched.c: fix kernel-doc for runqueue_is_locked()
[not found] <20110315134316.465b6e2c.rdunlap@xenotime.net>
` (3 preceding siblings ...)
2011-03-15 23:12 ` [PATCH 5/6] Documentation: update cgroup pid and cpuset information Randy Dunlap
@ 2011-03-15 23:12 ` Randy Dunlap
2011-03-16 13:56 ` [tip:sched/urgent] sched, kernel-doc: Fix runqueue_is_locked() description tip-bot for Randy Dunlap
4 siblings, 1 reply; 7+ messages in thread
From: Randy Dunlap @ 2011-03-15 23:12 UTC (permalink / raw)
To: lkml; +Cc: torvalds, Ingo Molnar
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix kernel-doc warning for runqueue_is_locked():
Warning(kernel/sched.c:664): missing initial short description on line:
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Ingo Molnar <mingo@elte.hu>
---
kernel/sched.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- lnx-2638-rc8.orig/kernel/sched.c
+++ lnx-2638-rc8/kernel/sched.c
@@ -664,10 +664,9 @@ static void update_rq_clock(struct rq *r
#endif
/**
- * runqueue_is_locked
+ * runqueue_is_locked - Returns true if the current cpu runqueue is locked
* @cpu: the processor in question.
*
- * Returns true if the current cpu runqueue is locked.
* This interface allows printk to be called with the runqueue lock
* held and know whether or not it is OK to wake up the klogd.
*/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 3/6] Documentation: update header filename in CodingStyle
2011-03-15 23:11 ` [PATCH 3/6] Documentation: update header filename in CodingStyle Randy Dunlap
@ 2011-03-16 5:13 ` Harry Wei
0 siblings, 0 replies; 7+ messages in thread
From: Harry Wei @ 2011-03-16 5:13 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-kernel, dev.rck, torvalds
On Tue, Mar 15, 2011 at 04:11:52PM -0700, Randy Dunlap wrote:
> From: Roland Kammerer <dev.rck@gmail.com>
>
> pr_info() and pr_debug() are in linux/printk.h, not linux/kernel.h.
> Last updated is unnecessary, we have git for that.
>
> Signed-off-by: Roland Kammerer <dev.rck@gmail.com>
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Harry Wei <harryxiyou@gmail.com>
> ---
> Documentation/CodingStyle | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> --- lnx-2638-rc8.orig/Documentation/CodingStyle
> +++ lnx-2638-rc8/Documentation/CodingStyle
> @@ -659,7 +659,7 @@ There are a number of driver model diagn
> which you should use to make sure messages are matched to the right device
> and driver, and are tagged with the right level: dev_err(), dev_warn(),
> dev_info(), and so forth. For messages that aren't associated with a
> -particular device, <linux/kernel.h> defines pr_debug() and pr_info().
> +particular device, <linux/printk.h> defines pr_debug() and pr_info().
>
> Coming up with good debugging messages can be quite a challenge; and once
> you have them, they can be a huge help for remote troubleshooting. Such
> @@ -819,6 +819,3 @@ language C, URL: http://www.open-std.org
> Kernel CodingStyle, by greg@kroah.com at OLS 2002:
> http://www.kroah.com/linux/talks/ols_2002_kernel_codingstyle_talk/html/
>
> ---
> -Last updated on 2007-July-13.
> -
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* [tip:sched/urgent] sched, kernel-doc: Fix runqueue_is_locked() description
2011-03-15 23:12 ` [PATCH 6/6] sched.c: fix kernel-doc for runqueue_is_locked() Randy Dunlap
@ 2011-03-16 13:56 ` tip-bot for Randy Dunlap
0 siblings, 0 replies; 7+ messages in thread
From: tip-bot for Randy Dunlap @ 2011-03-16 13:56 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, torvalds, tglx, randy.dunlap, mingo
Commit-ID: 58cbe2476abce8b5e3508d23bd05c2e2e8c394da
Gitweb: http://git.kernel.org/tip/58cbe2476abce8b5e3508d23bd05c2e2e8c394da
Author: Randy Dunlap <randy.dunlap@oracle.com>
AuthorDate: Tue, 15 Mar 2011 16:12:30 -0700
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Wed, 16 Mar 2011 14:00:23 +0100
sched, kernel-doc: Fix runqueue_is_locked() description
Fix kernel-doc warning for runqueue_is_locked():
Warning(kernel/sched.c:664): missing initial short description
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
LKML-Reference: <20110315161230.c4e1e8e3.rdunlap@xenotime.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
kernel/sched.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/kernel/sched.c b/kernel/sched.c
index c8e40b7..58d66ea 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -661,10 +661,9 @@ static void update_rq_clock(struct rq *rq)
#endif
/**
- * runqueue_is_locked
+ * runqueue_is_locked - Returns true if the current cpu runqueue is locked
* @cpu: the processor in question.
*
- * Returns true if the current cpu runqueue is locked.
* This interface allows printk to be called with the runqueue lock
* held and know whether or not it is OK to wake up the klogd.
*/
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-03-16 13:57 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20110315134316.465b6e2c.rdunlap@xenotime.net>
2011-03-15 23:11 ` [PATCH 2/6] Documentation: add devicetree docs index file Randy Dunlap
2011-03-15 23:11 ` [PATCH 3/6] Documentation: update header filename in CodingStyle Randy Dunlap
2011-03-16 5:13 ` Harry Wei
2011-03-15 23:12 ` [PATCH 4/6] Documentation: file handles are now freed Randy Dunlap
2011-03-15 23:12 ` [PATCH 5/6] Documentation: update cgroup pid and cpuset information Randy Dunlap
2011-03-15 23:12 ` [PATCH 6/6] sched.c: fix kernel-doc for runqueue_is_locked() Randy Dunlap
2011-03-16 13:56 ` [tip:sched/urgent] sched, kernel-doc: Fix runqueue_is_locked() description tip-bot for Randy Dunlap
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.