[lkml]   [1998]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [2.1.90 patch] SMP sys_idle() user level hang
    On Wed, 25 Mar 1998, Alexander Kjeldaas wrote:

    >If you want to check whether the process is kernel or userland, it is
    >probably better to compare current->mm to &init_mm since kernel
    >threads don't have pid == 0.

    The current->pid test should be enaugh since sys_idle should be not useful
    for them (it goes the process to sleep forever). If I am wrong we must
    change the 2.1.90 not SMP and the two SMP/UP 2.0.33 version too.

    Andrea[s] Arcangeli

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to

     \ /
      Last update: 2005-03-22 13:41    [W:0.018 / U:6.408 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site