summaryrefslogtreecommitdiff
path: root/sig.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-04sig: add signal handling functionsDaniel Borkmann1-0/+32
Add an extra file for signal handling functions. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
table summary='commit info' class='commit-info'> authorAnatol Pomozov <anatol.pomozov@gmail.com>2012-08-17 09:50:17 -0400 committerTheodore Ts'o <tytso@mit.edu>2012-08-17 09:50:17 -0400 commit210c05264d46ddf688bc26861ffb8e2323fb25cb (patch) tree98a1faad4b5dfdd5d4c8443136fcaeaa47bbab66 /fs parentdf981d03eeff7971ac7e6ff37000bfa702327ef1 (diff)
ext4: realign trace events structs to make it smaller
Most hardware architectures require that data (including struct fields) have to be aligned in memory. To make it happen compiler inserts padding between struct fields if they are not aligned correctly. Reorder fields to remove paddings and make structures denser. Making data smaller saves some memory that is very important for trace events. Tracing buffer has limited size and making objects smaller we can put more of them without overflowing the tracing buffer. To find data struct holes I used 'pahole -H 1 -E -I vmlinux.o' from 'dwarves' package. Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs')