why is the jiffies 128 in jffs2_find_gc_block() in gc.c of jffs2.
Hi,
Can any one tell me
why is the jiffies _128_ in jffs2_find_gc_block() in gc.c of jffs2.
Regards,
Krishna Chaitanya
Quoted 4 lines · krishna
Hi,
Can any one tell me
why is the jiffies _128_ injffs2_find_gc_block()ingc.cof jffs2.
jiffies isn't set in that function. The value of jiffies is modded by
128. Since jiffies is a volatile value, the value of n is usually different on each call of that function. This value is used to pick an eraseblock to garbage collect out of a series of different lists. This is done to help with effective wear leveling of flash eraseblocks.
josh