lkml.org 
[lkml]   [2002]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] multithreaded coredumps for elf exeecutables
    On Thu, Mar 21, 2002 at 03:46:50PM +0530, Vamsi Krishna S . wrote:
    > Dan,
    >
    > Thanks for pointing this out. I see that this change has now gone into
    > 2.4.18 as well as 2.5.4. We would ensure that the down_write happens
    > only after the registers of all threads are collected.

    Yes, your other patch for this looks OK.

    > Coming back to the original point raised by Pavel, indeed there is
    > nothing preventing external code (any other kernel modules) modifying
    > the cpus_allowed field from under us. This could get worse in 2.5.x
    > where a user could change cpu affinity (through proc or a syscall,
    > though I don't think the patches providing this are accepted as yet).

    We really need a non-signal-based way to tell the scheduler that a task
    can not be scheduled. A lot of the machinery is all there, but private to
    sched.c; the rest is pretty straightforward.

    --
    Daniel Jacobowitz Carnegie Mellon University
    MontaVista Software Debian GNU/Linux Developer
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:25    [W:0.029 / U:30.416 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site