From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753265AbdGFHZW (ORCPT ); Thu, 6 Jul 2017 03:25:22 -0400 Received: from mx2.suse.de ([195.135.220.15]:47177 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753012AbdGFHZV (ORCPT ); Thu, 6 Jul 2017 03:25:21 -0400 Subject: Re: [PATCH v7 09/18] xen/pvcalls: implement bind command To: Stefano Stabellini , xen-devel@lists.xen.org Cc: linux-kernel@vger.kernel.org, boris.ostrovsky@oracle.com, Stefano Stabellini References: <1499291458-30231-1-git-send-email-sstabellini@kernel.org> <1499291458-30231-9-git-send-email-sstabellini@kernel.org> From: Juergen Gross Message-ID: <1635e522-a5e0-c730-b02b-a8f25130f177@suse.com> Date: Thu, 6 Jul 2017 09:25:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1499291458-30231-9-git-send-email-sstabellini@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/07/17 23:50, Stefano Stabellini wrote: > Allocate a socket. Track the allocated passive sockets with a new data > structure named sockpass_mapping. It contains an unbound workqueue to > schedule delayed work for the accept and poll commands. It also has a > reqcopy field to be used to store a copy of a request for delayed work. > Reads/writes to it are protected by a lock (the "copy_lock" spinlock). > Initialize the workqueue in pvcalls_back_bind. > > Implement the bind command with inet_bind. > > The pass_sk_data_ready event handler will be added later. > > Signed-off-by: Stefano Stabellini Reviewed-by: Juergen Gross Thanks, Juergen