lkml.org 
[lkml]   [2006]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] Add memcpy_cachebypass, a copy routine that tries to keep cache pressure down
From
From: Bryan O'Sullivan <bos@serpentine.com>
Date: Tue, 11 Jul 2006 15:05:08 -0700

> 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 is linked in as an object, not into the library archive,
that's why that one works like that.

That is why io.o is added to the "obj-y" variable instead of the
"lib-y" variable. It is also necessary to link these things
in as objects when module exports are present, because if there
is no in-kernel reference to the function, you won't get the
function nor it's module export :)
-
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:09    [W:0.361 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site