From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f173.google.com (mail-ob0-f173.google.com [209.85.214.173]) by kanga.kvack.org (Postfix) with ESMTP id B50A76B0255 for ; Thu, 22 Oct 2015 10:23:56 -0400 (EDT) Received: by obbda8 with SMTP id da8so68204535obb.1 for ; Thu, 22 Oct 2015 07:23:56 -0700 (PDT) Received: from resqmta-ch2-12v.sys.comcast.net (resqmta-ch2-12v.sys.comcast.net. [2001:558:fe21:29:69:252:207:44]) by mx.google.com with ESMTPS id gw9si8907362obc.51.2015.10.22.07.23.56 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 22 Oct 2015 07:23:56 -0700 (PDT) Date: Thu, 22 Oct 2015 09:23:54 -0500 (CDT) From: Christoph Lameter Subject: Re: [PATCH] mm,vmscan: Use accurate values for zone_reclaimable() checks In-Reply-To: <20151022142155.GB30579@mtj.duckdns.org> Message-ID: References: <20151021143337.GD8805@dhcp22.suse.cz> <20151021145505.GE8805@dhcp22.suse.cz> <201510222037.ACH86458.OFOLFtQFOHJSVM@I-love.SAKURA.ne.jp> <20151022140944.GA30579@mtj.duckdns.org> <20151022142155.GB30579@mtj.duckdns.org> Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Tejun Heo Cc: Tetsuo Handa , mhocko@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, David Rientjes , oleg@redhat.com, kwalker@redhat.com, akpm@linux-foundation.org, hannes@cmpxchg.org, vdavydov@parallels.com, skozina@redhat.com, mgorman@suse.de, riel@redhat.com On Thu, 22 Oct 2015, Tejun Heo wrote: > > Hmmm? Just use a dedicated workqueue with WQ_MEM_RECLAIM. If > > concurrency management is a problem and there's something live-locking > > for that work item (really?), WQ_CPU_INTENSIVE escapes it. If this is > > a common occurrence that it makes sense to give vmstat higher > > priority, set WQ_HIGHPRI. > > Oooh, HIGHPRI + CPU_INTENSIVE immediate scheduling guarantee got lost > while converting HIGHPRI to a separate pool but guaranteeing immediate > scheduling for CPU_INTENSIVE is trivial. If vmstat requires that, > please let me know. I guess we need that otherwise vm statistics are not updated while worker threads are blocking on memory reclaim. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org