Optimize fwrite in stdio API
Original fwrite call sys_writev to sync user buffer &&
file buffer to disk at same time, but user buffer may samll than file
buffer, that may reduce I/O throughout.
fix freadx internal api in fmemopen/stdin/freopen
Issue:I73VQ3
Test:libc-test, benchmark
Signed-off-by: Nrobottoy <wangyaofeng.wang@huawei.com>
Change-Id: Ic7315e0a5a0f5f18e3c3f3dd8aecbdc9af1290db
Showing
想要评论请 注册 或 登录