Re: [patch] pipe: add support for shrinking and growing pipes

From: Michael Kerrisk
Date: Mon May 24 2010 - 14:16:58 EST


On Mon, May 24, 2010 at 8:12 PM, OGAWA Hirofumi
<hirofumi@xxxxxxxxxxxxxxxxxx> wrote:
> Jens Axboe <jens.axboe@xxxxxxxxxx> writes:
>
>>> > Isn't that pretty much what I described?
>>>
>>> Yes, probably. Well, 120kb was still multiple of page size. :)
>>
>> It is, but 120KB/page_size is not (which is the power-of-2 of interest
>> here).
>
> Um... I have no interest whether rounded-up-size is power-of-2 or
> not. Because it is implementation detail.
>
> Anyway, we agreed with "in bytes" and "at least"? If so, I'm happy with
> it, and I'm sorry if I was just noise.

I thought it was good input!



--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface" http://blog.man7.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/