[PATCH 6.1] dm: limit the number of targets and parameter size area