android_kernel_xiaomi_sm8350/drivers/net/phy
Linus Torvalds 68380b5813 Add "run_scheduled_work()" workqueue function
This allows workqueue users to run just their own pending work, rather
than wait for the whole workqueue to finish running.  This solves the
deadlock with networking libphy that was due to other workqueue entries
possibly needing a lock that was held by the routine that wanted to
flush its own work.

It's not wonderful: if you absolutely need to synchronize with the work
function having been executed, any user strictly speaking should have
its own completion tracking logic, since when we run things explicitly
by hand, the generic workqueue layer can no longer help us synchronize.

Also, this is strictly only usable for work that has been scheduled
without any delayed timers.  You can not mix the new interface with
schedule_delayed_work().

But it's better than what we had currently.

Acked-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 09:28:19 -08:00
..
broadcom.c [PATCH] 2.6.18: sb1250-mac: Broadcom PHY support 2006-12-02 00:11:54 -05:00
cicada.c [PATCH] Add support for the Cicada 8201 PHY 2006-07-05 14:07:14 -04:00
davicom.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fixed.c [PATCH] Slight refactor of interrupt mapping for FSL parts 2006-11-13 14:48:52 +11:00
Kconfig [PATCH] 2.6.18: sb1250-mac: Broadcom PHY support 2006-12-02 00:11:54 -05:00
lxt.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Makefile [PATCH] 2.6.18: sb1250-mac: Broadcom PHY support 2006-12-02 00:11:54 -05:00
marvell.c Revert "[PATCH] Add support for Marvell 88e1111S and 88e1145" 2006-12-02 00:12:04 -05:00
mdio_bus.c [PATCH] PAL: Support of the fixed PHY 2006-08-19 17:44:31 -04:00
phy_device.c [PATCH] PHY: Add support for configuring the PHY connection interface 2006-12-02 00:33:11 -05:00
phy.c Add "run_scheduled_work()" workqueue function 2006-12-07 09:28:19 -08:00
qsemi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
smsc.c [PATCH] remove unnecessary config.h includes from drivers/net/ 2006-08-14 14:00:43 -04:00
vitesse.c [PATCH] remove unnecessary config.h includes from drivers/net/ 2006-08-14 14:00:43 -04:00