lkml.org 
[lkml]   [2005]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa
Jay Lan <jlan@sgi.com> wrote:
>
> Since my idea of providing an accounting framework was considered
> 'overkill', here i submit a tiny patch just to allow CSA to
> handle end-of-process (eop) situation by saving off accounting
> data before a task_struct is disposed.
>
> This patch is to modify the acct_process() in acct.c, which is
> invoked from do_exit() to handle eop for BSD accounting. Now
> the acct_process() wrapper will also take care of CSA, if it has
> been loaded. If the CSA module has been loaded, a CSA routine
> will be invoked to construct a CSA job record and to write the
> record to the CSA accounting file.

I really don't want to have to (and shouldn't need to) become an accounting
person, but as there seems to be a communication problem somewhere..

Please, you guys are the subject matter experts. Put your heads together
and come up with something.



We shouldn't be putting CSA stuff over here and ELSA stuff over there.

We should be putting our heads together and coming up with a sensible and
adequate accounting solution for Linux. Or the kernel, at least.

The ELSA team appear to be able to do that in userspace with the existing
process accounting machinery and a single outcall from fork(). That's great.

Why is that not adequate for CSA? What end-user features does CSA offer
that ELSA can not? Could those features be implemented (in userspace) if
we also added an exit() outcall?

-
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/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.055 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site