RE: [PATCH 01/17] pramfs: documentation

2011-01-10 Thread Luck, Tony
 You'd be better running ext2 over special block device,
 it is quite simple.

Marco,

You might want to spend some more time answering this question
(it is a particularly good one).  What are the reasons to use
pramfs, rather than a ext2 over a mem-block driver.  You covered
some in your part 0 patch (like ext2 wastes time getting optimal
block placement for rotating media). But it might be a good idea
to go back over them here.  From my (lightweight) reading of your
code, it looks like the biggest benefit is avoiding duplicating
the data in the pramfs memory region and the VM page cache ...
which is a big deal for your target audience of hand held devices
where memory is a somewhat scarce resource. But you probably
have other goodness in there too.

-Tony
--
To unsubscribe from this list: send the line unsubscribe linux-embedded in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: [PATCH 00/17] pramfs: persistent and protected RAM filesystem

2011-01-06 Thread Luck, Tony
 Errata corrige: maybe I used the wrong term, I meant volatile instead
 of temporary information, i.e. I'd like to save this info to re-read
 it later but I don't want to store it in flash, a simple log, run-time
 information for debug like a flight-recorder or whatever you want.

I'm puzzled by the use of a generic piece of memory to store persistent
things (Perhaps this is made clear in the 17 parts of the patch? I haven't
read them yet).  On x86 f/w typically clears all of memory on reset ... so
you only get persistence if you use kexec to get from the old kernel to
the new one.

-Tony
--
To unsubscribe from this list: send the line unsubscribe linux-embedded in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html