Messages in this thread | | | Date | Thu, 02 Nov 2006 12:08:51 +0300 | From | Pavel Emelianov <> | Subject | Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices |
| |
[snip]
> I think that having a "tasks" file and a "threads" file in each > container directory would be a clean way to handle it: > > "tasks" : read/write complete process members > "threads" : read/write individual thread members
I've just thought of it.
Beancounter may have more than 409 tasks, while configfs doesn't allow attributes to store more than PAGE_SIZE bytes on read. So how would you fill so many tasks in one page?
I like the idea of writing pids/tids to these files, but printing them back is not that easy.
> > Paul > - > 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/ >
- 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/
| |