chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] Avoid context switch during TCP errno reportin


From: Jim Ursetto
Subject: [Chicken-hackers] [PATCH] Avoid context switch during TCP errno reporting
Date: Mon, 18 Mar 2013 14:06:03 -0500

Here's a full patch to avoid context switches screwing up the error message
reported to the user, and also consolidates much of the error handling.

I think this patch is sufficient because the only actual issue, as I understand
it, is that under high load you will occasionally get an incorrect error message
(typically, "operation in progress") instead of the real error message;
an exception will still fire regardless.  Disabling interrupts instead is 
probably
overkill, unless you know that won't cause hangs.

Also the patch doesn't do any harm and cleans up the code a bit, so you
can still apply a different fix on top of it.

Jim

Attachment: 0001-Avoid-context-switch-during-TCP-errno-reporting.patch.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]