lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20151022224701.GA5442@mtj.duckdns.org> Date: Fri, 23 Oct 2015 07:47:01 +0900 From: Tejun Heo <htejun@...il.com> To: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp> Cc: mhocko@...nel.org, cl@...ux.com, linux-mm@...ck.org, linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org, rientjes@...gle.com, oleg@...hat.com, kwalker@...hat.com, akpm@...ux-foundation.org, hannes@...xchg.org, vdavydov@...allels.com, skozina@...hat.com, mgorman@...e.de, riel@...hat.com Subject: Re: [PATCH] mm,vmscan: Use accurate values for zone_reclaimable()checks Hello, On Fri, Oct 23, 2015 at 06:42:43AM +0900, Tetsuo Handa wrote: > Then, isn't below change easier to backport which will also alleviate > needlessly burning CPU cycles? > > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -3385,6 +3385,7 @@ retry: > ((gfp_mask & __GFP_REPEAT) && pages_reclaimed < (1 << order))) { > /* Wait for some write requests to complete then retry */ > wait_iff_congested(ac->preferred_zone, BLK_RW_ASYNC, HZ/50); > + schedule_timeout_uninterruptible(1); > goto retry; > } Yeah, that works too. It should still be put on a dedicated wq with MEM_RECLAIM tho. Thanks. -- tejun -- 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