From nobody Fri Jan 19 13:56:13 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TGh3t3Wmvz56YBW; Fri, 19 Jan 2024 13:56:26 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-vk1-f179.google.com (mail-vk1-f179.google.com [209.85.221.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TGh3t1CC4z4rJb; Fri, 19 Jan 2024 13:56:26 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-vk1-f179.google.com with SMTP id 71dfb90a1353d-4b71b86ef81so214524e0c.2; Fri, 19 Jan 2024 05:56:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705672585; x=1706277385; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d4SV6dNlejOC0OMMsrSbM3y8cUxHIzTKQbh4uqHhHzk=; b=g3u6GuB/ICfuQYKQTqOYCl3qg9P0K63XS3kYsy0AuiXk036Kei4Wun+YejredXJnQj 8EEq00T3Yq0wkD2aVuXGC5xomXRabk13PvDs+eNgxkNAXkMrCSJ0ZOLIiR/K2rBEuVW7 cAcIkRq79kLFftbTpQV9OiiDFQjh7kdjPludb+FAVBI19ArhifJ+p8KilKojnE+HtW2m /eyO+r1kGKEQntwTEnvK3OcGRiHopyxmmVpX2Xl3vj41k88TuO/x32X+rJMKEDVfZqW9 skzmSwNrH6kwedynTa507uYiepEBRY7Q2O1hJjbnjkYmsGXyo+F3Xd7XjTvdKQohMak5 q1iA== X-Gm-Message-State: AOJu0Yxn63JLMgrV0CkrjWx6QhJP3ZpJC2nq6okC/vx8h+OrcrpMuOAk sHHUGvUEzlsUXzFEn7Jepv7EY2/Q7phmuf7WyAlmzZWYAIXolA/HxBB0SZKeQHDjUxoxX7Mvr44 O2/jNMwLth5aw4f8Ratfi+EzEGQU= X-Google-Smtp-Source: AGHT+IHuxZ+9Ep0oW4mR3eZZpeERr8ENEZwPyuTBs82JRvjBqJx21/PKQcj11ZSz0Zcz4qLQa9tzav6VgqH+fxXyGgo= X-Received: by 2002:a1f:f848:0:b0:4ba:4a6f:5b11 with SMTP id w69-20020a1ff848000000b004ba4a6f5b11mr2153715vkh.23.1705672585226; Fri, 19 Jan 2024 05:56:25 -0800 (PST) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 References: <202401172250.40HMo4O9003460@gitrepo.freebsd.org> <8F36170D-9592-46D5-A275-12E24C3A13D8@gmail.com> In-Reply-To: <8F36170D-9592-46D5-A275-12E24C3A13D8@gmail.com> From: Alan Somers Date: Fri, 19 Jan 2024 06:56:13 -0700 Message-ID: Subject: Re: git: 8bae22bbbe65 - main - fusefs: prefer new/delete over malloc/free To: Enji Cooper Cc: "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4TGh3t1CC4z4rJb X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] On Thu, Jan 18, 2024 at 10:32=E2=80=AFPM Enji Cooper wrote: > > > > On Jan 17, 2024, at 2:50=E2=80=AFPM, Alan Somers = wrote: > > > > The branch main has been updated by asomers: > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=3D8bae22bbbe6571da9259e0d4= 3ffa8a56f4b3e171 > > > > commit 8bae22bbbe6571da9259e0d43ffa8a56f4b3e171 > > Author: Alan Somers > > AuthorDate: 2024-01-15 23:49:47 +0000 > > Commit: Alan Somers > > CommitDate: 2024-01-17 22:49:41 +0000 > > > > fusefs: prefer new/delete over malloc/free > > > > MFC after: 2 weeks > > Reviewed by: kib > > Differential Revision: https://reviews.freebsd.org/D43464 > > Why not use smart pointers instead? > -Enji Only because this stuff all evolved from C code. Smart pointers would certainly work.