Re: [PATCH] Add memcpy_cachebypass, a copy routine that tries tokeep cache pressure down

From: Bryan O'Sullivan
Date: Tue Jul 11 2006 - 18:03:33 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/