From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx161.postini.com [74.125.245.161]) by kanga.kvack.org (Postfix) with SMTP id E739E6B0031 for ; Sat, 7 Sep 2013 21:43:35 -0400 (EDT) Received: by mail-pb0-f44.google.com with SMTP id xa7so4729298pbc.3 for ; Sat, 07 Sep 2013 18:43:35 -0700 (PDT) Date: Sat, 7 Sep 2013 18:43:33 -0700 (PDT) From: David Rientjes Subject: Re: [PATCH] vmpressure: fix divide-by-0 in vmpressure_work_fn In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Hugh Dickins Cc: Andrew Morton , Anton Vorontsov , Michal Hocko , linux-kernel@vger.kernel.org, linux-mm@kvack.org On Fri, 6 Sep 2013, Hugh Dickins wrote: > Hit divide-by-0 in vmpressure_work_fn(): checking vmpr->scanned before > taking the lock is not enough, we must check scanned afterwards too. > > Signed-off-by: Hugh Dickins > Cc: stable@vger.kernel.org Acked-by: David Rientjes -- 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