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
+++
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
+++
2 matches
Mail list logo