Why map in tw_lptype must be defined manually in built-in mappings? In custom mappings the map field is required to assign LPs to their PE. In built-in mappings the map field must also be specified even though it seems that there enough information to set it automatically.
For instance, for the built-in mappings a function like the following should provide the PE mapping automatically:
tw_peid map(tw_lp id) {
return g_tw_lp[id]->pe->id;
}
Am I missing something, or it's just that the configuration of the map field has not yet been automated for built-in mappings?