Messages in this thread | | | Date | Thu, 19 Feb 2004 16:37:49 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: Eureka! (was Re: UTF-8 and case-insensitivity) |
| |
On Fri, 20 Feb 2004 tridge@samba.org wrote: > > yes, I've acknowledged that. I know you aren't going to give me the > ideal solution, I'm just exploring how far this is from the ideal and > trying to get a feel for how much it actually gains us compared to > what we do now.
I suspect the only way to know that is to code something up.
The kernel side (with the full "readdir()" loop and a TENTATIVE flag etc) is not likely to be that many lines of code, but it's definitely something where the person who writes those lines needs to really understand the kernel code to get anywhere at all. And it's in an "interesting" area of the kernel, so you have to be really careful. And you'd need somebody who is used to samba too, in order to do the path component walk side in user space work right with the new interface. So..
I an try to see if I can write something - I'd not do the actual comparison function, but I have the rough framework in my mind. I won't get to it for another day or two, at _least_, though.
With that set up, getting numbers and doing a kernel profile to see where the time goes is probably not hard - again, if you have a samba setup with benchmarks already set up. I just don't know anybody who knows both pieces of the puzzle..
(This, btw, was the big problem with pthreads too. The 2.6.x threading improvements were things that had been discussed for years, but it took until Ingo, Uli and Roland actually sat down and looked at both the user side and the kernel side before anything really happened).
Linus - 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/
| |