Patch Name: PHKL_27839 Patch Description: s700_800 11.11 physio thread hang Creation Date: 02/09/12 Post Date: 02/10/17 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_27839 Symptoms: PHKL_27839: ( SR:8606261885 CR:JAGae26205 ) In a multi-threaded process, if one thread is doing raw or character device I/O, other threads in the process may fail to make forward progress until the I/O completes. Defect Description: PHKL_27839: ( SR:8606261885 CR:JAGae26205 ) The raw I/O routine was holding the process' virtual address space (vas) lock for the duration of the I/O, even though it was not needed for the normal case and only rarely needed for an exception case. This effectively blocked any other thread in the process which needed access to the vas lock, such as for another I/O, thread creation, mmap, thread exit, etc., for the duration of the I/O. When the I/O was to a slow device, such as a tape drive, this could be a considerable delay. Resolution: Eliminated use of the vas lock in the normal raw or character device I/O path, retaining its usage only for the rare exception case. Enhancement: No SR: 8606261885 Patch Files: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libsvc-pdk.a(physio.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libsvc-pdk.a(physio.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libsvc-pdk.a(physio.o): physio.c $Date: 2002/09/05 13:05:35 $Revision: r11.1 1/1 PATCH_11.11 (PHKL_27839) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libsvc-pdk.a(physio.o): physio.c $Date: 2002/09/05 13:05:35 $Revision: r11.1 1/1 PATCH_11.11 (PHKL_27839) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 389841480 10916 /usr/conf/lib/libsvc-pdk.a(physio.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 1219005764 22128 /usr/conf/lib/libsvc-pdk.a(physio.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_27364: s700: 11.00 s800: 11.00 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_27839 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_27839.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_27839. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHKL_27839.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_27839.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_27839.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None