Linux内核写文件流程
接上篇Linux内核读文件流程,写这篇Linux内核写文件流程。文中涉及的内核代码版本是linux内核版本号:3.0.13-0.27 sles11sp2版本。
用户态write函数到内核态的调用是:
SYSCALL_DEFINE3(write, unsigned int, fd, const char __user *, buf, size_t, count)
SYSCALL_DEFINE3调用的vfs_write,vfs_write调用rw_verify_...
a Linux kernel virtualization developer, the contributor to KVM/Xen community, expert in VT-x, VT-d and X86 architecture, familiar with kernel development in KVM, XEN, Filesystem, IO storage, memory, schedule, etc.