[lkml]   [2011]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 07/19] ptrace: use bit_waitqueue for TRAPPING instead of wait_chldexit
    On Tue, May 24, 2011 at 11:37 AM, Tejun Heo <> wrote:
    > +               wake_up_bit(&task->jobctl, ilog2(JOBCTL_TRAPPING));

    Why do people do this *SHIT*?

    Stop it.

    If you need the bit number, then define the damn thing in terms of bit
    numbers! Do

    #define JOBCTL_TRAPPING_BIT xxx

    but never ever do that stupid ilog2() thing. Every time I see it I go
    "ok, that's just total crap".

    Don't do it.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2011-05-24 21:07    [W:0.020 / U:129.596 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site