Messages in this thread | | | Date | Thu, 10 Jul 2003 01:55:26 -0400 | From | Pete Zaitcev <> | Subject | Re: crypto API and IBM z990 hardware support |
| |
>> I totally disagree. I think the way we do things today is _STUPID_. >> We put arch code far away from the generic version which makes finding >> stuff very difficult for people inspecting the code for the first time. >> >> For example, the fact that I have to go groveling in >> arch/foo/lib/whoknowswhatfile.whoknowswhatextension to look at >> the memcpy/checksum/whatever implementation is completely busted.
> E.g. most of include/net/tcp.h pretty much only matters for > net/ipv4/. It would be so nice if a grep -w thing *.[ch] in > net/ipv4/ would really find all uses of "thing".
I always do this:
cd linux find . \( -name 'Make*' -o -name '*.[hcS]' \) > src.list cat src.list| LANG=C xargs grep foo
It's only a CPU time, really.
-- Pete - 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/
| |