[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091021215553.GE4880@nowhere>
Date: Wed, 21 Oct 2009 23:55:54 +0200
From: Frederic Weisbecker <fweisbec@...il.com>
To: John Kacur <jkacur@...hat.com>
Cc: Arnd Bergmann <arndbergmann@...glemail.com>,
linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: [PATCH] sony_pi: Remove the BKL from sonypi_misc_open
On Wed, Oct 21, 2009 at 11:41:07PM +0200, John Kacur wrote:
> > What about a pusdown of default_lseek attribution for these
> > fops that don't have any llseek() (and rename it to
> > deprecated_default_lseek() )
> >
> > Because we can probably fix these fops one by one but what
> > about the next drivers that will have no llseek() ?
> >
> > We can't attribute default_llseek() by default anymore for
> > further fops that are to come.
> >
> >
>
> Frederic, I think it is still useful to explicity set to no_llseek,
> drivers that don't use llseek.
Yeah, I agreed.
> I also have to agree with you, that we should no longer be using a
> default_llseek that relies on the BKL.
>
> That is a rather large effort though. All drivers that don't specify an
> llseek function, need to either set it to no_llseek, or as you are
> proposing a deprecated default_llseek that uses the bkl.
>
> thinking of how to start this.
>
> John
This is a rather large effort indeed but this pushdown seems
the only way to remove default_llseek as the default llseek()
callback.
The more we wait, the more code we'll need to review and fix.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists