Re: Introduce M_IFGROUP type of memory allocation

2023-06-27 Thread Mark Kettenis
> Date: Tue, 27 Jun 2023 17:52:44 +0200 > From: Alexander Bluhm > > On Tue, Jun 27, 2023 at 01:55:23PM +0200, Mark Kettenis wrote: > > > Date: Tue, 27 Jun 2023 11:09:32 + > > > From: Klemens Nanni > > > > > > On Tue, Jun 27, 2023 at 01:32:37PM +0300, Vitaliy Makkoveev wrote: > > > > M_TEMP s

Re: Introduce M_IFGROUP type of memory allocation

2023-06-27 Thread Alexander Bluhm
On Tue, Jun 27, 2023 at 01:55:23PM +0200, Mark Kettenis wrote: > > Date: Tue, 27 Jun 2023 11:09:32 + > > From: Klemens Nanni > > > > On Tue, Jun 27, 2023 at 01:32:37PM +0300, Vitaliy Makkoveev wrote: > > > M_TEMP seems unreasonable for interface groups data allocations. > > > > After claudio

Re: Introduce M_IFGROUP type of memory allocation

2023-06-27 Thread Claudio Jeker
On Tue, Jun 27, 2023 at 11:09:32AM +, Klemens Nanni wrote: > On Tue, Jun 27, 2023 at 01:32:37PM +0300, Vitaliy Makkoveev wrote: > > M_TEMP seems unreasonable for interface groups data allocations. > > After claudio pointed out the wrong type, I thought of the same name, > no other malloc(9) ty

Re: Introduce M_IFGROUP type of memory allocation

2023-06-27 Thread Mark Kettenis
> Date: Tue, 27 Jun 2023 11:09:32 + > From: Klemens Nanni > > On Tue, Jun 27, 2023 at 01:32:37PM +0300, Vitaliy Makkoveev wrote: > > M_TEMP seems unreasonable for interface groups data allocations. > > After claudio pointed out the wrong type, I thought of the same name, > no other malloc(9)

Re: Introduce M_IFGROUP type of memory allocation

2023-06-27 Thread Vitaliy Makkoveev
On Tue, Jun 27, 2023 at 11:09:32AM +, Klemens Nanni wrote: > On Tue, Jun 27, 2023 at 01:32:37PM +0300, Vitaliy Makkoveev wrote: > > M_TEMP seems unreasonable for interface groups data allocations. > > After claudio pointed out the wrong type, I thought of the same name, > no other malloc(9) ty

Re: Introduce M_IFGROUP type of memory allocation

2023-06-27 Thread Klemens Nanni
On Tue, Jun 27, 2023 at 01:32:37PM +0300, Vitaliy Makkoveev wrote: > M_TEMP seems unreasonable for interface groups data allocations. After claudio pointed out the wrong type, I thought of the same name, no other malloc(9) type fits. FWIW OK kn, but please wait for other to chime in. > > Don't

Introduce M_IFGROUP type of memory allocation

2023-06-27 Thread Vitaliy Makkoveev
M_TEMP seems unreasonable for interface groups data allocations. Don't forget to recompile systat(1) and vmstat(8) with new sys/malloc.h. Index: sys/net/if.c === RCS file: /cvs/src/sys/net/if.c,v retrieving revision 1.700 diff -u -p