[lkml]   [2002]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] 2/2 2.5.45 cleanup & add original copy_ro/from_user
    On Sat, 02 Nov 2002 10:13:46 -0800
    Andrew Morton <> mentioned:
    > Akira Tsukamoto wrote:
    > > > size by 17 kbytes, which is larger than my entire Layer 1 instruction
    > > > cache!
    > >
    > > It is because I was working on this patch based on 2.5.44 :)

    Oh, Oh,
    I meant the above that I *do* agree you. I just wanted to say,
    two function was kept inline because from before 2.4 until though 2.5.44,
    it was inlined, and when I received the faster-intel-copy from
    Takahashi, I was working my patch against 2.5.44.

    Just move __copy_to/from_user to usercopy.c will decrease the
    kernel size and should be almost the same as before.
    Am I missing something?

    > - cache misses are slow
    > - kernel has no right to be evicting user code from the CPU cache

    Is this relevant to this patch?
    I did not change any in my patch about it.

    > - subroutine calls are fast

    You mean almost no overhead.

    > - smaller is faster

    It could be said more efficient but faster?
    The code or binary size directly connected to this issue?

    > - inlining to the point of increasing code size is probably wrong

    I agree, as my first comment.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

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