Re: [RFC] how to get the size of a malloc(9) block ?

2013-12-05 Thread jb
jb gmail.com> writes: > ... > So far, the options could be as follows: > - realloc_flags(p, s, option) > where option is one or a combination (where appropriate) of: > REALLOCF_ANY- default (move or no-move; regular > realloc()) Actually, the

Re: [PATCH] SO_REUSEADDR and SO_REUSEPORT behaviour

2013-12-05 Thread Sepherosa Ziehau
On Tue, Dec 3, 2013 at 5:41 AM, Adrian Chadd wrote: > > On 2 December 2013 03:45, Sepherosa Ziehau wrote: > > > > On Mon, Dec 2, 2013 at 1:02 PM, Adrian Chadd wrote: > > > >> Ok, so given this, how do you guarantee the UTHREAD stays on the given > >> CPU? You assume it stays on the CPU that the

Re: [PATCH] SO_REUSEADDR and SO_REUSEPORT behaviour

2013-12-05 Thread Adrian Chadd
I was thinking of n netisrs per m CPUs, where n < m; or maybe 1 netisr for m CPUs, where m is less than the total number. Having 48 cores contending on netisr stuff is a bit crazy. It's highly unlikely you need that many cores doing packet pushing. -a