Re: [PATCH 30/31] driver/base: implement subsys_virtual_register()

2013-03-12 Thread Tejun Heo
On Sun, Mar 10, 2013 at 11:34:00AM -0700, Tejun Heo wrote: > On Sun, Mar 10, 2013 at 06:50:34PM +0100, Kay Sievers wrote: > > > Yes, but I can keep Tejun's patch in my local queue for now, dbus is > > > going to not make 3.10, right? > > > > No, sure not. It's just something we will need there too

Re: [PATCH 30/31] driver/base: implement subsys_virtual_register()

2013-03-10 Thread Tejun Heo
On Sun, Mar 10, 2013 at 06:50:34PM +0100, Kay Sievers wrote: > > Yes, but I can keep Tejun's patch in my local queue for now, dbus is > > going to not make 3.10, right? > > No, sure not. It's just something we will need there too, but there is > no hurry, it's only a cosmetic issue anyway and noth

Re: [PATCH 30/31] driver/base: implement subsys_virtual_register()

2013-03-10 Thread Kay Sievers
On Sun, Mar 10, 2013 at 6:24 PM, Greg Kroah-Hartman wrote: > On Sun, Mar 10, 2013 at 06:00:18PM +0100, Kay Sievers wrote: >> On Sun, Mar 10, 2013 at 5:45 PM, Greg Kroah-Hartman >> wrote: >> > On Sun, Mar 10, 2013 at 04:57:02AM -0700, Tejun Heo wrote: >> >> Hey, guys. >> >> >> >> On Fri, Mar 08, 2

Re: [PATCH 30/31] driver/base: implement subsys_virtual_register()

2013-03-10 Thread Greg Kroah-Hartman
On Sun, Mar 10, 2013 at 06:00:18PM +0100, Kay Sievers wrote: > On Sun, Mar 10, 2013 at 5:45 PM, Greg Kroah-Hartman > wrote: > > On Sun, Mar 10, 2013 at 04:57:02AM -0700, Tejun Heo wrote: > >> Hey, guys. > >> > >> On Fri, Mar 08, 2013 at 01:04:25AM +0100, Kay Sievers wrote: > >> > > Sorry for the d

Re: [PATCH 30/31] driver/base: implement subsys_virtual_register()

2013-03-10 Thread Kay Sievers
On Sun, Mar 10, 2013 at 5:45 PM, Greg Kroah-Hartman wrote: > On Sun, Mar 10, 2013 at 04:57:02AM -0700, Tejun Heo wrote: >> Hey, guys. >> >> On Fri, Mar 08, 2013 at 01:04:25AM +0100, Kay Sievers wrote: >> > > Sorry for the delay, I'm at a conference all this week, and haven't had >> > > much time t

Re: [PATCH 30/31] driver/base: implement subsys_virtual_register()

2013-03-10 Thread Greg Kroah-Hartman
On Sun, Mar 10, 2013 at 04:57:02AM -0700, Tejun Heo wrote: > Hey, guys. > > On Fri, Mar 08, 2013 at 01:04:25AM +0100, Kay Sievers wrote: > > > Sorry for the delay, I'm at a conference all this week, and haven't had > > > much time to think about this. > > > > > > If Kay says this is ok for now, th

Re: [PATCH 30/31] driver/base: implement subsys_virtual_register()

2013-03-10 Thread Tejun Heo
Hey, guys. On Fri, Mar 08, 2013 at 01:04:25AM +0100, Kay Sievers wrote: > > Sorry for the delay, I'm at a conference all this week, and haven't had > > much time to think about this. > > > > If Kay says this is ok for now, that's good enough for me. > > Yes, it looks fine to me. If we provide the

Re: [PATCH 30/31] driver/base: implement subsys_virtual_register()

2013-03-07 Thread Kay Sievers
On Fri, Mar 8, 2013 at 12:31 AM, Greg Kroah-Hartman wrote: > On Tue, Mar 05, 2013 at 12:43:27PM -0800, Tejun Heo wrote: >> On Sun, Mar 03, 2013 at 07:42:31AM +0100, Kay Sievers wrote: >> > On Sat, Mar 2, 2013 at 7:17 PM, Greg Kroah-Hartman >> > wrote: >> > > On Fri, Mar 01, 2013 at 07:24:21PM -08

Re: [PATCH 30/31] driver/base: implement subsys_virtual_register()

2013-03-07 Thread Greg Kroah-Hartman
On Tue, Mar 05, 2013 at 12:43:27PM -0800, Tejun Heo wrote: > On Sun, Mar 03, 2013 at 07:42:31AM +0100, Kay Sievers wrote: > > On Sat, Mar 2, 2013 at 7:17 PM, Greg Kroah-Hartman > > wrote: > > > On Fri, Mar 01, 2013 at 07:24:21PM -0800, Tejun Heo wrote: > > >> Kay tells me the most appropriate plac

Re: [PATCH 30/31] driver/base: implement subsys_virtual_register()

2013-03-05 Thread Tejun Heo
On Sun, Mar 03, 2013 at 07:42:31AM +0100, Kay Sievers wrote: > On Sat, Mar 2, 2013 at 7:17 PM, Greg Kroah-Hartman > wrote: > > On Fri, Mar 01, 2013 at 07:24:21PM -0800, Tejun Heo wrote: > >> Kay tells me the most appropriate place to expose workqueues to > >> userland would be /sys/devices/virtual

Re: [PATCH 30/31] driver/base: implement subsys_virtual_register()

2013-03-02 Thread Kay Sievers
On Sat, Mar 2, 2013 at 7:17 PM, Greg Kroah-Hartman wrote: > On Fri, Mar 01, 2013 at 07:24:21PM -0800, Tejun Heo wrote: >> Kay tells me the most appropriate place to expose workqueues to >> userland would be /sys/devices/virtual/workqueues/WQ_NAME which is >> symlinked to /sys/bus/workqueue/devices

Re: [PATCH 30/31] driver/base: implement subsys_virtual_register()

2013-03-02 Thread Tejun Heo
Hello, Greg. On Sat, Mar 02, 2013 at 10:17:27AM -0800, Greg Kroah-Hartman wrote: > I'm almost afraid to ask what you want to export to userspace for a > workqueue that userspace would care about... Workqueue is being extended to support worker pools with custom attributes so that it can replace p

Re: [PATCH 30/31] driver/base: implement subsys_virtual_register()

2013-03-02 Thread Greg Kroah-Hartman
On Fri, Mar 01, 2013 at 07:24:21PM -0800, Tejun Heo wrote: > Kay tells me the most appropriate place to expose workqueues to > userland would be /sys/devices/virtual/workqueues/WQ_NAME which is > symlinked to /sys/bus/workqueue/devices/WQ_NAME and that we're lacking > a way to do that outside of dr

[PATCH 30/31] driver/base: implement subsys_virtual_register()

2013-03-01 Thread Tejun Heo
Kay tells me the most appropriate place to expose workqueues to userland would be /sys/devices/virtual/workqueues/WQ_NAME which is symlinked to /sys/bus/workqueue/devices/WQ_NAME and that we're lacking a way to do that outside of driver core as virtual_device_parent() isn't exported and there's no