Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1655630
| From | Larry Finger <Larry.Finger@lwfinger.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] b43legacy: Fix a sleep-in-atomic bug in b43legacy_attr_interfmode_store |
| Date | 2017-06-01 19:50 +0200 |
| Message-ID | <tNCop-5EC-23@gated-at.bofh.it> (permalink) |
| References | <tN934-3sV-15@gated-at.bofh.it> <tNfLb-7R6-11@gated-at.bofh.it> <tNmMG-4cv-13@gated-at.bofh.it> <tNAZk-4Q6-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 06/01/2017 11:11 AM, Jonathan Corbet wrote: > On Thu, 01 Jun 2017 09:05:07 +0800 > Jia-Ju Bai <baijiaju1990@163.com> wrote: > >> I admit my patches are not well tested, and they may not well fix the bugs. >> I am looking forward to opinions and suggestions :) > > May I politely suggest that sending out untested locking changes is a > dangerous thing to do? You really should not be changing the locking in a > piece of kernel code without understanding very well what the lock is > protecting and being able to say why your changes are safe. Without that, > the risk of introducing subtle bugs is very high. > > It looks like you have written a useful tool that could help us to make > the kernel more robust. If you are interested in my suggestion, I would > recommend that you post the sleep-in-atomic scenarios that you are > finding, but refrain from "fixing" them in any case where you cannot offer > a strong explanation of why your fix is correct. > > Thanks for working to find bugs in the kernel! I agree with the suggestion above. Locking changes should only be done in conjunction with testing by someone that actually has the hardware. Larry
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] b43legacy: Fix a sleep-in-atomic bug in b43legacy_attr_interfmode_store Jia-Ju Bai <baijiaju1990@163.com> - 2017-05-31 12:30 +0200
Re: [PATCH] b43legacy: Fix a sleep-in-atomic bug in b43legacy_attr_interfmode_store Michael Büsch <m@bues.ch> - 2017-05-31 17:20 +0200
Re: [PATCH] b43legacy: Fix a sleep-in-atomic bug in b43legacy_attr_interfmode_store Larry Finger <Larry.Finger@lwfinger.net> - 2017-05-31 19:40 +0200
Re: [PATCH] b43legacy: Fix a sleep-in-atomic bug in b43legacy_attr_interfmode_store Jia-Ju Bai <baijiaju1990@163.com> - 2017-06-01 03:10 +0200
Re: [PATCH] b43legacy: Fix a sleep-in-atomic bug in b43legacy_attr_interfmode_store Kalle Valo <kvalo@codeaurora.org> - 2017-06-01 06:20 +0200
Re: [PATCH] b43legacy: Fix a sleep-in-atomic bug in b43legacy_attr_interfmode_store Jonathan Corbet <corbet@lwn.net> - 2017-06-01 18:20 +0200
Re: [PATCH] b43legacy: Fix a sleep-in-atomic bug in b43legacy_attr_interfmode_store Larry Finger <Larry.Finger@lwfinger.net> - 2017-06-01 19:50 +0200
Re: [PATCH] b43legacy: Fix a sleep-in-atomic bug in b43legacy_attr_interfmode_store Jia-Ju Bai <baijiaju1990@163.com> - 2017-06-02 03:20 +0200
csiph-web