Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices

From: Pavel Emelianov
Date: Thu Nov 02 2006 - 04:13:38 EST


[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@xxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/