Re: [Patch][RFC] Disabling per-tgid stats on task exit intaskstats

From: Andrew Morton
Date: Wed Jun 21 2006 - 16:37:26 EST


On Wed, 21 Jun 2006 12:11:13 -0700
Jay Lan <jlan@xxxxxxxxxxxx> wrote:

> Another observation that i considered bad news is that all
> 10 runs produced 1 to 5 recv() error with errno=105 (ENOBUF).

Well that's rather bad. AFAICT most of the allocations in there are
GFP_KERNEL, so why is this happening?

Because the kernel is producing netlink messages faster than userspace can
consume them, perhaps? If so, the sender needs to block, which means we
need to make reception of these stats a privileged operation?
-
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/