Shen Feng | 1 Apr 2009 11:50
Favicon

[PATCH] Update Documentation/filesystem/proc.txt and Documentation/sysctls


Now /proc/sys is described in many places and many informations are
redundant. This patch updates the proc.txt and move the /proc/sys
desciption out to the files in Documentation/sysctls.

Details are:

merge
-  2.1  /proc/sys/fs - File system data
-  2.11 /proc/sys/fs/mqueue - POSIX message queues filesystem
-  2.17 /proc/sys/fs/epoll - Configuration options for the epoll interface
with Documentation/sysctls/fs.txt.

remove
-  2.2  /proc/sys/fs/binfmt_misc - Miscellaneous binary formats
since it's not better then the Documentation/binfmt_misc.txt.

merge
-  2.3  /proc/sys/kernel - general kernel parameters
with Documentation/sysctls/kernel.txt

remove
-  2.5  /proc/sys/dev - Device specific parameters
since it's obsolete the sysfs is used now.

remove
-  2.6  /proc/sys/sunrpc - Remote procedure calls
since it's not better then the Documentation/sysctls/sunrpc.txt

move
(Continue reading)

Henrik Austad | 10 Apr 2009 12:31
Picon
Favicon
Gravatar

[PATCH] Doc: hrtimers.txt was moved a long time ago, update reference.

In 3833eecc183ce052e9ac96b39b45121a2d11ac16 hrtimers.txt was moved from
Documentation/hrtimers into Documentation/timers in order to keep all
timer-related together. A reference to hrtimers in highres.txt refered to
the old location.

Signed-off-by: Henrik Austad <henrik <at> austad.us>
---
 Documentation/timers/highres.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/timers/highres.txt b/Documentation/timers/highres.txt
index 2133223..123a6aa 100644
--- a/Documentation/timers/highres.txt
+++ b/Documentation/timers/highres.txt
 <at>  <at>  -30,7 +30,7  <at>  <at>  hrtimer base infrastructure
 ---------------------------

 The hrtimer base infrastructure was merged into the 2.6.16 kernel. Details of
-the base implementation are covered in Documentation/hrtimers/hrtimer.txt. See
+the base implementation are covered in Documentation/timers/hrtimer.txt. See
 also figure #2 (OLS slides p. 15)

 The main differences to the timer wheel, which holds the armed timer_list type
--

-- 
1.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
(Continue reading)

Henrik Austad | 10 Apr 2009 12:40
Picon
Favicon
Gravatar

[PATCH] Doc: hrtimers.txt was moved a long time ago, update reference.

In 3833eecc183ce052e9ac96b39b45121a2d11ac16 hrtimers.txt was moved from
Documentation/hrtimers into Documentation/timers in order to keep all
timer-related together. The reference to hrtimers in highres.txt was not updated 
however, and still pointed to the old directory.

Signed-off-by: Henrik Austad <henrik <at> austad.us>
---
 Documentation/timers/highres.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/timers/highres.txt b/Documentation/timers/highres.txt
index 2133223..e878997 100644
--- a/Documentation/timers/highres.txt
+++ b/Documentation/timers/highres.txt
 <at>  <at>  -30,7 +30,7  <at>  <at>  hrtimer base infrastructure
 ---------------------------

 The hrtimer base infrastructure was merged into the 2.6.16 kernel. Details of
-the base implementation are covered in Documentation/hrtimers/hrtimer.txt. See
+the base implementation are covered in Documentation/timers/hrtimers.txt. See
 also figure #2 (OLS slides p. 15)

 The main differences to the timer wheel, which holds the armed timer_list type
--

-- 
1.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
(Continue reading)

Henrik Austad | 10 Apr 2009 12:52
Picon
Favicon
Gravatar

Re: [PATCH] Doc: hrtimers.txt was moved a long time ago, update reference.

Sorry for the double patch. The first one is wrong as I realised, just as I hit 
<enter>, that the filename was also wrong. This patch corrects that as well (and 
I've actually tested the path to make sure I don't do the same mistake again).

On Fri, Apr 10, 2009 at 12:40:30PM +0200, Henrik Austad wrote:
> In 3833eecc183ce052e9ac96b39b45121a2d11ac16 hrtimers.txt was moved from
> Documentation/hrtimers into Documentation/timers in order to keep all
> timer-related together. The reference to hrtimers in highres.txt was not updated 
> however, and still pointed to the old directory.
> 
> Signed-off-by: Henrik Austad <henrik <at> austad.us>
> ---
>  Documentation/timers/highres.txt |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/Documentation/timers/highres.txt b/Documentation/timers/highres.txt
> index 2133223..e878997 100644
> --- a/Documentation/timers/highres.txt
> +++ b/Documentation/timers/highres.txt
>  <at>  <at>  -30,7 +30,7  <at>  <at>  hrtimer base infrastructure
>  ---------------------------
>  
>  The hrtimer base infrastructure was merged into the 2.6.16 kernel. Details of
> -the base implementation are covered in Documentation/hrtimers/hrtimer.txt. See
> +the base implementation are covered in Documentation/timers/hrtimers.txt. See
                                                               ^^^^^^^^^^^^
                                                 this time, also with plural :-)

>  also figure #2 (OLS slides p. 15)
>  
(Continue reading)

Robin Getz | 10 Apr 2009 17:53
Favicon

[PATCH 01/01] - Add IRQF_SAMPLE_RANDOM to the feature-removal-schedule.txt (deprecated) list


This adds IRQF_SAMPLE_RANDOM to the feature-removal (deprecated) list since 
most of the IRQF_SAMPLE_RANDOM users are technically bogus as entropy sources 
in the kernel's current entropy model.

Signed-off-by: Robin Getz <rgetz <at> blackfin.uclinux.org>

---

This was discussed on the lkml the past few days, which started here:
http://lkml.org/lkml/2009/4/6/283

 Documentation/feature-removal-schedule.txt2 |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

--- Documentation/feature-removal-schedule.txt	
+++ Documentation/feature-removal-schedule.txt
 <at>  <at>  -6,6 +6,20  <at>  <at> 

 ---------------------------

+What:	IRQF_SAMPLE_RANDOM
+Check:	IRQF_SAMPLE_RANDOM
+When:	July 2009
+
+Why:	Many of IRQF_SAMPLE_RANDOM users are technically bogus as entropy
+	sources in the kernel's current entropy model. To resolve this, every
+	input point to the kernel's entropy pool needs to better document the
+	type of entropy source it actually is. This will be replaced with
+	additional add_*_randomness functions in drivers/char/random.c
(Continue reading)

Randy Dunlap | 10 Apr 2009 22:35
Picon
Favicon

[PATCH?] docbook: make cleandocs

Hi Sam,

"make clean" cleans DocBook generated files, but I would like a way to
clean _only_ those generated files.  Something like the patch below,
except that it doesn't work.  :(

Can you give me ideas of how to fix it, please?

Thanks,
---
~Randy

From: Randy Dunlap <randy.dunlap <at> oracle.com>

Add a 'make cleandocs' target to clean up all generated
DocBook files.

Signed-off-by: Randy Dunlap <randy.dunlap <at> oracle.com>
---
 Documentation/DocBook/Makefile |   15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

--- linux-2.6.30-rc1-git3.orig/Documentation/DocBook/Makefile
+++ linux-2.6.30-rc1-git3/Documentation/DocBook/Makefile
 <at>  <at>  -31,7 +31,7  <at>  <at>  PS_METHOD	= $(prefer-db2x)

 ###
 # The targets that may be used.
-PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs
+PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs
(Continue reading)

Sam Ravnborg | 10 Apr 2009 22:49
Gravatar

Re: [PATCH?] docbook: make cleandocs

On Fri, Apr 10, 2009 at 01:35:38PM -0700, Randy Dunlap wrote:
> Hi Sam,
> 
> "make clean" cleans DocBook generated files, but I would like a way to
> clean _only_ those generated files.  Something like the patch below,
> except that it doesn't work.  :(
> 
> Can you give me ideas of how to fix it, please?
> 
> Thanks,
> ---
> ~Randy
> 
> 
> 
> 
> From: Randy Dunlap <randy.dunlap <at> oracle.com>
> 
> Add a 'make cleandocs' target to clean up all generated
> DocBook files.
> 
> Signed-off-by: Randy Dunlap <randy.dunlap <at> oracle.com>
> ---
>  Documentation/DocBook/Makefile |   15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)
> 
> --- linux-2.6.30-rc1-git3.orig/Documentation/DocBook/Makefile
> +++ linux-2.6.30-rc1-git3/Documentation/DocBook/Makefile
>  <at>  <at>  -31,7 +31,7  <at>  <at>  PS_METHOD	= $(prefer-db2x)
>  
(Continue reading)

Randy Dunlap | 10 Apr 2009 23:20
Picon
Favicon

[PATCH v2] docbook: make cleandocs

From: Randy Dunlap <randy.dunlap <at> oracle.com>

Add a 'make cleandocs' target to clean up all generated
DocBook files.

Signed-off-by: Randy Dunlap <randy.dunlap <at> oracle.com>
---
 Documentation/DocBook/Makefile |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

--- linux-2.6.30-rc1-git3.orig/Documentation/DocBook/Makefile
+++ linux-2.6.30-rc1-git3/Documentation/DocBook/Makefile
 <at>  <at>  -31,7 +31,7  <at>  <at>  PS_METHOD	= $(prefer-db2x)

 ###
 # The targets that may be used.
-PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs
+PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs

 BOOKS := $(addprefix $(obj)/,$(DOCBOOKS))
 xmldocs: $(BOOKS)
 <at>  <at>  -213,11 +213,12  <at>  <at>  silent_gen_xml = :
 dochelp:
 	 <at> echo  ' Linux kernel internal documentation in different formats:'
 	 <at> echo  '  htmldocs        - HTML'
-	 <at> echo  '  installmandocs  - install man pages generated by mandocs'
-	 <at> echo  '  mandocs         - man pages'
 	 <at> echo  '  pdfdocs         - PDF'
 	 <at> echo  '  psdocs          - Postscript'
 	 <at> echo  '  xmldocs         - XML DocBook'
(Continue reading)

Sam Ravnborg | 11 Apr 2009 00:42
Gravatar

Re: [PATCH v2] docbook: make cleandocs

On Fri, Apr 10, 2009 at 02:20:54PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap <at> oracle.com>
> 
> Add a 'make cleandocs' target to clean up all generated
> DocBook files.

Applied,
	Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

figo.zhang | 17 Apr 2009 05:37

[PATCH]Documentation/rbtree.txt: cleanup kerneldoc of rbtree.txt

 The first formal parameter of the rb_link_node() is a pointer, and the
 "node" is define a data struct (pls see line 67 and line 73 in the
 doc), so the actual parameter should use "&data->node".

Signed-off-by: Figo.zhang <figo.zhang <at> kolorific.com>
---
 Documentation/rbtree.txt |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/rbtree.txt b/Documentation/rbtree.txt
index 7224459..7710214 100644
--- a/Documentation/rbtree.txt
+++ b/Documentation/rbtree.txt
 <at>  <at>  -131,8 +131,8  <at>  <at>  Example:
   	}

   	/* Add new node and rebalance tree. */
-  	rb_link_node(data->node, parent, new);
-  	rb_insert_color(data->node, root);
+  	rb_link_node(&data->node, parent, new);
+  	rb_insert_color(&data->node, root);

 	return TRUE;
   }
 <at>  <at>  -146,10 +146,10  <at>  <at>  To remove an existing node from a tree, call:

 Example:

-  struct mytype *data = mysearch(mytree, "walrus");
+  struct mytype *data = mysearch(&mytree, "walrus");
(Continue reading)


Gmane