Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2508402yba; Mon, 22 Apr 2019 08:05:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYIc6/k6ZcaoJl8dmEnusJA0Ta9bO6RGRhP9mcMROOQFDfCRILK3fIR/2LvLdwe6NH3qd6 X-Received: by 2002:aa7:938b:: with SMTP id t11mr21057418pfe.67.1555945502966; Mon, 22 Apr 2019 08:05:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555945502; cv=none; d=google.com; s=arc-20160816; b=VO48OhsPSo7FQAVLDN+3uxegLY/G40uZwXDCP4z7nQV4qeLhZgyzQHpy1IB4JYz+QG NRWtL+8de/vPTnNRu/ajSn1iGKPX+oNFrYu4Zltkj5ttvwnWeqDUNKbWw33qe9m6HEat PqzBaig8U+KbaThFNqw5lMWtHq59q+BZl31YjaPT35VfbCZMJUb+7ohS+4fwOjDu+yeg dv9GEzYlzilx+xcuvNgq+g5JwSrbqoplDwE0ee0iR4i1yIrddr5kVC8nSKcfIxja84Mp lEWXt+S7GuH1mJZ4nut4hsYbJ2jZFYOwIJd0abY6zUzndXxSpr0FiX7yu05rCzFIbVx/ fjbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=gm5SMZUgMkTV9ecwfINW1s9a9w+WILV3SsQGv+JtbrU=; b=xp8cMkmx6znX6BiezYDSOYn69ZRRD5XD3r0xK92lsQnRHQWfMkxuxv596pI/Gz/8NQ X0ZfpMWupwyfO7RiVI0poMFKtM5Lk9ojLC3UgFQTbR86X4EbfNjUq+1y8tbvnPVsb1k6 ev9u2ixpgY5uCFivLS/4CdZUONcPI3lUSBS1KgXeKThwPqoTNxUtYyHCJHrDHhBx0F8z tkEXulkP4w50SfgwEDYN4wt88jwlbtqyKOLbg31XNC18z7x88PUgEulT6ZHanPBtcuXX OBhak4CVhg92KBnhwt/qKLlUDOENByKwsakqQVeN2+IjpNM1I5TjySfcau9hhKf6bbX0 vtRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nP1dp69v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b128si14400252pfb.141.2019.04.22.08.04.44; Mon, 22 Apr 2019 08:05:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nP1dp69v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727920AbfDVO6f (ORCPT + 99 others); Mon, 22 Apr 2019 10:58:35 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:44329 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726132AbfDVO6e (ORCPT ); Mon, 22 Apr 2019 10:58:34 -0400 Received: by mail-pg1-f193.google.com with SMTP id z16so1356469pgv.11; Mon, 22 Apr 2019 07:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=gm5SMZUgMkTV9ecwfINW1s9a9w+WILV3SsQGv+JtbrU=; b=nP1dp69vd94fGg/oHXGbYhip2Q07o8sq+68IoyMu/0yx+N60Rn95pLyGhbZ+PCOSg5 uc2chYJQiHVEG4JFR8sn8q+x0A5PInQLxze1QM8Sw09PThjwJH1u+jCRNTuwdfTZ6dPU JwqVlEaZOB4VXbMuzhOTJhrIV3b/ExeWRM1ZqoSwtwMwqIde2UlDNxa2M9BtMaS4Pfjb 43x6hTBiVZhOfqyt3wjY/lG1caBwyGWTL2YhjfvSjrzpzyeJJHVbI5wiRJjS8UrSqG15 jJ5w/sJxqeZyb7aLgw8yJRwWBTwTvyNrAtejDKgEC/sLP5SMViHF/iJf/pu10gN+n4Xl kCTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gm5SMZUgMkTV9ecwfINW1s9a9w+WILV3SsQGv+JtbrU=; b=PQdeKlQFbNrQBXKfH/PQJTQdRQa5t+TRr4h5v3eaMfyRqbn7qs4MlecZeMABHN8iPj P4uIUnOpg8hB3UjybMBDGZ4S8Cscrl2lkrgUhb1+ySTWrA0DqI+k5zPfXp7JW78m+qkD qU1EGm/cqBbh9rZWFd3TSjXT1LzbdO3GfDd6rf5hqAQ7W1vpOgoJJ1NeHjA51g7pw7UG 93X1G8aKsOv7XDFAXvnrZd5aoZvYWSbSr/0diTrk7Ym6EpkohOQsLQYeTAdux34McFI9 tekjr/JJiwy7PLYzjJ3BrcVQ+qkg5PSSTq+AulmIR9RgMb70KfIfd9hYvahfejPjZEJl 59ZA== X-Gm-Message-State: APjAAAWmsrbHmdRZ/W5gsKoNUc6mK9GI74TdrzQc5TyNK8siPme5fZ1P r33jOTDG/5QJUFIfoUiaqBqAuN63 X-Received: by 2002:a62:1815:: with SMTP id 21mr20989815pfy.107.1555945114253; Mon, 22 Apr 2019 07:58:34 -0700 (PDT) Received: from ?IPv6:2601:282:800:fd80:80e:6623:574:bedf? ([2601:282:800:fd80:80e:6623:574:bedf]) by smtp.googlemail.com with ESMTPSA id q77sm31283833pfi.45.2019.04.22.07.58.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Apr 2019 07:58:33 -0700 (PDT) Subject: Re: unregister_netdevice: waiting for DEV to become free (2) To: Stephen Suryaputra Cc: Tetsuo Handa , Julian Anastasov , Cong Wang , syzbot , ddstreet@ieee.org, dvyukov@google.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com References: <0000000000007d22100573d66078@google.com> <4684eef5-ea50-2965-86a0-492b8b1e4f52@I-love.SAKURA.ne.jp> <20190421204126.GA19213@ubuntu> From: David Ahern Message-ID: <458669e6-3d94-1daf-f80b-3c8d740790fa@gmail.com> Date: Mon, 22 Apr 2019 08:58:31 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190421204126.GA19213@ubuntu> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/21/19 2:41 PM, Stephen Suryaputra wrote: > Hi David, > > I looked at patchwork. This patch hasn't been accepted. Is there a plan > to resubmit? It is very useful. I had to debug refcnt issues multiple > times for my employer. I think the inlined versions of dev_put and dev_hold are better for performance. I could submit it with a DEBUG config to enable. It has been invaluable to me over the past 3+ years debugging refcount problems.