Re: Linux 2.6.24-rc7: sparc64: WARNING: at kernel/lockdep_proc.c:267lockdep_stats_show()

From: Randy Dunlap
Date: Tue Jan 08 2008 - 17:48:07 EST


Mariusz Kozlowski wrote:
Hello,

Got this when doing usual looping over /proc entries on fresh test kernel:
What is the usual looping, please?

#!/bin/bash

for i in `find /proc -type f`; do
echo -n "cat $i > /dev/null ... ";
( cat $i > /dev/null & );
echo "done";
done

OK, thanks. Probably not related to the problem report, but
the script should probably check each file for 'readable' (-r).
/proc/sysrq-trigger is write-only...

--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/