[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131029113414.GC24477@neilslaptop.think-freely.org>
Date: Tue, 29 Oct 2013 07:34:14 -0400
From: Neil Horman <nhorman@...driver.com>
To: Veaceslav Falico <vfalico@...hat.com>
Cc: linux-pci@...r.kernel.org, torvalds@...ux-foundation.org,
tglx@...utronix.de, yinghai@...nel.org, Knut_Petersen@...nline.de,
mingo@...nel.org, paulmck@...ux.vnet.ibm.com, fweisbec@...il.com,
linux-kernel@...r.kernel.org, Bjorn Helgaas <bhelgaas@...gle.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH v3 2/3] pci: remove redundant pci_dev_get/put() on
kobject (un)register
On Tue, Oct 29, 2013 at 11:30:31AM +0100, Veaceslav Falico wrote:
> Currently we're pci_dev_get/put()-ing pci device on every kobject
> creation/removal. It's useless per se - the kobject is part of the device
> itself, so it should be removed when there are no users of the pdev, and is
> not a user of it.
>
> CC: Bjorn Helgaas <bhelgaas@...gle.com>
> CC: Neil Horman <nhorman@...driver.com>
> CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> CC: linux-pci@...r.kernel.org
> CC: linux-kernel@...r.kernel.org
> Signed-off-by: Veaceslav Falico <vfalico@...hat.com>
Acked-by: Neil Horman <nhorman@...driver.com>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists