All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Andre Noll <maan@systemlinux.org>
Cc: Andi Kleen <andi@firstfloor.org>,
	linux-scsi <linux-scsi@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	kernel-janitors@vger.kernel.org,
	Richard Knutsson <ricknu-0@student.ltu.se>
Subject: Re: [patch 1/1] Switch ioctl functions of drivers/scsi/sg.c to
Date: Thu, 10 Jan 2008 20:09:32 +0000	[thread overview]
Message-ID: <1199995772.3141.90.camel@localhost.localdomain> (raw)
In-Reply-To: <20080110194550.GB20152@skl-net.de>


On Thu, 2008-01-10 at 20:45 +0100, Andre Noll wrote:
> On 20:29, Andi Kleen wrote:
> 
> > > Sure, I can do that if James likes the idea. Since not all case
> > > statements need the BKL, we could add it only to those for which it
> > > isn't clear that it is unnecessary.
> > > 
> > > And this would actually improve something.
> > 
> > I still think it would be a good strategy to first add it to all
> > (in a essentially nop semantics patch) and then later eliminate
> > it from the cases that obviously don't need it. 
> 
> James, would you accept such a patch?

Our current suspicion is that none of the SCSI ioctl paths require the
BKL.  Al Viro said he'd try to look into this, so currently I think the
conversion path is just to move .ioctl -> .unlocked_ioctl

However, more eyes on the problem would be most welcome.

James



WARNING: multiple messages have this Message-ID (diff)
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Andre Noll <maan@systemlinux.org>
Cc: Andi Kleen <andi@firstfloor.org>,
	linux-scsi <linux-scsi@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	kernel-janitors@vger.kernel.org,
	Richard Knutsson <ricknu-0@student.ltu.se>
Subject: Re: [patch 1/1] Switch ioctl functions of drivers/scsi/sg.c to unlocked_ioctl
Date: Thu, 10 Jan 2008 14:09:32 -0600	[thread overview]
Message-ID: <1199995772.3141.90.camel@localhost.localdomain> (raw)
In-Reply-To: <20080110194550.GB20152@skl-net.de>


On Thu, 2008-01-10 at 20:45 +0100, Andre Noll wrote:
> On 20:29, Andi Kleen wrote:
> 
> > > Sure, I can do that if James likes the idea. Since not all case
> > > statements need the BKL, we could add it only to those for which it
> > > isn't clear that it is unnecessary.
> > > 
> > > And this would actually improve something.
> > 
> > I still think it would be a good strategy to first add it to all
> > (in a essentially nop semantics patch) and then later eliminate
> > it from the cases that obviously don't need it. 
> 
> James, would you accept such a patch?

Our current suspicion is that none of the SCSI ioctl paths require the
BKL.  Al Viro said he'd try to look into this, so currently I think the
conversion path is just to move .ioctl -> .unlocked_ioctl

However, more eyes on the problem would be most welcome.

James



  reply	other threads:[~2008-01-10 20:09 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-10 18:05 [patch 1/1] Switch ioctl functions of drivers/scsi/sg.c to unlocked_ioctl Andre Noll
2008-01-10 18:05 ` Andre Noll
2008-01-10 18:54 ` [patch 1/1] Switch ioctl functions of drivers/scsi/sg.c to James Bottomley
2008-01-10 18:54   ` [patch 1/1] Switch ioctl functions of drivers/scsi/sg.c to unlocked_ioctl James Bottomley
2008-01-10 18:59   ` Andi Kleen
2008-01-10 18:59     ` Andi Kleen
2008-01-10 19:03     ` Matthew Wilcox
2008-01-10 19:03       ` Matthew Wilcox
2008-01-10 19:21       ` Andi Kleen
2008-01-10 19:21         ` Andi Kleen
2008-01-10 19:03     ` [patch 1/1] Switch ioctl functions of drivers/scsi/sg.c to James Bottomley
2008-01-10 19:03       ` [patch 1/1] Switch ioctl functions of drivers/scsi/sg.c to unlocked_ioctl James Bottomley
2008-01-10 19:32       ` Andi Kleen
2008-01-10 19:32         ` Andi Kleen
2008-01-10 19:33         ` Matthew Wilcox
2008-01-10 19:33           ` Matthew Wilcox
2008-01-10 19:38           ` Andi Kleen
2008-01-10 19:38             ` Andi Kleen
2008-01-10 19:07     ` Andre Noll
2008-01-10 19:07       ` Andre Noll
2008-01-10 19:29       ` Andi Kleen
2008-01-10 19:29         ` Andi Kleen
2008-01-10 19:45         ` Andre Noll
2008-01-10 19:45           ` Andre Noll
2008-01-10 20:09           ` James Bottomley [this message]
2008-01-10 20:09             ` James Bottomley
2008-01-10 20:13           ` Boaz Harrosh
2008-01-10 20:13             ` Boaz Harrosh
2008-01-10 20:40             ` Andre Noll
2008-01-10 20:40               ` Andre Noll

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1199995772.3141.90.camel@localhost.localdomain \
    --to=james.bottomley@hansenpartnership.com \
    --cc=andi@firstfloor.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=maan@systemlinux.org \
    --cc=ricknu-0@student.ltu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.