Re: pipe: reduce number of allocations

2020-06-23 Thread Anton Lindqvist
On Tue, Jun 16, 2020 at 09:10:54PM +0200, Anton Lindqvist wrote: > Hi, > Instead of performing three distinct allocations per created pipe, > reduce it to a single one. Not only should this be more performant, it > also solves a kqueue related issue found by visa@ who also requested > this change:

pipe: reduce number of allocations

2020-06-16 Thread Anton Lindqvist
Hi, Instead of performing three distinct allocations per created pipe, reduce it to a single one. Not only should this be more performant, it also solves a kqueue related issue found by visa@ who also requested this change: > If you attach an EVFILT_WRITE filter to a pipe fd, the knote gets added