Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa
From: Jay Lan
Date: Mon Mar 07 2005 - 19:12:01 EST
The patch i propose is tiny, simple and straight forward. It
touches only one file and leaves the CSA code in a configurable
loadable module. It broke nobody's code and it does not need to
redesign existing BSD kernel code and utilities.
If we are to merge the code, there are some detailed discussion
needed to happen on implementation deail. We are talking about
supporting two different internal formats by one piece of code.
We need to maintain BSD acct format because BSD utilities count
on it.
If we are to combine two formats into one, we then need to
modify BSD utilies to understand the new format. How about
the backwards compatibility?
Now this is really an overkill. All i asked for was only
adding a few lines to acct.c.
Thanks,
- jay
Tim Schmielau wrote:
On Wed, 2 Mar 2005, Guillaume Thouvenin wrote:
Is it possible to merge BSD and CSA? I mean with CSA, there is a part
that does per-process accounting. For exemple in the
linux-2.6.9.acct_mm.patch the two functions update_mem_hiwater() and
csa_update_integrals() update fields in the current (and parent)
process. So maybe you can improve the BSD per-process accounting or
maybe CSA can replace the BSD per-process accounting?
Yes, that was also my preferred direction - make CSA able to also write
BSD acct format, and replace the existing BSD accounting with CSA.
However it seems this will still increase the amount of kernel code quite
a bit.
Sorry for not going into any details, I have to leave right now and will
be offline for two weeks.
Tim
-
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/