Re: how do YOU hack the linux kernel ?

From: Krzysztof Halasa
Date: Wed Jan 20 2010 - 13:04:37 EST

Ramagudi Naziir <naziirr@xxxxxxxxx> writes:

> do you use vim ?

Sure, for small changes. And emacs.

> If so, how do you open files you want to read/edit ?
> Assuming you don't remember their exact name/location, you'd need to
> use something like 'find . -iname '*pattern*'. which is slow.

Not very slow, if the tree is already in cache. You need only ca. 1 GB
of RAM for this. I never use ".", I use "*" instead as it ignores .git

$ time find * -iname \*pattern\*
real 0m0.051s

$ time grep "The pattern" * -r
real 0m0.330s

(grep -i is much slower).

Other tools? Git, gitk and WWW browser :-)
Krzysztof Halasa
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at