Jeff Layton 7950e3852a vfs: embed struct filename inside of names_cache allocation if possible
In the common case where a name is much smaller than PATH_MAX, an extra
allocation for struct filename is unnecessary. Before allocating a
separate one, try to embed the struct filename inside the buffer first. If
it turns out that that's not long enough, then fall back to allocating a
separate struct filename and redoing the copy.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-10-12 20:15:10 -04:00
..
2012-09-17 13:42:20 +01:00
2012-10-08 17:42:36 -04:00
2012-10-03 13:45:43 -07:00
2012-10-09 07:07:14 +09:00
2012-10-12 10:21:02 +09:00
2012-10-07 07:13:01 +09:00