lkml.org 
[lkml]   [2006]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Add memcpy_cachebypass, a copy routine that tries to keep cache pressure down
From
Date
On Tue, 2006-07-11 at 14:57 -0700, David Miller wrote:

> I didn't realize there was change afoot in this area, sorry.
> I was just striving for consistency with current practice.

Sure.

> When the kernel is linked, lib.a implementations only get brought in
> if they are not already resolved by definitions present in the other
> objects of the kernel image.

Well, exactly this scheme seems to work for __iowrite_copy*. There's a
weak generic version and a strong version in arch/x86_64/lib that
overrides it, and it gets picked up at kernel link time.

It could be working by accident, I suppose, but it's at least consistent
behaviour with what I'm used to from weak symbols.

<b

-
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: 2006-07-12 00:07    [W:1.242 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site