x86: Why have __copy_from_user_ll_nocache* been exported?
A commit that does nothing except for adding two unused EXPORT_SYMBOL's.
Without any rationale why they should be exported.
And that from a person who on the other hand wants to introduce (and tries to force on other people) deprecation periods for unused EXPORT_SYMBOL's.
Can we please get this reverted quickly?
TIA
Adrian
commit 914c82694cadbab511f2aee8a59c89be2938bace
Author: Andrew Morton <[email protected]> Date: Wed Jan 30 23:27:57 2008 +0100
x86: export copy_from_user_ll_nocache[_nozero]
arch/x86/lib/usercopy_32.c +2 -0
@@ -817,6 +817,7 @@ unsigned long __copy_from_user_ll_nocache(void *to, const void __user *from,#endif return n; } +EXPORT_SYMBOL (__copy_from_user_ll_nocache);unsigned long __copy_from_user_ll_nocache_nozero (void *to,const void __user *from,unsigned long n)
@@ -831,6 +832,7 @@ unsigned long __copy_from_user_ll_nocache_nozero(void *to, const void __user *fr#endif return n; } +EXPORT_SYMBOL (__copy_from_user_ll_nocache_nozero);/** * copy_to_user: - Copy a block of data into user space.
Quoted 4 lines · Adrian Bunk
A commit that does nothing except for adding two unused EXPORT_SYMBOL's.
Without any rationale why they should be exported.
the rationale is obvious: it's part of the standard uaccess functionality and while it's rarely used (in fact it's not used by any modular code right now) there's no reason not to export it alongside the other uaccess vectors. We can unexport it once we unexport all uses of the uaccess APIs. We could make it a _GPL export perhaps.
It's very annoying to driver writers when a small portion of a sensible API vector is not available symmetrically.
Quoted 3 lines
And that from a person who on the other hand wants to introduce (and tries to force on other people) deprecation periods for unused EXPORT_SYMBOL's.
why does this bother you? The API makes total sense. This is a completely sensible API (with a full implementation) to use non-temporal copies. I mean, if this was some legacy API that nobody uses anymore i'd agree, but this is about the ability to access user-space memory via SSE2+ non-temporal stores.
Ingo
Quoted 9 lines · Ingo Molnar
Quoted 3 lines
And that from a person who on the other hand wants to introduce (and tries to force on other people) deprecation periods for unused EXPORT_SYMBOL's.
why does this bother you? The API makes total sense. This is a completely sensible API (with a full implementation) to use non-temporal copies. I mean, if this was some legacy API that nobody uses anymore i'd agree, but this is about the ability to access user-space memory via SSE2+ non-temporal stores.
Adrian, you have still not answered the (obvious) question: why do such currently-unused exports bother you?
Ingo
Quoted 3 lines · On Thu, 31 Jan 2008 22:14:30 +0200 Adrian Bunk <[email protected]> wrote:
A commit that does nothing except for adding two unused EXPORT_SYMBOL's.
Without any rationale why they should be exported.
Don't look at me. This has been sitting in my tree for nearly two years as part of the reiser4 patchset. It may not even be needed any more. I guess Ingo went on a fishing expedition and liked the change.
Quoted 3 lines
And that from a person who on the other hand wants to introduce (and tries to force on other people) deprecation periods for unused EXPORT_SYMBOL's.
For very good reasons which you perversely and persistently ignore.
Quoted 8 lines · Andrew Morton
Quoted 4 lines
A commit that does nothing except for adding two unused EXPORT_SYMBOL's.
Without any rationale why they should be exported.
Don't look at me. This has been sitting in my tree for nearly two years as part of the reiser4 patchset. It may not even be needed any more. I guess Ingo went on a fishing expedition and liked the change.
yes, i picked it up from -mm (as can be seen from the SOB line), and i agreed with that change regardless of the reiser4 patchset. (which might never see the light of upstream acceptance)
there's nothing more annoying than incomplete and inconsistent APIs. I'm trying to fix them up everywhere i see, and this is one of those cases. Adrian still has not given any rationale about why he wants to see the export removed.
Ingo
Quoted 11 lines · Andrew Morton
Quoted 3 lines · On Thu, 31 Jan 2008 22:14:30 +0200 Adrian Bunk <[email protected]> wrote:
A commit that does nothing except for adding two unused EXPORT_SYMBOL's.
Without any rationale why they should be exported.
Don't look at me. This has been sitting in my tree for nearly two years as part of the reiser4 patchset. It may not even be needed any more. I guess Ingo went on a fishing expedition and liked the change.
...
Sorry Andrew.
I misunderstood the patch flow.
And much more important, the tone of my email was not appropriate.
Due to unrelated reasons I was Thursday evening in a mood in which I should not have left emails out of my postponed folder without sleeping a night over them.
I hope you accept my apology.
Yours
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 15 lines · On Sat, 2 Feb 2008 23:36:28 +0200 Adrian Bunk <[email protected]> wrote:
Quoted 11 lines · Andrew Morton
Quoted 3 lines · On Thu, 31 Jan 2008 22:14:30 +0200 Adrian Bunk <[email protected]> wrote:
A commit that does nothing except for adding two unused EXPORT_SYMBOL's.
Without any rationale why they should be exported.
Don't look at me. This has been sitting in my tree for nearly two years as part of the reiser4 patchset. It may not even be needed any more. I guess Ingo went on a fishing expedition and liked the change.
...Sorry Andrew.
Quoted 7 lines
I misunderstood the patch flow.
And much more important, the tone of my email was not appropriate.
Due to unrelated reasons I was Thursday evening in a mood in which I should not have left emails out of my postponed folder without sleeping a night over them.
I know the feeling.
Quoted 1 line
I hope you accept my apology.
No probs. But it's not really needed - this is lkml. We shout at each other, get over it and get on with stuff.
Quoted 11 lines · Adrian Bunk
Sorry Andrew.
I misunderstood the patch flow.
And much more important, the tone of my email was not appropriate.
Due to unrelated reasons I was Thursday evening in a mood in which I should not have left emails out of my postponed folder without sleeping a night over them.
I hope you accept my apology.
i'd like to apologize to you too Adrian - i should have been (a lot) more patient as well - the merge window is not for the faint hearted i guess :-/
Ingo
Quoted 12 lines · Adrian Bunk
Quoted 11 lines
Sorry Andrew.
I misunderstood the patch flow.
And much more important, the tone of my email was not appropriate.
Due to unrelated reasons I was Thursday evening in a mood in which I should not have left emails out of my postponed folder without sleeping a night over them.
Quoted 5 lines
Quoted 1 line
I hope you accept my apology.
i'd like to apologize to you too Adrian - i should have been (a lot) more patient as well - the merge window is not for the faint hearted i guess :-/
Apology accepted.
Quoted 1 line
Ingo
cu
Adrian
BTW: Your emails really brought me near to leaving kernel development.
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed