Patch Name: PHKL_20471 Patch Description: s700 10.26 kernel security module performance patch Creation Date: 00/03/24 Post Date: 00/04/13 Hardware Platforms - OS Releases: s700: 10.26 Products: N/A Filesets: BLS.BLS-CORE Automatic Reboot?: Yes Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700/10.X/PHKL_20471 Symptoms: PHKL_20471: kernel security module performance boost up Defect Description: PHKL_20471: The kernel security modules manage its own for all the dynamic memory requirements for less than 2440 bytes. Because of this it bypasses the global memory management scheme which is optimized for 1. Use of superpages for memory allocation of size < 4K which reduces TLB misses. 2. Use of per spu buffer cache in MP environment This decreases the performance considerably. Resolution: Use the regular kmalloc() and kfree() for all size of dynamic memory allocation in kernel security modules. SR: 0000000000 Patch Files: /usr/conf/lib/libsec.a(sw_alloc.o) what(1) Output: /usr/conf/lib/libsec.a(sw_alloc.o): 00/03/07 kern/sec/sec_alloc.c, hpux, hpux_10.26, ic5 em Revision 1.7 PATCH_10.26 (PHKL_20471) cksum(1) Output: 2217592240 2604 /usr/conf/lib/libsec.a(sw_alloc.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_20472: s800: 10.26 Patch Package Size: 60 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHKL_20471 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_20471.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_20471. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHKL_20471.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_20471.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None