fprintf(fp, "\t\t\t/* Buffer is full*/\n");
fprintf(fp, "\t\t\t/* for debug BUG(); */\n"); // DEBUG!
fprintf(fp, "\t\t\tchannel->events_lost[smp_processor_id()]++;\n");
- fprintf(fp, "\t\t\tgoto commit_work;\n");
+ fprintf(fp, "\t\t\tbreak;\n"); /* don't commit a NULL reservation! */
fprintf(fp, "\t\t}\n");
/* DEBUG */
}
if(structCount + seqCount > 1) fprintf(fp,"\n");
- fprintf(fp,"\n");
- fprintf(fp,"commit_work:\n");
fprintf(fp,"\n");
fprintf(fp, "\t\t/* Commit the work */\n");
fprintf(fp, "\t\trelay_commit(channel->rchan->buf[smp_processor_id()],\n"
<struct>
<field name="priority"> <description>Tasklet priority</description> <typeref name=tasklet_priority/> </field>
<field name="address"> <description>Tasklet function address</description> <pointer/> </field>
+ <field name="data"> <description>Tasklet data address</description> <ulong/> </field>
</struct>
</event>
<struct>
<field name="priority"> <description>Tasklet priority</description> <typeref name=tasklet_priority/> </field>
<field name="address"> <description>Tasklet function address</description> <pointer/> </field>
+ <field name="data"> <description>Tasklet data address</description> <ulong/> </field>
</struct>
</event>
<struct>
<field name="order"> <description>Order of the page to allocate</description> <uint size=4/> </field>
<field name="address"> <description>Assigned page address, or 0 if
- failed.</description> <ulong/> </field>
+ failed.</description> <pointer/> </field>
</struct>
</event>
<description>Page free</description>
<struct>
<field name="order"> <description>Order of the page to free</description> <uint size=4/> </field>
- <field name="address"> <description>Address of the page to free.</description> <ulong/> </field>
+ <field name="address"> <description>Address of the page to free.</description> <pointer/> </field>
</struct>
</event>
<event name=swap_in>
<description>Page swapped into memory</description>
<struct>
- <field name="address"> <description>Address of the page to swap in.</description> <ulong/> </field>
+ <field name="address"> <description>Address of the page to swap in.</description> <pointer/> </field>
</struct>
</event>
<event name=swap_out>
<description>Page swapped to disk</description>
<struct>
- <field name="address"> <description>Address of the page to swap out.</description> <ulong/> </field>
+ <field name="address"> <description>Address of the page to swap out.</description> <pointer/> </field>
</struct>
</event>
<event name=page_wait_start>
<description>Staring to wait for a page</description>
<struct>
- <field name="address"> <description>Address of the page we wait for.</description> <ulong/> </field>
+ <field name="address"> <description>Address of the page we wait for.</description> <pointer/> </field>
</struct>
</event>
<event name=page_wait_end>
<description>Ending wait for a page</description>
<struct>
- <field name="address"> <description>Address of the page we wait for.</description> <ulong/> </field>
+ <field name="address"> <description>Address of the page we wait for.</description> <pointer/> </field>
</struct>
</event>