From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com [209.85.219.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7693A2452D for ; Wed, 9 Aug 2023 22:03:33 +0000 (UTC) Received: by mail-yb1-f171.google.com with SMTP id 3f1490d57ef6-d62ae3fc7f1so247741276.2 for ; Wed, 09 Aug 2023 15:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691618612; x=1692223412; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FEBjnbgCe5mgmMb9OGQDdu+wS7+g7jNCszh49PvsNEA=; b=uA/iyxSbHTwj2fhdBXBfGOxO1mgfKNacanFUB0kxI47Yl1Wv8SFCbwAXVJucds2JTg K6Rkzk1HvhzgvWT34IbyqgTsyVr/O1f8Wn5aKObk2aOtyd4EHFlFIdNsEtXTsE2KWClQ qRo6wUHmoo9EXjoJDAnz1Ynic7FcpercVoLV0LVty9vzl/BjScpdEv+d1/ZjryQrAA9v t1NP39CC2Fit+ZzL36LATBa5pSkffLHRKta+WBNGGAQu92qY80yZ0h994DcBO7ztzTTC e99P1NnDg89KzC5efRqpCO3R8QwESZD0NnkvY7xiBWT5KMelCpIlHOfZe69puJ+3XwBq vF7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691618612; x=1692223412; 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=FEBjnbgCe5mgmMb9OGQDdu+wS7+g7jNCszh49PvsNEA=; b=CkOjkB9mlYgAac967tFklVaJACARdjLPJ+H4HIcUITcnZD9dHnlEk+tnB2UNQEpUfH 0pxwsusPvhE7wj5HrttjKUXiW32COv8w7i7sK3JhaLtvV1Kd06IrOHxejZEl7PIOwCud CNBCznGIS76R2RFQjgae05qJ8EeuZIkkR5nt4z48KDpRAJ3xNEqNC7PkSDCd/5YyiOQS Pf+sZzlIWioCFkwTDv0BQdMQkjzLg3PHLxIutcptD3rWVRThwkXKMC1pKq4EhdncrWrd Dsm8TTRbEocmeL+KQwraSCrskTyDoiyNraomXfqRuiYdzkTWsy/eU4g+cxI3DRzpHjMW 4QeA== X-Gm-Message-State: AOJu0YxYZUPWTFQrgWQq3LnYb06A+bIImNs1gVEyiDNyYPkXPaM1yHXZ ELrKDJZsc/MriwjkJ16oaKRuZvIOaEK/pnlrW8751AaGAErPhOFuii0= X-Google-Smtp-Source: AGHT+IFB/TMFXMbdHagYTPa/IWkVDVcQ+8qE1p04lhq4B0rjv4FZ6hHAucaviRBvfeYo9xOoooiJyt0NFOX1q/xu+aA= X-Received: by 2002:a25:2fc1:0:b0:d08:f00d:ccfe with SMTP id v184-20020a252fc1000000b00d08f00dccfemr702043ybv.15.1691618612181; Wed, 09 Aug 2023 15:03:32 -0700 (PDT) Precedence: bulk X-Mailing-List: ksummit@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Thu, 10 Aug 2023 00:03:20 +0200 Message-ID: Subject: Re: [TECH TOPIC] Improving resource ownership and life-time in linux device drivers To: Bartosz Golaszewski , Peter Zijlstra Cc: ksummit@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Aug 9, 2023 at 8:05=E2=80=AFPM Bartosz Golaszewski wrote: > Recently there have been several talks about issues with object > ownership in device drivers, use-after-free bugs and problems with > handling hot unplug events in certain subsystems. 1. Good topic. 2. Is this also where we discuss the use of commit 54da6a0924311c7cf5015533991e44fb8eb12773 ? Because I would certainly like to learn more about that thing with an example or two. Yours, Linus Walleij