summaryrefslogtreecommitdiff
path: root/ipc/ipc_sysctl.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-09-07 15:55:25 +0400
committerEric Van Hensbergen <ericvh@gmail.com>2012-09-17 23:54:10 +0400
commite549c1337133e85a6d6bc868d2d141a61a80975c (patch)
treec443790fe9751c25786c5eca16f838fb0ebb1082 /ipc/ipc_sysctl.c
parent43def35c1030d91a7414936c7c1b416828b20afb (diff)
downloadlinux-e549c1337133e85a6d6bc868d2d141a61a80975c.tar.xz
9p: don't use __getname/__putname for uname/aname
These are generally very small strings. We don't need an entire 4k allocation for each. Instead, just free and reallocate them on an as-needed basis. Note: This patch is untested since I don't have a 9p server available at the moment. It's mainly something I noticed while doing some getname/putname cleanup work. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'ipc/ipc_sysctl.c')
0 files changed, 0 insertions, 0 deletions