Question about lwkt_domsg()

Nuno Antunes nuno.antunes at
Sun Jul 8 06:12:33 PDT 2012


lwkt_domsg() comment reads like this,

 * lwkt_domsg()
 *      Request asynchronous completion and call lwkt_beginmsg().  The
 *      target port can opt to execute the message synchronously or
 *      asynchronously and this function will automatically queue the
 *      response if the target executes the message synchronously.

However, in the function body, the sync flag is set:
    msg->ms_flags |= MSGF_SYNC;

Should the comment read instead "Request synchronous completion [...]" ?


More information about the Kernel mailing list