bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GSoC: procfs implementation.


From: olafBuddenhagen
Subject: Re: GSoC: procfs implementation.
Date: Wed, 14 May 2008 00:50:56 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Hi,

On Tue, May 13, 2008 at 12:43:13AM +0530, Madhusudan C.S wrote:

> If we take the existing procfs code and then start migrating it to use
> netfs, I may fear that it may not be possible everything in the
> existing code be ported.

Why?

> But if we start writing everything from scratch, I felt we may end up
> re-inventing the wheel i.e we may do extra amount of work which may
> involve implementing the features already implemented.

I wasn't suggesting to write everything from scratch.

The idea was to start with a clean slate, but moving over existing code
where possible as you go on (re)implementing the individual bits of
functionality.

So you would fist implement a basic skeleton, which only creates an
empty directory for each existing pid; then you add for example the
program arguments file; then the state; and so on... Always using the
existing implementation as reference, and borrowing code whenever it's
useful.

The great advantage of this approach is that you get small, well defined
steps you can complete one after the other, instead of being faced with
a single large porting effort in the beginning, having to deal with a
lot of code you are not familiar with...

> Given me a choice I would like to take the task first starting with
> netfs backbone and porting those features that can be ported along
> side implementing the new features paralelly

If I correctly understand your description, that's more or less what I
had in mind :-)

-antrik-




reply via email to

[Prev in Thread] Current Thread [Next in Thread]