Skip to contentSkip to conversation

fixing sendfile on 64bit architectures

PATCH Andi Kleen 1 participant 1 message May 21, 2004 9 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#9 lore raw
Quoted 3 lines · Andrew Morton

An alternative might be to remove all the ifdefs, build with -ffunction-sections and let the linker drop any unreferenced code...

I am not sure if it will handle EXPORT_SYMBOL correctly. Sometimes we have the situation that a function is only referenced from EXPORT_SYMBOL, but we do not want the linker to drop it because modules may use it. (this regularly causes problems in lib-y files)

If it did it would be great to use though. I am sure there are other dead functions around too. Or maybe someday we could even use the IPA functionality in gcc 3.4 ...

-Andi