<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/kernel/module.c, branch v2.6.21-rc7</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.21-rc7</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.21-rc7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2007-04-02T17:06:09Z</updated>
<entry>
<title>[PATCH] driver core: fix built-in drivers sysfs links</title>
<updated>2007-04-02T17:06:09Z</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2007-04-02T06:49:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0c84ce268b69855919b6ac7edc8f11caf21e9c88'/>
<id>urn:sha1:0c84ce268b69855919b6ac7edc8f11caf21e9c88</id>
<content type='text'>
built-in drivers had broken sysfs links that caused bootup hangs for
certain driver unregistry sequences.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Acked-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg KH &lt;greg@kroah.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "driver core: refcounting fix"</title>
<updated>2007-03-09T23:25:04Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2007-03-09T23:25:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=161e232b8823e230d4fdf8064e606bbdf26f47e2'/>
<id>urn:sha1:161e232b8823e230d4fdf8064e606bbdf26f47e2</id>
<content type='text'>
This reverts commit 63ce18cfe685115ff8d341bae4c9204a79043cf0.

It was the incorrect fix and causes a reference counting bug whenever
any driver module is removed from the system. Mike Galbraith
&lt;efault@gmx.de&gt; is looking for the real fix for his problem.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Revert "Driver core: let request_module() send a /sys/modules/kmod/-uevent"</title>
<updated>2007-02-23T22:54:57Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2007-02-23T22:54:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dfff0a0671baf4e69fc676bf8150635407548288'/>
<id>urn:sha1:dfff0a0671baf4e69fc676bf8150635407548288</id>
<content type='text'>
This reverts commit c353c3fb0700a3c17ea2b0237710a184232ccd7f.

It turns out that we end up with a loop trying to load the unix
module and calling netfilter to do that.  Will redo the patch
later to not have this loop.

Acked-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>driver core: refcounting fix</title>
<updated>2007-02-23T22:52:09Z</updated>
<author>
<name>Mike Galbraith</name>
<email>efault@gmx.de</email>
</author>
<published>2007-02-21T20:45:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=63ce18cfe685115ff8d341bae4c9204a79043cf0'/>
<id>urn:sha1:63ce18cfe685115ff8d341bae4c9204a79043cf0</id>
<content type='text'>
Fix a reference counting bug exposed by commit
725522b5453dd680412f2b6463a988e4fd148757.  If driver.mod_name exists, we
take a reference in module_add_driver(), and never release it.  Undo that
reference in module_remove_driver().

Signed-off-by: Mike Galbraith &lt;efault@gmx.de&gt;
Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
<entry>
<title>sysfs: fix build errors: uevent with CONFIG_SYSFS=n</title>
<updated>2007-02-16T23:19:18Z</updated>
<author>
<name>Randy Dunlap</name>
<email>randy.dunlap@oracle.com</email>
</author>
<published>2007-02-13T23:19:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ef665c1a06be719ed9a6b0ad7967137258d9457a'/>
<id>urn:sha1:ef665c1a06be719ed9a6b0ad7967137258d9457a</id>
<content type='text'>
Fix source files to build with CONFIG_SYSFS=n.
module_subsys is not available.

SYSFS=n, MODULES=y:	T:y
SYSFS=n, MODULES=n:	T:y

SYSFS=y, MODULES=y:	T:y
SYSFS=y, MODULES=n:	T:y

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Driver: remove redundant kobject_unregister checks</title>
<updated>2007-02-16T23:19:17Z</updated>
<author>
<name>Mariusz Kozlowski</name>
<email>m.kozlowski@tuxland.pl</email>
</author>
<published>2007-02-14T20:03:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b92be9f1ecd3c8b16e9bb22d55bb97b3d89f091a'/>
<id>urn:sha1:b92be9f1ecd3c8b16e9bb22d55bb97b3d89f091a</id>
<content type='text'>
Here is a patch that removes all redundant kobject_unregister argument checks.

Signed-off-by: Mariusz Kozlowski &lt;m.kozlowski@tuxland.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Driver core: let request_module() send a /sys/modules/kmod/-uevent</title>
<updated>2007-02-16T23:19:15Z</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2007-02-02T15:39:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c353c3fb0700a3c17ea2b0237710a184232ccd7f'/>
<id>urn:sha1:c353c3fb0700a3c17ea2b0237710a184232ccd7f</id>
<content type='text'>
On recent systems, calls to /sbin/modprobe are handled by udev depending
on the kind of device the kernel has discovered. This patch creates an
uevent for the kernels internal request_module(), to let udev take control
over the request, instead of forking the binary directly by the kernel.
The direct execution of /sbin/modprobe can be disabled by setting:
  /sys/module/kmod/mod_request_helper (/proc/sys/kernel/modprobe)
to an empty string, the same way /proc/sys/kernel/hotplug is disabled on an
udev system.

Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>/sys/modules/*/holders</title>
<updated>2007-02-07T18:37:12Z</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2007-01-18T12:26:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=270a6c4cad809e92d7b81adde92d0b3d94eeb8ee'/>
<id>urn:sha1:270a6c4cad809e92d7b81adde92d0b3d94eeb8ee</id>
<content type='text'>
  /sys/module/usbcore/
  |-- drivers
  |   |-- usb:hub -&gt; ../../../subsystem/usb/drivers/hub
  |   |-- usb:usb -&gt; ../../../subsystem/usb/drivers/usb
  |   `-- usb:usbfs -&gt; ../../../subsystem/usb/drivers/usbfs
  |-- holders
  |   |-- ehci_hcd -&gt; ../../../module/ehci_hcd
  |   |-- uhci_hcd -&gt; ../../../module/uhci_hcd
  |   |-- usb_storage -&gt; ../../../module/usb_storage
  |   `-- usbhid -&gt; ../../../module/usbhid
  |-- initstate

Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Modules: only add drivers/ direcory if needed</title>
<updated>2007-02-07T18:37:12Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2007-01-15T19:50:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fe480a2675ed236af396597d9f05245c7bbd0149'/>
<id>urn:sha1:fe480a2675ed236af396597d9f05245c7bbd0149</id>
<content type='text'>
This changes the module core to only create the drivers/ directory if we
are going to put something in it.

Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>MODULES: add the module name for built in kernel drivers</title>
<updated>2007-02-07T18:37:12Z</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2007-01-15T19:22:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f30c53a873d0d227493197064b8886af2d57bbd6'/>
<id>urn:sha1:f30c53a873d0d227493197064b8886af2d57bbd6</id>
<content type='text'>
Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
</feed>
