[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFyjJa0jeyhXNoa8D5C43T=EfTtr2CkxTc8n+=N_t1w79g@mail.gmail.com>
Date: Sun, 29 Apr 2012 17:37:11 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Michael Tokarev <mjt@....msk.ru>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Ian Kent <raven@...maw.net>, Thomas Meyer <thomas@...3r.de>,
autofs@...r.kernel.org
Subject: Re: autofs: make the autofsv5 packet file descriptor use a packetized pipe
On Sun, Apr 29, 2012 at 5:30 PM, H. Peter Anvin <hpa@...or.com> wrote:
> Incidentally, I think there is a good reason to add a v6 packet type
> regardless, for efficiency: with packetized pipes there really is no
> point in sending a packet which is mostly padding for no good reason.
That I agree with - making a v6 that sends a minimum-sized packets,
and where the readers just always try to read the maximum size.
That said, this is not exactly something high-performance, and copying
the pointless padding to make a fixed-size packet isn't a big deal.
We're talking just 240 extra bytes or so (NAME_MAX is 255, and most
names are obviously much shorter), so I do believe that we might as
well wait unless there are other good cleanups too.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists