
Dear Julien,
In message CADF714bJ6-WvjBSd1u8UA-zT+H0TUO5vqO3_-6Q34yUjvbkVxw@mail.gmail.com you wrote:
On Sat, Sep 27, 2014 at 2:54 PM, Wolfgang Denk wd@denx.de wrote:
What would be the benefit of doing so? Do you have an example for a practical use case where this makes sense?
In my case, I have a TFTP server that dyncamically generates uboot bootfiles when a specific file is requested. The input template file being generated, I need to create a temporary file to store it before calling mkimage. Except the mmap, there's no technical restriction for mkimage to be able to read on a pipe.
Sorry, but I don't understand this. Where are the image(s) coming from, then? Who or what is feeding the pipe?
What is the size and performance impact of the suggested change for typical use cases?
None. The behaviour is exactly the same.
I don't believe you. Sizes rare certainly not identical, and neither is the performance. Did you do any real measurements?
Best regards,
Wolfgang Denk