Patching setproctitle() to go faster, for PostgreSQL
Thomas Munro
munro at ip9.org
Tue Jul 3 13:00:47 UTC 2018
On 3 July 2018 at 03:44, Konstantin Belousov <kostikbel at 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!
More information about the freebsd-hackers
mailing list