[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SA1PR21MB1335144A06F05D73A19827DABF449@SA1PR21MB1335.namprd21.prod.outlook.com>
Date: Mon, 12 Sep 2022 22:02:03 +0000
From: Dexuan Cui <decui@...rosoft.com>
To: Saurabh Sengar <ssengar@...ux.microsoft.com>,
Saurabh Singh Sengar <ssengar@...rosoft.com>,
"drawat.floss@...il.com" <drawat.floss@...il.com>,
"airlied@...ux.ie" <airlied@...ux.ie>,
"daniel@...ll.ch" <daniel@...ll.ch>,
"linux-hyperv@...r.kernel.org" <linux-hyperv@...r.kernel.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Michael Kelley (LINUX)" <mikelley@...rosoft.com>
Subject: RE: [PATCH] drm/hyperv: Don't overwrite dirt_needed value set by host
> From: Saurabh Sengar <ssengar@...ux.microsoft.com>
> Sent: Monday, September 12, 2022 8:33 AM
> ...
> Existing code is causing a race condition where dirt_needed value is
> already set by the host and gets overwritten with default value. Remove
> this default setting of dirt_needed, to avoid overwriting the value
> received in the channel callback set by vmbus_open. Removing this
> setting also means the default value for dirt_needed is changed to false
> as it's allocated by kzalloc which is similar to legacy hyperv_fb driver.
>
> Signed-off-by: Saurabh Sengar <ssengar@...ux.microsoft.com>
Reviewed-by: Dexuan Cui <decui@...rosoft.com>
Powered by blists - more mailing lists