[Yaffs] [PATCH] cooperate multitasking with yaffs1

Top Page
Attachments:
Message as email
+ (text/plain)
+ yaffs_guts.diff (application/octet-stream)
Delete this message
Reply to this message
Author: Yoichi NAKAYAMA
Date:  
To: yaffs
Subject: [Yaffs] [PATCH] cooperate multitasking with yaffs1
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).

Best regards,
--
Yoichi NAKAYAMA
Pixela Corporation