Re: [PATCH] Event pipe: delete useless code.

2016-10-28 Thread Maxim Dounin
Hello! On Fri, Oct 28, 2016 at 04:41:49PM +0800, 胡聪 (hucc) wrote: > It is useless code. There is no need to judge whether the first buf > is partially filled, just add the free buf after the head. Using the same buffer if it is possible to do so can be beneficial from performance point of view

[PATCH] Event pipe: delete useless code.

2016-10-28 Thread ???? (hucc)
Hello! It is useless code. There is no need to judge whether the first buf is partially filled, just add the free buf after the head. # HG changeset patch # User hucongcong # Date 1477643468 -28800 # Fri Oct 28 16:31:08 2016 +0800 # Node ID 6729731c835d800aa690d8d3a362b0c989885ab3