Re: [PATCH 1/2] kthread_create

From: Rusty Russell (rusty_at_rustcorp.com.au)
Date: 01/05/04

  • Next message: Davide Libenzi: "Re: [PATCH 1/2] kthread_create"
    To: Davide Libenzi <davidel@xmailserver.org>
    Date:	Mon, 05 Jan 2004 17:38:47 +1100
    
    

    In message <Pine.LNX.4.44.0401042100510.15831-100000@bigblue.dev.mdolabs.com> you write:
    > Honestly I do not like playing with SIGCLD/waitpid for things that do not
    > concern real task exits.

    Well, it's pretty well documented.

    > But I think it can be avoided, and actually I
    > don't know why I did not think about this before. We don't need to return
    > a struct task_struct* for kthread_create(). We can have:
    >
    > struct kthread_struct {

    Nope. That's EXACTLY the kind of burden on the caller I wanted to
    avoid if at all possible.

    I just have decide whether to submit the wait one or the shared queue
    one to Andrew....

    Rusty.

    --
      Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
    -
    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: Davide Libenzi: "Re: [PATCH 1/2] kthread_create"

    Relevant Pages

    • Re: keventd_create_kthread
      ... this replacement? ... * wait_task_inactive - wait for a thread to unschedule. ... -- Rusty Russell. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: modprobe failed: digest_null
      ... With the change to default to idemptent behavior (modprobe foo when ... -- Rusty Russell. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.6-rc3-mm2
      ... How about debugging a known problem instead of whining how your arch was ... Anyone who quotes me in their signature is an idiot -- Rusty Russell ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [CPU Hotplug PATCH] Restore Idle tasks priority during CPU_DEAD notification
      ... Without this patch, once a CPU is offlined and then later onlined, it ... becomes "more or less" useless ... > Anyone who quotes me in their signature is an idiot -- Rusty Russell> -- ... 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/ ...
      (Linux-Kernel)
    • Re: [PATCH][2.6] Fix module_text_address/store_stackinfo race
      ... > which opens up a race with the module load/unload code. ... Anyone who quotes me in their signature is an idiot -- Rusty Russell ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)