Re: [Yaffs] [PATCH] cooperate multitasking with yaffs1

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] [PATCH] cooperate multitasking with yaffs1
On Thursday 08 May 2008 16:49:14 Yoichi NAKAYAMA wrote:
> Hi,
> I run some application program, then mount yaffs1 partition
> in background, I observed the application program is paused
> until mount process is finished. The data scan loop takes too
> long time, and there is YYIELD() in the corresponding part of
> yaffs_ScanBackward() for yaffs2 partition.
> I inserted schedule() at the beginning of data scan loop,
> my problem disappeared. Is it a correct fix?
> (patch against cvs head attached).


Hello

Yes, this is a good thing to do for yaffs_Scan().

Thank you

Charles