Re: [RFC v7][PATCH 6/9] Checkpoint/restart: initial documentation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Kerrisk
Date: Tuesday, October 28, 2008 - 9:48 am

Oren,

Some comments/suggested fixes below.

On Mon, Oct 20, 2008 at 12:40 AM, Oren Laadan <orenl@cs.columbia.edu> wrote:

Extraneous word "an"?


s/off of/off/


s/relative/relatively/


Extraneous word "and"


I seem to recall Andrew M. mentioning something about this.  Could you
add a bit of text here to explain why "pid" is not always "1".


Should be 0, or must be 0?  IMO, the text should be the latter.  And
the code should check that -- does it?


Can you add some more text here to describe the what this "positive
integer" is.  E..g., how is it generated, and what does it refer to
(an address, a file descriptor, something else).

Looking further down, it seems that this is the "crid", but you could
make that clearer already here.


See above -- that "crid" is the thing returned by checkpoint(), right?
 Make that clearer here.


Again... Should be 0, or must be 0?  IMO, the text should be the
latter.  And the code should check that -- does it?


s/is as following/is as follows/


consisting


s/'type' field/'type'/
or
s/'type' field/the 'type' field/


add "field" after 'parent'


Missing ' (single quote)


s/Following comes/Following that are/

s/chunk/chunks/


s/a the/the/


It really would be more readable if you simplified the shell prompt to
just "$ " or "sh$ " or "bash$".  Future generations do not need to
know where you tested this code, or your username ;-).

[...]

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC v7][PATCH 0/9] Kernel based checkpoint/restart, Oren Laadan, (Sun Oct 19, 10:40 pm)
[RFC v7][PATCH 3/9] x86 support for checkpoint/restart, Oren Laadan, (Sun Oct 19, 10:40 pm)
[RFC v7][PATCH 4/9] Dump memory address space, Oren Laadan, (Sun Oct 19, 10:40 pm)
[RFC v7][PATCH 5/9] Restore memory address space, Oren Laadan, (Sun Oct 19, 10:40 pm)
[RFC v7][PATCH 7/9] Infrastructure for shared objects, Oren Laadan, (Sun Oct 19, 10:40 pm)
[RFC v7][PATCH 8/9] Dump open file descriptors, Oren Laadan, (Sun Oct 19, 10:40 pm)
[RFC v7][PATCH 9/9] Restore open file descriprtors, Oren Laadan, (Sun Oct 19, 10:40 pm)
Re: [RFC v7][PATCH 0/9] Kernel based checkpoint/restart, Andrew Morton, (Tue Oct 21, 12:21 pm)
Re: [RFC v7][PATCH 2/9] General infrastructure for checkpo ..., Daniel Jacobowitz, (Tue Oct 21, 7:55 pm)
Re: [RFC v7][PATCH 0/9] Kernel based checkpoint/restart, Daniel Lezcano, (Wed Oct 22, 4:51 am)
Re: [RFC v7][PATCH 2/9] General infrastructure for checkpo ..., Daniel Jacobowitz, (Wed Oct 22, 7:29 am)
Re: [RFC v7][PATCH 6/9] Checkpoint/restart: initial docume ..., Michael Kerrisk, (Tue Oct 28, 9:48 am)