Re: Add pacct_struct to fix some pacct bugs.

From: KaiGai Kohei
Date: Tue Jun 20 2006 - 03:26:11 EST


Hi, I noticed three problems in pacct facility.

1. Pacct facility has a possibility to write incorrect ac_flag
in multi-threading cases.
2. There is a possibility to be waken up OOM Killer from
pacct facility. It will cause system stall.
3. If several threads are killed at same time, There is
a possibility not to pick up a part of those accountings.

The attached patch will resolve those matters.
Any comments please. Thanks,

Thanks, but you have three quite distinct bugs here, and three quite
distinct descriptions and, I think, three quite distinct fixes.

Would it be possible for you to prepare three patches?

It may be possible. Please wait for a while to separate it into
three-part and to confirm its correct behavior.

Thanks,
--
Open Source Software Promotion Center, NEC
KaiGai Kohei <kaigai@xxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/