diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-07-11 14:02:23 -0700 |
---|---|---|
committer | Dominique Martinet <dominique.martinet@cea.fr> | 2018-08-13 09:21:44 +0900 |
commit | 2557d0c57c0c11af915d0d4d97402527958c0c01 (patch) | |
tree | 6f396b3331646b3f552e37a47be0bda0ecb1684f /kernel/kprobes.c | |
parent | f28cdf0430fc92acaa718e15598bdad6cb236a4d (diff) | |
download | op-kernel-dev-2557d0c57c0c11af915d0d4d97402527958c0c01.zip op-kernel-dev-2557d0c57c0c11af915d0d4d97402527958c0c01.tar.gz |
9p: Embed wait_queue_head into p9_req_t
On a 64-bit system, the wait_queue_head_t is 24 bytes while the pointer
to it is 8 bytes. Growing the p9_req_t by 16 bytes is better than
performing a 24-byte memory allocation.
Link: http://lkml.kernel.org/r/20180711210225.19730-5-willy@infradead.org
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Diffstat (limited to 'kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions