]> err.no Git - linux-2.6/commit
[NET]: Make use of ->private_data in sockfd_lookup
authorBenjamin LaHaise <bcrl@linux.intel.com>
Wed, 10 Aug 2005 21:16:04 +0000 (14:16 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:56:38 +0000 (15:56 -0700)
commit07dc3f0718d2c88c3094a0aadeeb4744effc5439
treed0bb49ac931db8ad0d5887da75193b42bc00e95f
parentcef07fd6029c20f95571d09cefce45ee3276a920
[NET]: Make use of ->private_data in sockfd_lookup

Please consider the patch below which makes use of file->private_data to
store the pointer to the socket, which avoids touching several unused
cachelines in the dentry and inode in sockfd_lookup.

Signed-off-by: Benjamin LaHaise <bcrl@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c