[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Improved pipefs



Andreas Schwab wrote:

> This patch changes the pipe fs to use the full size of the pipe buffer
> instead of one less.  This may not look very much, but why shouldn't
> MiNT be as good as Linux? :-)  Anyway, the data copying should be a
> bit more efficient now.

I think Juergen had already implemented this.  Could you check your
patch against the one posted in the following message?

From: Juergen Lock <nox@jelal.north.de>
Subject: Re: MiNTlib (I think I'm on pl43): Bug in sprintf().
Message-Id: <9407172345.AA00280@jelal.north.de>

biosfs.c,pipefs.c,tty.c:
        add readb+writeb for ptys (for the slave->master pipe),
        use memcpy for all pipes
        really buffer 4K not 4K - 1 byte so the copies are aligned more often

Michael
-- 
Email: hohmuth@inf.tu-dresden.de
WWW:   http://www.inf.tu-dresden.de/~mh1/