question about fork_main()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,

I just took a look to fio source code (great tool BTW), and I'm
wondering about the fork_main() comment:

/*
 * We cannot pass the td data into a forked process, so attach the td
 * and pass it to the thread worker.
 */

Since after a fork(2) the child inherits the attached shared memory
segments from its parent, I don't see the point of this comment.

Could anybody enlight me ?

thanks.
-- 
Francis
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux