Kernel source tree splitting
Quoted 2 lines
But whilst you're waiting, hardlink everything together, and patch the differences (patch knows how to break hardlinks).
I don't trust that approach -- too easy to screw up.
Quoted 2 lines
Make a script that cp -lR's the tree to another copy (normally takes < 1s), and then remove the other arches. grep that.
That could work for the reference tree.
Quoted 3 lines
cscope with prebuilt indeces on a filtered subset of the files may well do better than grep, depending on exactly what you're doing (does 99% of it for me).
Have you tried lxr? The website is cool but you really need a local
copy for speed.
------
Chuck