[PATCH] libmtd: fix mtd_write() issues for large data-only writes
Artem Bityutskiy
dedekind1 at gmail.com
Tue Feb 14 04:01:52 EST 2012
On Fri, 2012-02-10 at 20:35 -0800, Brian Norris wrote:
> ioctl(MEMWRITE) is implemented with memdup_user(), and so it allocates
> kernel memory in contiguous regions. This limits its usefulness for large
> amounts of data, since contiguous kernel memory can become scarce. I have
> experienced "out of memory" problems with ubiformat, for instance, which
> writes in eraseblock-sized regions:
Pushed this one and the other 3 patches to mtd-utils.git, thanks a lot!
--
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120214/1d4b04ea/attachment.sig>
More information about the linux-mtd
mailing list