From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 266602222B4; Thu, 24 Jul 2025 09:01:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753347680; cv=none; b=VDRrAXJNXlfVI40r8vHoXjFP1nzo1p5I2iaLHLdjBMnsLRwbca0u6HfFx/uarcxMpST6+7/Py87/+MBxuo/Zhz0Pi8smFGwlAAXE50iFu0FmKW1HpNFTyD53YPxbTLRmOqgpk0+Xnvww48bFWRcRb5FAC+JIk7fdtZ7aXn6/qcE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753347680; c=relaxed/simple; bh=KZS3SWyieawnzA6ZrQHQPx0xrOH2YAeosXyOGdCKaVM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=PZgPaehjMqGFZgOaXn5HFXA5SDeBaftMIYs3oh+AJtABy3SOMWK4tZEwzrMFuzNghuKMg7718MXUGP/wuEsHebIw5EDnLMwsO6C2pKuML0OqJssv8iGIQJp0gCnzCDFzUis87dv+bPpupFP7Kuwlq5GPnzsWBhtFELA/2j0wS4E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=XWaMDNwt; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="XWaMDNwt" Received: from [10.95.67.184] (unknown [167.220.238.152]) by linux.microsoft.com (Postfix) with ESMTPSA id 9C1E62021884; Thu, 24 Jul 2025 02:01:15 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 9C1E62021884 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1753347678; bh=s999hUqMDpybNxGVFaWNVbqtoLiD/9WRNC/oRzsyyKU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=XWaMDNwtNdn1Qf6KCB52khOaYYXzekBwHt6ZHBDSZX/cAyWyfmWmePnKFxO3KN0pR Ormh9VABGfrC29fq7MoZwKoA1e/saIGq1t3RdTfbVMtbWnnHmADUnko5tQiBuMqqBT 205YthplhfhdzmuvQt/2RIGlMHujOhPUXUw0YZgA= Message-ID: <558412b1-d90a-486a-8af4-f5c906c04cca@linux.microsoft.com> Date: Thu, 24 Jul 2025 14:31:12 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 0/2] Drivers: hv: Introduce new driver - mshv_vtl To: Markus Elfring , "K . Y . Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Michael Kelley , linux-hyperv@vger.kernel.org Cc: Roman Kisel , Anirudh Rayabharam , Saurabh Sengar , Stanislav Kinsburskii , Nuno Das Neves , Alok Tiwari , linux-kernel@vger.kernel.org References: <20250724082547.195235-1-namjain@linux.microsoft.com> Content-Language: en-US From: Naman Jain In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 7/24/2025 2:26 PM, Markus Elfring wrote: > …> Changes since v5: > …> * Used guard(mutex) for better mutex handling. > … > > Thanks. > > Do you see opportunities to extend guard applications for further data structures? > > Regards, > Markus So I actually extended using guard to all the other places where I was using manual mutex lock/unlock. I had to reorganize the code a bit, which made the overall flow simpler and more robust. If I am missing something, please let me know. Regards, Naman