From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 27 Sep 2014 20:24:36 +0200 Subject: [U-Boot] [PATCH] tools: mkimage can read input on /dev/stdin In-Reply-To: References: <20140927125434.B9C8F382279@gemini.denx.de> <20140927132525.7EB02382279@gemini.denx.de> Message-ID: <20140927182436.CD59B3857A9@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Julien, In message you wrote: > > > I don't believe you. Sizes rare certainly not identical, and neither > > is the performance. Did you do any real measurements? > > mmap is useful when you need to make random access in a file, or to > optimize memory: when a file is mmapped, the kernel only loads the > parts of the file that are accessed. In the case of mkimage, the file > is read sequentially (meaning all of it will be retrieved from the > disk). OK, so you don't have any real data, but make a very specific statement: "exactly the same." Sorry, but this is not an answer I'm going to buy. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de In an infinite universe all things are possible, including the possi- bility that the universe does not exist. - Terry Pratchett, _The Dark Side of the Sun_