Re: [RFC][PATCH] O(1) Entitlement Based Scheduler

From: Bill Davidsen (davidsen_at_tmr.com)
Date: 02/26/04

  • Next message: Andrew Morton: "Re: /proc visibility patch breaks GDB, etc."
    Date:	Thu, 26 Feb 2004 15:14:59 -0500
    To: Mike Fedyk <mfedyk@matchmail.com>
    
    

    Mike Fedyk wrote:
    > Shailabh Nagar wrote:
    >
    >>>> Mike Fedyk wrote:
    >>>>
    >>>>> 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.
    >>
    >>
    >>
    >>
    >> As it turns out, one can still use a fairly simple in-kernel module
    >> which provides a *mechanism* for effectively changing a process'
    >> entitlement while retaining the policy component in userland.
    >
    >
    > How much code could be removed if CKRM triggered a userspace process to
    > perform the operations required?

    One other interesting question is what would happen if the userspace
    program didn't run, died, etc. Or set some ill-behaved other user
    program to a higher priority and the other program did a DoS
    (intentional or not)?

    I don't like the whole idea, but I like it even less with a user program
    requiring context switches on scheduling.

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


  • Next message: Andrew Morton: "Re: /proc visibility patch breaks GDB, etc."

    Relevant Pages

    • Re: [RFC] frandom - fast random generator module
      ... |> are in the kernel, ... |> is a bitch in shell scripts;-) ... Not to mention that to get entropy the user program will have to ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC] frandom - fast random generator module
      ... That doesn't seem to be part of the bash I have, ... Not to mention that to get entropy the user program will have to ... accessed from shell scripts" is idiotic. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: process creation time increases linearly with shmem
      ... > shared memory segment that the parent touches. ... > is a very simple user program that illustrates this behavior, ... Send instant messages to your online friends http://au.messenger.yahoo.com ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] to drivers/input/evdev.c to add mixer device "/dev/input/events"
      ... >> So, overall, I agree that we should not invent hacks to make up for ... >> If the kernel could handle that aspect, it would make all programs more stable. ... Each user program should not care about it. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)