lkml.org 
[lkml]   [2002]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [patch] tasks.h
    Date
    On Saturday 12 October 2002 08:59, Tim Schmielau wrote:

    > More work will be neccessary to completely disentangle both files, so that
    > sched.h doesn't need to include tasks.h. Biggest obstacle is get_task_mm()
    > which needs both task_struct and mm_struct. Maybe I'll break out something
    > like a <linux/task_mm.h> later.

    AFAICS, get_task_mm() is never used in a fast path, only in
    ptrace and procfs code where a few cpu cycles don't hurt anyone.
    Any reason why you can't just make it an extern function?

    Arnd <><
    -
    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:30    [W:0.043 / U:0.448 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site