XIP kernel + MTD polling interest

David Woodhouse dwmw2 at infradead.org
Wed Nov 29 12:18:14 EST 2000


shane at agendacomputing.com said:
> What I'm thinking is we already have the wrapper code for cfi_udelay,
> if we were to replace all calls to schedule to this wrapper guy in
> cfi_cmdset_0001.c, then it would be really clean, just get rid of that
> if(current->need_resched) schedule(), to just go to udelay(us) #if
> defined MTD_XIP.  That would be the only real change that would need
> to be made, except flipping off interrupts when switching modes in
> MTD_XIP.

> What do you guys think of doing this change?..., Any negatives? 

Sounds reasonable to me. I'd like to see the section magic too.

--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list