OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 2/3][UNIX] Convert socks to unix_socks in scan_inflight, not in callbacks
Re: [PATCH 2/3][UNIX] Convert socks to unix_socks in scan_inflight, not in callbacks [message #23055 is a reply to message #22916] Sun, 11 November 2007 06:07 Go to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: Pavel Emelyanov <xemul@openvz.org>
Date: Wed, 07 Nov 2007 16:56:21 +0300

> The scan_inflight() routine scans through the unix sockets and calls
> some passed callback. The fact is that all these callbacks work with
> the unix_sock objects, not the sock ones, so make this conversion in
> the scan_inflight() before calling the callbacks.
> 
> This removes one unneeded variable from the inc_inflight_move_tail().
> 
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>

Applied, thanks Pavel.
 
Read Message
Read Message
Previous Topic: [PATCH 1/3][UNIX] Make unix_tot_inflight counter non-atomic
Next Topic: [PATCH 3/3][UNIX] The unix_nr_socks limit can be exceeded
Goto Forum:
  


Current Time: Sat Sep 06 06:52:52 GMT 2025

Total time taken to generate the page: 0.07175 seconds