Joel Becker wrote:

>>The problem we have with is the members file, whose content could exceed
>>PAGE_SIZE when more than ~1000 tasks are in a group.
> 
> 
>       Right, this I do understand.
>

So the problem is clear....


> 
>>We choose configfs instead of sysfs after following the guidance in the
>>doc.
>>
>>Basically we wanted a "file-system based manager of kernel object"
>>rather than a "file-system based view of a kernel object".
> 
> 
>       Yes, I think configfs fits your intent well.  I want to work
> together to see what we can do.
> 

....and configfs is a good fit...

> 
>>I think we could implement in sysfs also. But, doesn't sysfs also have
>>the PAGE_SIZE limitation.
> 
> 
>       They do for standard attributes.  That's where my limit comes
> from...I cut and pasted the code.  However, sysfs also allows you to
> arbitrarily add objects to the filesystem tree, so you can place a
> seq_file or other object in the directory.  


> The problem is that this
> object has an uncontrolled set of lifetime semantics.  This has led to
> issues in the past.  It's something I'm trying to avoid with configfs.
> 
> Joel

...so could we work out how & if configfs' 4K limit on attributes
can be removed ?

Could you elaborate the uncontrolled set of lifetime semantics part ?

Thanks,
Shailabh





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to