From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by passt.top (Postfix, from userid 1000) id 3D4355A026F; Thu, 16 Jan 2025 21:32:50 +0100 (CET) From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 0/4] Fixes for EAGAIN/EPOLLIN storm and related issues Date: Thu, 16 Jan 2025 21:32:46 +0100 Message-ID: <20250116203250.784496-1-sbrivio@redhat.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID-Hash: C3MZESQ2GR4DYHHW2VI4TBK6ZDCDU66T X-Message-ID-Hash: C3MZESQ2GR4DYHHW2VI4TBK6ZDCDU66T X-MailFrom: sbrivio@passt.top X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Asahi Lina , Sergio Lopez , Jon Maloy , David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Patch 3/4 is similar to the patch I sent recently addressing Lina's report. The rest is for stuff I found while reproducing that using a parallel HTTP downloader (aria2c) with different parameters and server locations. Stefano Brivio (4): tcp: Fix ACK sequence getting out of sync on EPOLLOUT wake-up tcp: Don't subscribe to EPOLLOUT events on STALLED tcp: Set EPOLLET when when reading from a socket fails with EAGAIN tcp: Mask EPOLLIN altogether if we're blocked waiting on an ACK from the guest tcp.c | 16 +++++++++++----- tcp_buf.c | 5 +++++ tcp_conn.h | 1 + tcp_vu.c | 6 ++++++ 4 files changed, 23 insertions(+), 5 deletions(-) -- 2.43.0