On Mon, 13 Feb 2023, Reinette Chatre wrote:
On 2/13/2023 2:00 AM, Ilpo Järvinen wrote:
On Mon, 13 Feb 2023, Shaopeng Tan wrote:
After creating a child process with fork() in CAT test, if an error occurs when parent process runs cat_val() or check_results(), the child
I'd replace the rest of the paragraph with this:
"returns early. The parent will wait pipe message from child which will never be sent by the child and the parent cannot proceeed to unmount resctrlfs."
Note that the description is about an error within the parent process. In the case snipped above it is the parent that exits early, not the child.
Ah, that a good point. Somehow I was too fixed into thinking the child exiting because it's what it's come across myself.