On Fri, May 26, 2017 at 11:31 PM, Maxim Dounin <mdou...@mdounin.ru> wrote: > Hello! > > On Fri, May 26, 2017 at 04:42:51PM +0800, Sepherosa Ziehau wrote: > >> Hi all, >> >> Patch is here: >> https://leaf.dragonflybsd.org/~sephe/verb_setaffinity.diff > > Process PID is present in error log messages, it is believed to be > enough to identify which worker uses which CPU. It is also looks > like a layering violation to print ngx_worker from a generic
Thought it was just for worker's affinity setting. Since you say its a generic function, I will drop the patch then. > function which knows nothing if it is being called in a worker > process or not. > > Do you have any specific reasons for the change? I was debugging the reuseport listen socket cpu affinity. Thanks, sephe -- Tomorrow Will Never Die _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel