commit | c8308b1c91056b09e96d40dbde4880ea685c377e | [log] [tgz] |
---|---|---|
author | André Goddard Rosa <andre.goddard@gmail.com> | Tue Feb 23 04:04:23 2010 -0300 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Mar 03 14:47:59 2010 -0500 |
tree | bfaf1f636ef161f5410cd8ba8a1e3b023fd0c33b | |
parent | 4294a8eedb17bbc45e1e7447c2a4d05332943248 [diff] |
mqueue: remove unneeded info->messages initialization ... and abort earlier if we couldn't allocate the message pointers array, avoiding the u->mq_bytes accounting logic. It reduces code size: text data bss dec hex filename 9949 72 16 10037 2735 ipc/mqueue-BEFORE.o 9941 72 16 10029 272d ipc/mqueue-AFTER.o Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>