portfs and port_send_event

From: Noveljic Nenad <nenad.noveljic_at_vontobel.com>
Date: Thu, 12 Apr 2018 08:39:33 +0000
Message-ID: <82592_1523522386_5ACF1B52_82592_8337_1_ECDEF0CC6716EC4596FCBC871F48292AB1996555_at_ZRH-S231>



Is somebody familiar with the specification of Oracle Solaris kernel functions portfs and port_send_event?

These functions are a part of the Solaris Event Completion framework. This framework seems to be used instead of semaphores for posting messages between processes on the Solaris implementation of Oracle.

Here is an example of a call stack within the lgwr process:

port_send_event(FFFFA22B765EFBA8)

              libc.so.1`_portfs+0xa
              oracle`sskgpwpost+0xf0
              oracle`kslpsprns+0x19c
              oracle`kcrfw_slave_queue_insert+0x361
              oracle`kcrfw_redo_write_driver+0x73e
              oracle`ksbabs+0x15c4
              oracle`ksbrdp+0x4ce
              oracle`opirip+0x2cd
              oracle`opidrv+0x24a
              oracle`sou2o+0x64
              oracle`opimai_real+0x9f
              oracle`ssthrdmain+0x21d
              oracle`main+0x94
              oracle`0xabcb95b

While the other port_* functions are well documented (see https://docs.oracle.com/cd/E86824_01/html/E54766/port-send-3c.html#scrolltoc ) these two are completely missing despite being heavily used.

Best regards,

Nenad

http://nenadnoveljic.com/blog/



Please consider the environment before printing this e-mail. Bitte denken Sie an die Umwelt, bevor Sie dieses E-Mail drucken.

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">p { font-family: Arial;font-size:9pt }</style>
</head>
<body>
<p>
<br>Important Notice</br>
<br>This message is intended only for the individual named. It may contain confidential or privileged information. If you are not the named addressee you should in particular not disseminate, distribute, modify or copy this e-mail. Please notify the sender immediately by e-mail, if you have received this message by mistake and delete it from your system.</br>
<br>E-mail transmission may not be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete. Also processing of incoming e-mails cannot be guaranteed. All liability of the Vontobel Group and its affiliates for any damages resulting from e-mail use is excluded. You are advised that urgent and time sensitive messages should not be sent by e-mail and if verification is required please request a printed version.<br/>
</p>
</body>
</html>

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Apr 12 2018 - 10:39:33 CEST

Original text of this message