]> git.baikalelectronics.ru Git - kernel.git/commit
um: Update UBD to use pread/pwrite family of functions
authorAnton Ivanov <aivanov@brocade.com>
Mon, 21 Dec 2015 18:54:00 +0000 (18:54 +0000)
committerRichard Weinberger <richard@nod.at>
Sun, 10 Jan 2016 20:49:48 +0000 (21:49 +0100)
commitdc4fe29abc8bc7538eba03393431ed0b23d13dc8
tree81128a9f0252bd4075b6093cf5408eab19d45ce4
parent2bd773e9716db0c129b01b1ba026a10bdc084a47
um: Update UBD to use pread/pwrite family of functions

This decreases the number of syscalls per read/write by half.

Signed-off-by: Anton Ivanov <aivanov@brocade.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/ubd_kern.c
arch/um/include/shared/os.h
arch/um/os-Linux/file.c