Re: [PATCH] af_unix: scm: better initialization

2006-02-24 Thread David S. Miller
From: Benjamin LaHaise <[EMAIL PROTECTED]> Date: Tue, 7 Feb 2006 07:04:05 -0800 > Instead of doing a memset then initialization of the fields of the scm > structure, just initialize all the members explicitly. Prevent reloading > of current on x86 and x86-64 by storing the value in a local vari

[PATCH] af_unix: scm: better initialization

2006-02-07 Thread Benjamin LaHaise
Instead of doing a memset then initialization of the fields of the scm structure, just initialize all the members explicitly. Prevent reloading of current on x86 and x86-64 by storing the value in a local variable for subsequent dereferences. This is worth a ~7KB/s increase in af_unix bandwid