Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932953AbbGJSUX (ORCPT ); Fri, 10 Jul 2015 14:20:23 -0400 Received: from cantor2.suse.de ([195.135.220.15]:47749 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932287AbbGJSUQ (ORCPT ); Fri, 10 Jul 2015 14:20:16 -0400 Message-ID: <1436552407.27924.37.camel@stgolabs.net> Subject: Re: [PATCH v2 0/3] special_mapping_fault() is broken From: Davidlohr Bueso To: Oleg Nesterov Cc: Andrew Morton , Andy Lutomirski , Hugh Dickins , Kirill Shutemov , Linus Torvalds , Pavel Emelyanov , linux-kernel@vger.kernel.org Date: Fri, 10 Jul 2015 11:20:07 -0700 In-Reply-To: <20150710165121.GA10341@redhat.com> References: <20150710165121.GA10341@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 651 Lines: 14 On Fri, 2015-07-10 at 18:51 +0200, Oleg Nesterov wrote: > And after this change vma_is_anonymous() becomes really trivial, it > simply checks vm_ops == NULL. However, I do think the helper makes > sense. There are a lot of ->vm_ops != NULL checks, the helper makes > the caller's code more understandable (self-documented) and this is > more grep-friendly. Yes, I for one, very much welcome this helper. -- 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/