public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Shailabh Nagar <nagar@watson.ibm.com>
To: Jay Lan <jlan@engr.sgi.com>
Cc: Balbir Singh <balbir@in.ibm.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@osdl.org>,
	Chris Sturtivant <csturtiv@sgi.com>, Jamal <hadi@cyberus.ca>,
	Thomas Graf <tgraf@suug.ch>
Subject: Re: ON/OFF control of taskstats accounting data at do_exit
Date: Thu, 15 Jun 2006 10:52:17 -0400	[thread overview]
Message-ID: <44917421.4070508@watson.ibm.com> (raw)
In-Reply-To: <4490D515.8070308@engr.sgi.com>

Jay Lan wrote:
> 
> Are you saying if there is no listener, data will not be assembled and sent
> by the kernel?  I thought kernel would always send no matter whether there
> is listener? I apologize for the noise if i made a mistake.

It will be assembled by taskstats. But afaict, the sending of data by the netlink layer will
be halted within netlink_broadcast(), which is a couple of calls down the call path from
genlmsg_multicast(), which is used by taskstats uses to send data out.

Lets discuss turning off of taskstats assembly separately.


Jamal, Thomas,

If there are no listeners on a genetlink socket, do you think overhead of kernel paths that
continue to attempt sending multicast data on genetlink sockets is an issue ?


--Shailabh


  reply	other threads:[~2006-06-15 14:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14 22:55 ON/OFF control of taskstats accounting data at do_exit Jay Lan
2006-06-15  3:01 ` Balbir Singh
2006-06-15  3:02 ` Shailabh Nagar
2006-06-15  3:33   ` Jay Lan
2006-06-15 14:52     ` Shailabh Nagar [this message]
2006-06-15 15:55     ` Shailabh Nagar
2006-06-15 17:24       ` Jay Lan
2006-06-15 18:14         ` Balbir Singh
2006-06-15 18:57           ` Jay Lan
2006-06-15 18:28         ` Shailabh Nagar
2006-06-15 23:41       ` Peter Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44917421.4070508@watson.ibm.com \
    --to=nagar@watson.ibm.com \
    --cc=akpm@osdl.org \
    --cc=balbir@in.ibm.com \
    --cc=csturtiv@sgi.com \
    --cc=hadi@cyberus.ca \
    --cc=jlan@engr.sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tgraf@suug.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox