All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: wharms-fPG8STNUNVg@public.gmane.org,
	Elie De Brauwer
	<eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 2/2] pipe.7: Add reference that the pipe capacity can be changed.
Date: Mon, 07 Jul 2014 14:35:54 +0200	[thread overview]
Message-ID: <53BA942A.3010807@gmail.com> (raw)
In-Reply-To: <53BA8ACA.700-fPG8STNUNVg@public.gmane.org>

On 07/07/2014 01:55 PM, walter harms wrote:
> 
> 
> Am 06.07.2014 15:44, schrieb Elie De Brauwer:
>> In fcntl(2) F_SETPIPE_SZ, F_GETPIPE_SZ and /proc/sys/fs/pipe-max-size are
>> defined, however pipe(7) still defines the pipe capacity as being a static
>> entity. Adding a reference to fcntl(2).
>>
>> Signed-off-by: Elie De Brauwer <eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>> ---
>>  man7/pipe.7 | 10 ++++++++++
>>  1 file changed, 10 insertions(+)
>>
>> diff --git a/man7/pipe.7 b/man7/pipe.7
>> index 78d1cea..64a6761 100644
>> --- a/man7/pipe.7
>> +++ b/man7/pipe.7
>> @@ -133,6 +133,16 @@ so that a writing process does not remain blocked.
>>  In Linux versions before 2.6.11, the capacity of a pipe was the same as
>>  the system page size (e.g., 4096 bytes on i386).
>>  Since Linux 2.6.11, the pipe capacity is 65536 bytes.
>> +Since Linux 2.6.35, the pipe capacity can be queried and set using the
>> +.BR fcntl (2)
>> +.BR F_GETPIPE_SZ
>> +and
>> +.BR F_SETPIPE_SZ
>> +operations.
>> +See
>> +.BR fcntl (2)
>> +for more information.
>> +
> 
> Could to add a line like:
> "the default pipe capacity is still 65536 bytes." ? (or what ever)

Yup, seems worthwhile. Added. Thanks, Walter.

Cheers,

Michael
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2014-07-07 12:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-06 13:44 [PATCH 0/2] pipe.2 and pipe.7 fixes Elie De Brauwer
     [not found] ` <1404654251-8293-1-git-send-email-eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-07-06 13:44   ` [PATCH 1/2] pipe.2: PIPE_BUF is defined in limits.h Elie De Brauwer
     [not found]     ` <1404654251-8293-2-git-send-email-eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-07-07  6:47       ` Michael Kerrisk (man-pages)
2014-07-06 13:44   ` [PATCH 2/2] pipe.7: Add reference that the pipe capacity can be changed Elie De Brauwer
     [not found]     ` <1404654251-8293-3-git-send-email-eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-07-07  6:49       ` Michael Kerrisk (man-pages)
2014-07-07 11:55       ` walter harms
     [not found]         ` <53BA8ACA.700-fPG8STNUNVg@public.gmane.org>
2014-07-07 12:35           ` Michael Kerrisk (man-pages) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53BA942A.3010807@gmail.com \
    --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=wharms-fPG8STNUNVg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.