lkml.org 
[lkml]   [2004]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] O(1) Entitlement Based Scheduler
Peter Williams wrote:
> Mike Fedyk wrote:
>
>> Peter Williams wrote:
>>
>>> 2. have a user space daemon poll running tasks periodically and
>>> renice them if they are running specified binaries
>>>
>>> Both of these solutions have their advantages and disadvantages, are
>>> (obviously) complicated than I've made them sound and would require a
>>> great deal of care to be taken during their implementation. However,
>>> I think that they are both doable. My personal preference would be
>>> for the in kernel solution on the grounds of efficiency.
>>
>>
>>
>> Better would be to have the kernel tell the daemon whenever a process
>> in exec-ed, and you have simplicity in the kernel, and policy in user
>> space.
>
>
> Yes. That would be a good solution. Does a mechanism that allows the
> kernel to notify specific programs about specific events like this exist?

I'm sure DaveM would suggest Netlink, but there are probably several
implementations for Linux.

I'll let other more knowledgeable people fill in the list.

Mike
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:01    [from the cache]
©2003-2011 Jasper Spaans