[lkml]   [2019]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v13 2/5] xenbus/backend: Protect xenbus callback with lock
On 18.12.19 19:37, SeongJae Park wrote:
> From: SeongJae Park <>
> A driver's 'reclaim_memory' callback can race with 'probe' or 'remove'
> because it will be called whenever memory pressure is detected. To
> avoid such race, this commit embeds a spinlock in each 'xenbus_device'
> and make 'xenbus' to hold the lock while the corresponded callbacks are
> running.
> Signed-off-by: SeongJae Park <>

Reviewed-by: Juergen Gross <>


 \ /
  Last update: 2019-12-20 12:43    [W:0.095 / U:9.904 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site