lkml.org 
[lkml]   [2001]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] task_struct colouring ...
    On Sat, 1 Dec 2001, Alan Cox wrote:

    > > The point is why store kernel pointers in global registers when You can
    > > achieve the same functionality, with a smaller patch, that does not need
    > > to be recoded for each CPU, without using global registers.
    >
    > Because it is much much much faster

    We'll see how much faster is the global register allocation against code
    like :

    movl %esp, %eax
    andl $-8192, %eax
    movl (%eax), %eax

    Because you can justify a global register allocation only if this "much
    much faster" translates to a number that has sense.




    - Davide




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