commit | 68062b86fc0f480b806d270a8278709a5a41bb67 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Wed Dec 06 20:36:53 2006 -0800 |
committer | Linus Torvalds <torvalds@woody.osdl.org> | Thu Dec 07 08:39:34 2006 -0800 |
tree | b8a89eb4aa6c29ded09283b7a88960e9fa106650 | |
parent | 34ec12349c8a9505adc59d72f92b4595bc2483ff [diff] |
[PATCH] taskstats: factor out reply assembling Introduce mk_reply() helper which does all nla_put()s on reply. Saves 453 bytes and a preparation for the next patch. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Acked-by: Shailabh Nagar <nagar@watson.ibm.com> Cc: Balbir Singh <balbir@in.ibm.com> Cc: Jay Lan <jlan@sgi.com> Cc: Thomas Graf <tgraf@suug.ch> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>