summaryrefslogtreecommitdiff
path: root/Documentation/accounting
diff options
context:
space:
mode:
authorBalbir Singh <balbir@in.ibm.com>2006-10-01 10:28:53 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 11:39:29 +0400
commit0ae646845b603e9df5711084436d389f8371ffb3 (patch)
tree1554ba465812cc10c10b9bd28020a34effe0d8d4 /Documentation/accounting
parent17db952cd16cecc76937b138c685ae3d198ab17c (diff)
downloadlinux-0ae646845b603e9df5711084436d389f8371ffb3.tar.xz
[PATCH] Fix taskstats size calculation (use the new genetlink utility functions)
The addition of the CSA patch pushed the size of struct taskstats to 256 bytes. This exposed a problem with prepare_reply(), we were not allocating space for the netlink and genetlink header. It worked earlier because alloc_skb() would align the skb to SMP_CACHE_BYTES, which added some additonal bytes. Signed-off-by: Balbir Singh <balbir@in.ibm.com> Cc: Jamal Hadi <hadi@cyberus.ca> Cc: Shailabh Nagar <nagar@watson.ibm.com> Cc: Thomas Graf <tgraf@suug.ch> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jay Lan <jlan@engr.sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/accounting')
0 files changed, 0 insertions, 0 deletions