Date: Wed, 4 Jul 2018 01:00:44 +1200 From: Thomas Munro <munro@ip9.org> To: Konstantin Belousov <kostikbel@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Patching setproctitle() to go faster, for PostgreSQL Message-ID: <CADLWmXWwZ5%2BUAg%2B3c5gas0Jwn5-W9B0aiEdyKREFfpLbPV65tA@mail.gmail.com> In-Reply-To: <20180702154401.GB2430@kib.kiev.ua> References: <CADLWmXWCj_WgYfQfzUL_aFLYYqezmbivzF=gKyk%2B6JqPcBvbXQ@mail.gmail.com> <20180702154401.GB2430@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3 July 2018 at 03:44, Konstantin Belousov <kostikbel@gmail.com> wrote: > The kernel chunk looks fine. > > For the libc, I am not so sure. Why five, why not taking into the > account the frequency, what users could do if they want the old > behaviour e.g. to see the args in vmcore, and so on. Ok. > Is modifying posgresql sources acceptable ? If yes, I propose that you add > setproctitle_fast(3) (I do not insist on the name). Ok, here's a first attempt at that: https://reviews.freebsd.org/D16111 Thanks for the feedback!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLWmXWwZ5%2BUAg%2B3c5gas0Jwn5-W9B0aiEdyKREFfpLbPV65tA>