fs/proc/array.c buglet

2000-10-12 Thread David Mosberger
The attached 1-character change fixes a performance bug in linux-2.4.0-test9 (and earlier). Without this patch, something as simple as "cat /proc/self/maps" will read the "maps" file line by line. --david --- linux-2.4.0-test9/fs/proc/array.c Fri Sep 8 14:34:59 2000 +++

fs/proc/array.c buglet

2000-10-12 Thread David Mosberger
The attached 1-character change fixes a performance bug in linux-2.4.0-test9 (and earlier). Without this patch, something as simple as "cat /proc/self/maps" will read the "maps" file line by line. --david --- linux-2.4.0-test9/fs/proc/array.c Fri Sep 8 14:34:59 2000 +++