[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa
From:       Jesse Barnes <jbarnes () sgi ! com>
Date:       2005-03-02 17:56:57
Message-ID: 200503020956.57637.jbarnes () sgi ! com
[Download RAW message or body]

On Tuesday, March 1, 2005 11:48 pm, 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?

The BSD accounting tools will expect the data to be written in a certain 
format, so we can't change that.  We could, however, unify the data 
collection under CONFIG_ACCOUNTING or something, that collects all the data 
available (which would be the sum of the data collected by the BSD and CSA 
calls) and then throw away data when writing to the BSD log so its format 
remains the same.

That would simplify data collection since there would just be one set of 
calls, and data reporting could be driven by userspace (whether it's in 
old-style sys_acct format, or new-style data that CSA/ELSA defines).

Jesse
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic