<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MONITOR/MWAIT in user-level app in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/MONITOR-MWAIT-in-user-level-app/m-p/946001#M5103</link>
    <description>I too am trying to get this to work in userspace.  CPUID tells me that the feature is supported unconditionally, but I get the same illegal instruction error message.  Also, I greped through the linux source code of the version that I'm running, and I couldn't find any code that disables it.  What could be wrong?&lt;BR /&gt;&lt;BR /&gt;I understand the implications of doing this in user space.  I'm doing this purely as a feasibility study.&lt;BR /&gt;&lt;BR /&gt;Marek</description>
    <pubDate>Sun, 11 Dec 2005 05:12:10 GMT</pubDate>
    <dc:creator>olszewski_marek</dc:creator>
    <dc:date>2005-12-11T05:12:10Z</dc:date>
    <item>
      <title>MONITOR/MWAIT in user-level app</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/MONITOR-MWAIT-in-user-level-app/m-p/945999#M5101</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to use MONITOR/MWAIT in a user-level application running on Linux 2.6.5.  But, I'm getting an Illegal Instruction exception on them.  I used CPUID to verify that MONITOR/MWAIT are supported, which, according to the Intel IA-32 manual, means that unconditional execution is supported at privilege level 0 and conditional execution is supported at privilege levels 1 through 3.  So, what can I do to enable MONITOR/MWAIT support in a user-level app?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;-- Matt</description>
      <pubDate>Mon, 02 Aug 2004 06:45:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/MONITOR-MWAIT-in-user-level-app/m-p/945999#M5101</guid>
      <dc:creator>falkenhagen</dc:creator>
      <dc:date>2004-08-02T06:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: MONITOR/MWAIT in user-level app</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/MONITOR-MWAIT-in-user-level-app/m-p/946000#M5102</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Matt -&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks for stopping into the Threading Forum with your question. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;May I ask why you are hoping to use MONITOR/MWAIT in your application? What advantages do you expect to receive? &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;We've some discussion in the past on this topic (see &lt;A href="http://softwareforums.intel.com/ids/board/message?board.id=42&amp;amp;message.id=417" target="_blank"&gt;http://softwareforums.intel.com/ids/board/message?board.id=42&amp;amp;message.id=417&lt;/A&gt;), and I don't think that there is any favorable situation for using these at the level you are asking about. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;If you still feel you can get some performance from using these instructions, let me know and I'll see if I can find someone that is more expert in the details for you.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;--clay&lt;/DIV&gt;</description>
      <pubDate>Sat, 07 Aug 2004 02:58:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/MONITOR-MWAIT-in-user-level-app/m-p/946000#M5102</guid>
      <dc:creator>ClayB</dc:creator>
      <dc:date>2004-08-07T02:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: MONITOR/MWAIT in user-level app</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/MONITOR-MWAIT-in-user-level-app/m-p/946001#M5103</link>
      <description>I too am trying to get this to work in userspace.  CPUID tells me that the feature is supported unconditionally, but I get the same illegal instruction error message.  Also, I greped through the linux source code of the version that I'm running, and I couldn't find any code that disables it.  What could be wrong?&lt;BR /&gt;&lt;BR /&gt;I understand the implications of doing this in user space.  I'm doing this purely as a feasibility study.&lt;BR /&gt;&lt;BR /&gt;Marek</description>
      <pubDate>Sun, 11 Dec 2005 05:12:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/MONITOR-MWAIT-in-user-level-app/m-p/946001#M5103</guid>
      <dc:creator>olszewski_marek</dc:creator>
      <dc:date>2005-12-11T05:12:10Z</dc:date>
    </item>
  </channel>
</rss>

