[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070714.190350.95894917.davem@davemloft.net>
Date: Sat, 14 Jul 2007 19:03:50 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: braunu@...ibm.com
Cc: netdev@...r.kernel.org, linux-s390@...r.kernel.org,
fpavlic@...ibm.com
Subject: Re: [patch 2/3] s390: iucv - avoid deadlock between
iucv_path_connect and tasklet
From: Ursula Braun <braunu@...ibm.com>
Date: Fri, 13 Jul 2007 10:50:55 +0200
> From: Ursula Braun <braunu@...ibm.com>
>
> An iucv deadlock may occur, where one CPU is spinning on the
> iucv_table_lock for iucv_tasklet_fn(), while another CPU is holding
> the iucv_table_lock for an iucv_path_connect() and is waiting for
> the first CPU in an smp_call_function.
> Solution: replace spin_lock in iucv_tasklet_fn by spin_trylock and
> reschedule tasklet in case of non-granted lock.
>
> Signed-off-by: Ursula Braun <braunu@...ibm.com>
> Acked-by: Frank Pavlic <fpavlic@...ibm.com>
Applied.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists