Hello!
I using patch 1.9.12 for 2.4.22, and, after profiling kernel I noticed that gr_attach_curr_ip leading in readprofile just after default_idle, with all grsec network options turned off
here is output of
readprofile -m /boot/System.map-2.4.22-grsec | sort -nr | head -10
289227 total 0.1998
144133 default_idle 2771.7885
85892 gr_attach_curr_ip 230.8925
7095 do_wp_page 10.6213
5295 do_fork 2.4883
3625 do_exit 4.7697
3155 schedule 2.4047
3057 release_task 6.7039
2045 do_page_fault 1.5804
1613 system_call 28.8036
why gr_attach_curr_ip is consumung CPU?
my config:
enabled only jail restrictions with chroot_findtask, dmesg, chroot_deny_sysctl turned on
Linux 2.4.22 patched with grsec 1.9.12, two AIC7XXX drives in raid0, reiserfs over raid, ext3 as root, 4G RAM, two pentium4 with ht enabled, total 4 cpus, running mostly Apache 1.3.28 & mysql 3.23.56