summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2021-04-14 15:23:52 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-04-14 15:46:48 +0200
commit2154de1cf36c0ac741f258f72de6895e8782ec79 (patch)
tree059eb2c27be8918d7edf26382912549ec4962e32 /arch
parentcc9c2d3dd0ee72730dcdb6975da520b13d1ed75c (diff)
downloadbarebox-2154de1cf36c0ac741f258f72de6895e8782ec79.tar.gz
barebox-2154de1cf36c0ac741f258f72de6895e8782ec79.tar.xz
bareboximd: Use mmap when possibly
It's hard to believe but there are systems out there that are so sparse with memory that they can't afford 1MiB of RAM to read a file into. Use mmap when possible and fall back to reading into an allocated buffer otherwise. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions