Skip to contentSkip to conversation

about mmap with MAP_SHARED in jffs2

DISCUSSION Cai Qiang 1 participant 1 message Nov 18, 2005 Memory technology devices (MTD)

lore
Share & tools
lore

Cai Qiang

author
#0 lore raw

Hi,
Currently jffs2 not support mmap with MAP_SHARED. Is it possible to implement it? What's the drawback? If it's possible, what shoould we do? I changed .mmap from generic_file_readonly_mmap to generic_file_mmap
but system crash when I write to mmaped buffer and unmap. Do I need a special writepage?

Best regards!