lkml.org 
[lkml]   [2023]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH 00/86] Make the kernel preemptible
    On Wed, Nov 08, 2023 at 03:00:44AM -0800, Ankur Arora wrote:

    > Ah now I see what you are saying.
    >
    > Quick thought: even if we were running under NONE, eventually you'll

    Well, NONE, you get what you pay for etc..

    > want to forcibly preempt out a CPU hog. So we will need to have
    > at least this one enabled always:
    >
    > > * irqentry_exit_cond_resched <- irqentry_exit_cond_resched
    >
    > These two, it might make sense to toggle them based on model.
    >
    > > * preempt_schedule <- preempt_schedule
    > > * preempt_schedule_notrace <- preempt_schedule_notrace
    >
    > Anyway let me think about this more and respond tomorrow.

    That's more or less killing NONE. At that point there's really no point
    in having it.

    I would really suggest you start with transforming VOLUNTARY into the
    LAZY thing, keep it as simple and narrow as possible.

    Once you've got that done, then you can try and argue that NONE makes no
    sense and try and take it out.

    Smaller step etc..

    \
     
     \ /
      Last update: 2023-11-20 13:52    [W:3.326 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site