lkml.org 
[lkml]   [2011]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] sched/kthread: Complain loudly when others violate our flags
    On Mon, 3 Oct 2011, Peter Zijlstra wrote:

    > On Mon, 2011-10-03 at 12:20 +0200, Peter Zijlstra wrote:
    > > I didn't write this change for fun, I actually need to get
    > > PF_THREAD_BOUND back to sanity, this change alone isn't enough, but it
    > > gets rid of the worst abuse. This isn't frivolous perturbation.
    >
    > Not to mention it gets rid of ~250 lines, and it adds stricter checking
    > and thereby removes the need to manually flush queues if you really
    > meant things to be per-cpu.
    >
    > I mean, really, what's the downside?

    Nothing. If code can be simplified and at the same time gets stricter
    semantics and becomes less fragile then there is no valid reason to
    refuse such a cleanup.

    Thanks,

    tglx


    \
     
     \ /
      Last update: 2011-10-03 15:47    [W:0.030 / U:5.324 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site