{"push_id":626192102,"size":1,"distinct_size":1,"ref":"refs/heads/emotion_5.0.1","head":"2144ab11eb5a1f730b11ec7ceab3cc6e68a77d00","before":"cae80382fb28381c5ba1037e2b508bb645b03ece","commits":[{"sha":"2144ab11eb5a1f730b11ec7ceab3cc6e68a77d00","author":{"email":"d77b46f71ad07d1c66a004715c9110750816d270@motorola.com","name":"Jason Hrycay"},"message":"msm: memutils: memcpy, memmove, copy_page optimization\n\nPreload farther to take advantage of the memory bus, and assume\n64-byte cache lines.  Unroll some pairs of ldm/stm as well, for\nunexplainable reasons.\n\nFuture enhancements should include,\n\n- #define for how far to preload, possibly defined separately for\n  memcpy, copy_*_user\n- Tuning for misaligned buffers\n- Tuning for memmove\n- Tuning for small buffers\n- Understanding mechanism behind ldm/stm unroll causing some gains\n  in copy_to_user\n\nWith normal OSS memory utilities:\n\nmemcpy 1000MB at 5MB       : took 1033105 usec, bandwidth 967.967 MB/s\ncopy_to_user 1000MB at 5MB : took 1063069 usec, bandwidth 940.940 MB/s\ncopy_from_user 1000MB at 5M: took 1071359 usec, bandwidth 933.933 MB/s\nmemmove 1000GB at 5MB      : took 1154863 usec, bandwidth 865.865 MB/s\ncopy_to_user 1000GB at 4kB : took 972958 usec, bandwidth 1027.027 MB/s\ncopy_from_user 1000GB at 4k: took 994941 usec, bandwidth 1005.005 MB/s\ncopy_page 1000GB at 4kB    : took 760845 usec, bandwidth 1314.314 MB/s\nmemmove 1000GB at 4kB      : took 1224420 usec, bandwidth 816.816 MB/s\n\nWith optimized memory utilities:\n\nmemcpy 1000MB at 5MB       : took 710293 usec, bandwidth 1407.407 MB/s\ncopy_to_user 1000MB at 5MB : took 707245 usec, bandwidth 1413.413 MB/s\ncopy_from_user 1000MB at 5M: took 697382 usec, bandwidth 1433.433 MB/s\nmemmove 1000GB at 5MB      : took 761422 usec, bandwidth 1313.313 MB/s\ncopy_to_user 1000GB at 4kB : took 681611 usec, bandwidth 1467.467 MB/s\ncopy_from_user 1000GB at 4k: took 695536 usec, bandwidth 1437.437 MB/s\ncopy_page 1000GB at 4kB    : took 669061 usec, bandwidth 1494.494 MB/s\nmemmove 1000GB at 4kB      : took 789676 usec, bandwidth 1266.266 MB/s\n\nSigned-off-by: Chris Fries <C.Fries@motorola.com>\nReviewed-by: Christopher Fries <cfries@motorola.com>\nReviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>","distinct":true,"url":"https://api.github.com/repos/Note4-TW-Kernel/emotion_kernel_tw/commits/2144ab11eb5a1f730b11ec7ceab3cc6e68a77d00"}]}