commit | df54b52c411befdcf1d0989f939a49163570ad29 | [log] [tgz] |
---|---|---|
author | Josh Boyer <jdub@us.ibm.com> | Tue Dec 06 17:28:19 2005 +0000 |
committer | David Woodhouse <dwmw2@infradead.org> | Wed May 17 01:11:17 2006 +0100 |
tree | e51dbc7a88da164ed1ab6b29273ae01d2faf4025 | |
parent | ba9627b85fcb5ed67285ca0711f0f4d1e965746e [diff] |
CHIPS: Fix potential starvation in cfi_cmdset_0001 The patch below fixes a potential starvation issue that can arise when there is contention on a chip during a period when a process is currently writing to it. The starvation is avoided by conditionally rescheduling when the chip is left in a state usable by other processes. Signed-off-by: Josh Boyer <jdub@us.ibm.com> Signed-off-by: Tom Gall <tom_gall@vnet.ibm.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>