Re: [RFC][PATCH v2 1/7] taskstats: Add new taskstats commandTASKSTATS_CMD_ATTR_PIDS
From: Peter Zijlstra
Date: Sat Nov 13 2010 - 14:40:05 EST
On Thu, 2010-11-11 at 18:03 +0100, Michael Holzheu wrote:
> + if (cmd_pids->cnt > 1000) // XXX socket buffer size check
What's the implication of this limit? Does that mean that if there's
more than 1000 tasks on the system the whole interface falls flat on its
face or does that mean we get at most 1000 tasks worth of information
per syscall?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/