Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2024 23:51:17 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Dag-Erling =?utf-8?B?U23DuHJncmF2?= <des@freebsd.org>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: a52b30ff98cd - main - sys_pipe: consistently use cr_ruidinfo for accounting of pipebuf
Message-ID:  <Zu8xxRee7cJsPtAW@kib.kiev.ua>
In-Reply-To: <86y13lx7l5.fsf@ltc.des.dev>
References:  <202409202109.48KL9RZ1078677@gitrepo.freebsd.org> <867cb5z2c3.fsf@ltc.des.dev> <Zu7A8bFd_cDIUKTD@kib.kiev.ua> <86y13lx7l5.fsf@ltc.des.dev>

index | next in thread | previous in thread | raw e-mail

On Sat, Sep 21, 2024 at 07:03:18PM +0200, Dag-Erling Smørgrav wrote:
> Konstantin Belousov <kostikbel@gmail.com> writes:
> > Dag-Erling Smørgrav <des@FreeBSD.org> writes:
> > > Konstantin Belousov <kib@FreeBSD.org> writes:
> > > > commit a52b30ff98cdab82af140285fa7fcdf1036fef27
> > > >
> > > >     sys_pipe: consistently use cr_ruidinfo for accounting of pipebuf
> > > >     
> > > >     Tested by:      yasu
> > > >     Sponsored by:   The FreeBSD Foundation
> >>  >     MFC after:      1 week
> > > This appears to be the opposite of the patch which you posted on
> > > -current and which yasu@ tested [...]
> > Before committing anything, I did a self-review and remembered that I
> > have did a lot of considerations when implementing swap accounting and
> > decided that ruid is the right target for charge.
> >
> > Besides stating the obvious fact above, what do you expect me to answer/
> > react to your mail?
> 
> My point is that the commit message claims the patch was tested by yasu@
> when in fact it wasn't.  If you're convinced that this is the correct
> solution then that's fine, and it does appear to work, but don't claim
> that it's been tested by others when it hasn't.

The main part of the patch was to ensure consistency in updates: it must
be either always uidinfo, or always ruidinfo.  Which one specifically
would affect the limit's semantic, but not the buggy behavior you reported.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Zu8xxRee7cJsPtAW>