[PATCH] [MTD] NAND: Prevents NAND subsystem from hogging the CPU.

Artem Bityutskiy dedekind at infradead.org
Fri Sep 7 01:39:38 EDT 2007


On Thu, 2007-09-06 at 11:06 -0700, Rick Bronson wrote:
>                 if (chip->dev_ready(mtd))
>                         break;
>                 touch_softlockup_watchdog();
> +               cond_resched();  /* let others run */
>         } while (time_before(jiffies, timeo));
>         led_trigger_event(nand_led_trigger, LED_OFF);
>  }

And I think this touch_softlockup_watchdog() is bogus.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list