[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/miscfs/procfs
On Sat, Jul 12, 2014 at 08:11:46PM +1000, matthew green wrote:
> "Nicolas Joly" writes:
> > Module Name: src
> > Committed By: njoly
> > Date: Sat Jul 12 09:58:39 UTC 2014
> > Modified Files:
> > src/sys/miscfs/procfs: procfs_linux.c
> > Log Message:
> > Use kproc2 to provide sensible informations for /proc/<pid>/stat.
> hmm, kernel code should really avoid using the userland compat layer.
> you're processing something from one known layout to another known
> layout.. userland needs it because it only knows one of them, which
> has a known forwards/backwards compat layout.
I was trying to avoid duplicating all the needed computation ...
/proc/<pid>/stat is another exact version (kernel) of the userland
Do we need another intermediate layer to fill a kernel only structure
which can then be easily translated to kproc2 ?
Biology IT Center
Institut Pasteur, Paris.
Main Index |
Thread Index |