From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2DEF9285C8B for ; Mon, 12 Jan 2026 23:34:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768260864; cv=none; b=jQriza6OBAbt0yPddVPGL6InVfO80DhJwUUd5xlNT2IMxzOQF/PPzFijPvI5AgyRnDuI4+6+ULns7/UBgs/ioljIg1bOWsy5OJPjkcO90Y8OVDcgFiDQCUkLRw8kyReLeTrSDtkO1PbECZevEfQFNn9KJ1FBhhSeQ8uZEXC1VP8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768260864; c=relaxed/simple; bh=D/QOV+PvgeGDhnZ/ix6Fp2phNTxa9gFGlVxWZXZmAqE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aLcha7PSAP5Cw4m3tNAjg4gvOka0S5eJKH4XzQT8ZLVLc+ZbgrBRIBwp+WpsWiH7sjgJhKiiplTwHQWhQ6HxFCTDpWuRt3+pT/RX98goUSjkF+nP5TL3jGedGGSnt4+enU+fo+YmqE+5lQdOPLUrQSUNwz3p7+GdWgPN5Z2tlzU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=e6bwQhXU; arc=none smtp.client-ip=209.85.222.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="e6bwQhXU" Received: by mail-qk1-f173.google.com with SMTP id af79cd13be357-8c30365ac43so655111485a.0 for ; Mon, 12 Jan 2026 15:34:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768260860; x=1768865660; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=VrgEBLHMQ7w7z7OSk0+LmFxB5np8c3y6da/CYllo/d4=; b=e6bwQhXUDTuWDHmmLXIh35feeZKV1D7qDLpISLSuhN3pTjwbOnch8PRjjqH7ekdUtF e2T/mGRRqHGLZ2blzenLqgensz30tvhmDcE9X1PAKAk3r+EEtSczC4Kj6Jf2+WRDBtPK lxzYgkTrhIUOz5xDWDB1C6TZnnGHXVPLY6Y+o3O9pBWfxtmv2g4NyRXHuzHcXj+5lmZW E37wfyN+dFH0EWCpzlHNP8ZHaDxVRxlzER+q0SgLeHH2bkcf3f6s0FRQDx+BPV4M5Kbg 27dXMw2OXe8GcT6SG0cur+IQQE32nIXZFSpqt679GUP0/5mrrMLR6LtL0e/jz/i/ibmr 3+Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768260860; x=1768865660; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VrgEBLHMQ7w7z7OSk0+LmFxB5np8c3y6da/CYllo/d4=; b=YjgQfam3AmzDVoorCXjSB+is1/0phir2FfrlaLQfBxzWCBw1KnxucLA/h7ZAMn5UZ4 lslLvkknzKIdXaho1WqXXm/HwZJglVMZTi0HdONfYpzObNI4pIf72inwzTUIDpUFBeSU 1FZ2+YjYybCx3lxx8oe4Uca2jhU8W5yOgMjmBP1DvsI7psiajj7HAYcw+iBW7NIzNgdv BnwcC146WBRd7k4Xso+ntTd/1Z3aoJnWfLR+gPvN3QwttDoZrvIeN3ux/nFbvGhuF0AL WiigEj/N3S1RAizjSCytFf15J8ZUr2ptVyaWPEcc5Eq1dnZGPdrC4TuD7nWi6nQmw2pu EXCQ== X-Forwarded-Encrypted: i=1; AJvYcCX/ivoFLmaQ5dkBsNfYmoUyreHKGhTo7vjjC4yOjlpw7/BKRwcQkA1J/wwOWH7XE/0rQqOURlazAIFffEI=@vger.kernel.org X-Gm-Message-State: AOJu0YyYp/k4N+gGl7Y308wVUhlmw5lwA9oqA8t/vqGZpwA84hjL0VVi HvzvliJ6t6ed6a6fx12Pk6Mc0FlkuAInL4DAx16toJtOaPc08hgZ4MBHVZZ1aA== X-Gm-Gg: AY/fxX6tE3EgiLdXyIoccywqsoTl62mImjObpFcHe6ajyanTH3QkwWoxyNVUfu6usDZ uMfo8ivW8UKfm/Mh+W4HQllnMNSHbKlX/2i5VbVVcr7jy9E/goVpmtLdySrkgNlf7jeCz9CUWcd ikm1xUmnp8w7UFtMliDotNqTSB5/HyS6oODaBY0dXZUJVROEWZKgm8/b8+DmDYvHKe65/vuRHnY lL075xhvpl23FaGkVR884Nzq0xO97Irex9HAhCHESCbIZSstBzRwOz9kTvYFn93BPccSDTSDOl3 0V7TD1yBZohGQCb9AY5ThEwz4rXM24c0QTS2mNnaB+kf5uIOUnjhw+jQEo2L/77Fax3354u8Rus ZS93wq+SLMP7bsJbXzseEhOyLx2s3DyGjAp203rFY3e0g+ZWSHTGON0PuG3xLI2RXPso7urZy4r hnC9o3y0u02+a63ymdDJ2vsOUXkGPrcKFP+w== X-Google-Smtp-Source: AGHT+IEEIChW46EWJZZzmGq0dv1aKbX23y4OJcSbpVgI4A7CpdyG+MDzyxvMqujhAfbDeFoADMp1dQ== X-Received: by 2002:a53:e303:0:b0:63f:a727:8403 with SMTP id 956f58d0204a3-64716bd78d9mr12404043d50.38.1768254541320; Mon, 12 Jan 2026 13:49:01 -0800 (PST) Received: from devvm11784.nha0.facebook.com ([2a03:2880:25ff:8::]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-6470d7f7c04sm8530959d50.2.2026.01.12.13.49.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jan 2026 13:49:00 -0800 (PST) Date: Mon, 12 Jan 2026 13:48:58 -0800 From: Bobby Eshleman To: Stefano Garzarella Cc: "Michael S. Tsirkin" , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Stefan Hajnoczi , Jason Wang , Eugenio =?iso-8859-1?Q?P=E9rez?= , Xuan Zhuo , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Bryan Tan , Vishnu Dasa , Broadcom internal kernel review list , Shuah Khan , Long Li , linux-kernel@vger.kernel.org, virtualization@lists.linux.dev, netdev@vger.kernel.org, kvm@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-kselftest@vger.kernel.org, berrange@redhat.com, Sargun Dhillon , Bobby Eshleman Subject: Re: [PATCH RFC net-next v13 00/13] vsock: add namespace support to vhost-vsock and loopback Message-ID: References: <20251223-vsock-vmtest-v13-0-9d6db8e7c80b@meta.com> <20260110191107-mutt-send-email-mst@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Jan 12, 2026 at 06:26:18PM +0100, Stefano Garzarella wrote: > On Sat, Jan 10, 2026 at 07:12:07PM -0500, Michael S. Tsirkin wrote: > > On Fri, Jan 09, 2026 at 04:11:12PM -0800, Bobby Eshleman wrote: > > > On Tue, Dec 23, 2025 at 04:28:34PM -0800, Bobby Eshleman wrote: > > > > This series adds namespace support to vhost-vsock and loopback. It does > > > > not add namespaces to any of the other guest transports (virtio-vsock, > > > > hyperv, or vmci). > > > > > > > > The current revision supports two modes: local and global. Local > > > > mode is complete isolation of namespaces, while global mode is complete > > > > sharing between namespaces of CIDs (the original behavior). > > > > > > > > The mode is set using the parent namespace's > > > > /proc/sys/net/vsock/child_ns_mode and inherited when a new namespace is > > > > created. The mode of the current namespace can be queried by reading > > > > /proc/sys/net/vsock/ns_mode. The mode can not change after the namespace > > > > has been created. > > > > > > > > Modes are per-netns. This allows a system to configure namespaces > > > > independently (some may share CIDs, others are completely isolated). > > > > This also supports future possible mixed use cases, where there may be > > > > namespaces in global mode spinning up VMs while there are mixed mode > > > > namespaces that provide services to the VMs, but are not allowed to > > > > allocate from the global CID pool (this mode is not implemented in this > > > > series). > > > > > > Stefano, would like me to resend this without the RFC tag, or should I > > > just leave as is for review? I don't have any planned changes at the > > > moment. > > > > > > Best, > > > Bobby > > > > i couldn't apply it on top of net-next so pls do. > > > > Yeah, some difficulties to apply also here. > I tried `base-commit: 962ac5ca99a5c3e7469215bf47572440402dfd59` as mentioned > in the cover, but didn't apply. After several tries I successfully applied > on top of commit bc69ed975203 ("Merge tag 'for_linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost") > > So, I agree, better to resend and you can remove RFC. > > BTW I'll do my best to start to review tomorrow! > > Thanks, > Stefano > Sounds good to me. Sorry about that, I must have done something weird with b4 to pin the base commit because it has been 962ac5ca99a5c3e7469215bf47572440402dfd59 for the last several revisions. Looks like my local of this is actually based on: 7b8e9264f55a ("Merge tag 'net-6.19-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net") I'll re-apply to head and resend today! While I'm at it I will try to address Michael's feedback and bump a version. Best, Bobby