Skip to contentSkip to conversation

make c/s 21089 work again with c/s 21092

PATCH Jan Beulich 1 participant 1 message Apr 14, 2010

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines
Quoted 1 line
Quoted 1 line

Bastian Blank 04/14/10 9:16 AM >>>

Quoted 1 line · Jan Beulich

+ spin_lock_irqsave(&desc->lock, flags);

Why do you lock here? The whole thing is racy anyway and this should only battle against concurent registrations from dom0.

It seems cleaner to do proper locking here, even though I too think it's not strictly needed.

Jan