Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1198873

Re: [PATCH V2] staging: android: lowmemorykiller: imporve lmk to avoid deadlock issue

From Dave Hansen <dave.hansen@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH V2] staging: android: lowmemorykiller: imporve lmk to avoid deadlock issue
Date 2015-08-03 16:10 +0200
Message-ID <pToBb-5iK-21@gated-at.bofh.it> (permalink)
References <pTgX0-2bC-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/02/2015 10:53 PM, 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.

It would be interesting to have some actual data about where this helps.
 For instance, which locks does this happen on?  What kind of
allocation?  Also, we apparently _do_ mark a lowmemorykiller victim as
an oom victim and let them use memory reserves.  Why does that not allow
the allocation to complete at least long enough to get the kill signal
to the victim?
--
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 | NextPrevious in thread | Find similar | Unroll thread


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