Messages in this thread | | | Date | Wed, 03 Feb 2010 18:19:31 -0800 (PST) | Subject | Re: [PATCH 2.6.27.7-9-pae #7 SMP 1/1] networking tcp: Writing tcp socket be atomic | From | David Miller <> |
| |
From: "John Ye" <johny@asimco.com.cn> Date: Thu, 4 Feb 2010 10:03:44 +0800
> The option TCP_ATOMIC is not a must. We can make atomic be default > if the data size is less than a fixed size, just the same as pipe. > For example, if the data size is less than 512, we don't split the > data so it goes atomically.
This completely ignores the core issue.
And that is, for the second time, that the application is where such atomicity guarentees should be implemented.
And because of that any implementation of your kernel changes are inappropriate, TCP_ATOMIC socket option or not.
| |