Re: Linux 2.6.16-rc3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 16 2006, James Bottomley wrote:
> On Thu, 2006-02-16 at 18:18 +0000, Russell King wrote:
> > Maybe implementing it as a helper function would be the best and
> > simplest solution?
> > 
> > static void scsi_release(struct device *dev)
> > {
> > 	schedule_release_process(dev, scsi_release_process);
> > }
> > 
> > where schedule_release_process() contains more or less what I posted
> > in the previous mailing.
> 
> That's almost exactly the execute_in_process_context() API that began
> this discussion (and which Andi NAK'd).  However, it could possibly be
> resurrected with the proviso that the caller has to feed in the
> workqueue memory.  How would people feel about that?

That's what I suggested in the first place as well. I still think it's a
good idea, fwiw :)

-- 
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux