From: Arend Van Spriel <arend.vanspriel@broadcom.com>
To: Johannes Berg <johannes@sipsolutions.net>,
Emmanuel Grumbach <egrumbach@gmail.com>,
"backports@vger.kernel.org" <backports@vger.kernel.org>
Subject: Re: wireless_nlevent_flush backported to stable kernels
Date: Tue, 17 May 2016 11:05:55 +0200 [thread overview]
Message-ID: <573ADEF3.8030408@broadcom.com> (raw)
In-Reply-To: <1463426768.2179.3.camel@sipsolutions.net>
On 16-5-2016 21:26, Johannes Berg wrote:
> On Sun, 2016-05-15 at 11:50 +0200, Arend Van Spriel wrote:
>>
>>> On my system, I fixed it with the patch below, but it is surely not
>>> good enough.
>> In general this is avoided by preceeding the stub function with:
>>
>> #define wireless_nlevent_flush LINUX_BACKPORT(wireless_nlevent_flush)
>>
>> This way you will use the stub and not the in-kernel function.
>
> That's normally fine, but not a good idea here because this really is a
> *stub*, and thus using the stub instead of the real function removes
> the ability to actually get the bugfix. So in this case, where it's a
> stub and not a full backport, it's better to try to get the original
> function in as many situations as possible.
>
>> There has
>> been discussions about adding a mechanism to avoid backport if kernel
>> has the function available. No actual work in that area has been done
>> yet.
>
> Oh, I've done that - but it was so terribly slow that it was
> essentially unusable...
I remember and so the suggestion was to maintain a list of functions to
check. Or did you pursue that as well with same result?
Regards,
Arend
--
To unsubscribe from this list: send the line "unsubscribe backports" in
next prev parent reply other threads:[~2016-05-17 9:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-15 6:25 wireless_nlevent_flush backported to stable kernels Emmanuel Grumbach
2016-05-15 9:50 ` Arend Van Spriel
2016-05-16 19:26 ` Johannes Berg
2016-05-17 9:05 ` Arend Van Spriel [this message]
2016-05-17 9:08 ` Johannes Berg
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=573ADEF3.8030408@broadcom.com \
--to=arend.vanspriel@broadcom.com \
--cc=backports@vger.kernel.org \
--cc=egrumbach@gmail.com \
--cc=johannes@sipsolutions.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox