What is CLONE_IO used for? What is the definition / meaning of I/O context sharing between parent and child? In fact, from header file: #define CLONE_FS 0x00000200 /* set if fs info shared between processes */ #define CLONE_FILES 0x00000400 /* set if open files shared between processes */ #define CLONE_IO 0x80000000 /* Clone io context */ These three looked seemingly the same/related.....differences among them? And in kernel/fork.c: /* * Share io context with parent, if CLONE_IO is set */ if (clone_flags & CLONE_IO) { tsk->io_context = ioc_task_link(ioc); if (unlikely(!tsk->io_context)) return -ENOMEM; the io_context field is set, why and for what purpose? Thanks. -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ