[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1154966294.1174.38.camel@linuxchandra>
Date: Mon, 07 Aug 2006 08:58:14 -0700
From: Chandra Seetharaman <sekharan@...ibm.com>
To: Paul Jackson <pj@....com>
Cc: Kirill Korotaev <dev@...ru>, nagar@...son.ibm.com, akpm@...l.org,
vatsa@...ibm.com, mingo@...e.hu, nickpiggin@...oo.com.au,
sam@...ain.net, linux-kernel@...r.kernel.org, dev@...nvz.org,
efault@....de, balbir@...ibm.com, haveblue@...ibm.com
Subject: Re: [ProbableSpam] Re: [RFC, PATCH 0/5] Going forward with
Resource Management - A cpu controller
On Mon, 2006-08-07 at 02:30 -0700, Paul Jackson wrote:
> Kirill wrote:
> > > A filesystem based interface is useful when you have hierarchies (as resource
> > > groups and cpusets do) since it naturally defines a convenient to use
> > > hierarchical namespace.
> > but it is not much convinient for applications then.
>
> Is this simply a language issue? File systems hierarchies
> are more easily manipulated with shell utilities (ls, cat,
> find, grep, ...) and system call API's are easier to access
> from C?
>
> If so, then perhaps all that's lacking for convenient C access
> to a filesystem based interface is a good library, that presents
> an API convenient for use from C code, but underneath makes the
> necessary file system calls (open, read, diropen, stat, ...).
>
I totally agree.
When the difference comes to language issue, one advantage of filesystem
is that there is no need for a user space app to do simple management.
--
----------------------------------------------------------------------
Chandra Seetharaman | Be careful what you choose....
- sekharan@...ibm.com | .......you may get it.
----------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists