Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1198567
| From | Dan Carpenter <dan.carpenter@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V2] staging: android: lowmemorykiller: imporve lmk to avoid deadlock issue |
| Date | 2015-08-03 08:20 +0200 |
| Message-ID | <pThgl-2NH-1@gated-at.bofh.it> (permalink) |
| References | <pTgX0-2bC-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Aug 03, 2015 at 05:53:22AM +0000, Wang, Biao wrote: > Consider the following case: > Task A trigger lmk with a lock held, while task B try to > get this lock, but unfortunately B is the very culprit task lmk select to > kill. Then B will never be killed, and A will forever select B to kill. > Such dead lock will trigger softlock up issue. > > This patch try to pick the next task to break this loop. > > Signed-off-by: Wang Biao <biao.wang@intel.com> > Reviewed-by: Zhang Di <di.zhang@intel.com> > Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> I don't really feel comfortable saying I reviewed this code. I just commented on a few process issues. I don't know the subsystem well enough to give it a seal of approval. > Reviewed-by: Joe Perches <joe@perches.com> regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V2] staging: android: lowmemorykiller: imporve lmk to avoid deadlock issue "Wang, Biao" <biao.wang@intel.com> - 2015-08-03 08:00 +0200
Re: [PATCH V2] staging: android: lowmemorykiller: imporve lmk to avoid deadlock issue Dan Carpenter <dan.carpenter@oracle.com> - 2015-08-03 08:20 +0200
Re: [PATCH V2] staging: android: lowmemorykiller: imporve lmk to avoid deadlock issue Dan Carpenter <dan.carpenter@oracle.com> - 2015-08-03 09:20 +0200
Re: [PATCH V2] staging: android: lowmemorykiller: imporve lmk to avoid deadlock issue Joe Perches <joe@perches.com> - 2015-08-03 10:00 +0200
Re: [PATCH V2] staging: android: lowmemorykiller: imporve lmk to avoid deadlock issue Dave Hansen <dave.hansen@intel.com> - 2015-08-03 16:10 +0200
csiph-web