Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757932Ab1FVCn4 (ORCPT ); Tue, 21 Jun 2011 22:43:56 -0400 Received: from ozlabs.org ([203.10.76.45]:39253 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757504Ab1FVCnz (ORCPT ); Tue, 21 Jun 2011 22:43:55 -0400 From: Rusty Russell To: Kay Sievers Cc: linux-kernel , Greg KH Subject: Re: module: sysfs - add 'uevent' file to allow coldplug In-Reply-To: References: <1308434431.1050.5.camel@mop> <8739j59zib.fsf@rustcorp.com.au> <87boxshrwe.fsf@rustcorp.com.au> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1 (i686-pc-linux-gnu) Date: Wed, 22 Jun 2011 11:30:12 +0930 Message-ID: <87r56m8w2b.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1362 Lines: 37 On Wed, 22 Jun 2011 00:47:55 +0200, Kay Sievers wrote: > On Tue, Jun 21, 2011 at 03:53, Rusty Russell wrote: > > Sorry, that's another vague answer :( > > > > udev already knows about module load > > Not for built-ins. OK, I re-read your commit message, and down the bottom it does say what it *does*: > This adds the currently missing /sys/module//uevent files > to all module entries. I apologize for skimming, but this should be the *title* of the patch! Then I saw your patch hit params.c and thought you were adding a uevent file to /sys/module//parameters/. I was even more confused when you replied: > Hook system management into module-load events, which might include > changing module parameters in /sys/module/*/parameters/*... Because loading a module might *create* module parameters, but it won't *change* them. If we want to have events for change, we need much more... Now we've got that sorted, is there a reason why you changed all the signatures rather than just using mod->mkobj in store_uevent()? Thanks, Rusty. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/