[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1207576548.15579.43.camel@twins>
Date: Mon, 07 Apr 2008 15:55:48 +0200
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Andrea Arcangeli <andrea@...ranet.com>
Cc: Jeremy Fitzhardinge <jeremy@...p.org>,
Christoph Lameter <clameter@....com>,
Robin Holt <holt@....com>, kvm-devel@...ts.sourceforge.net,
general@...ts.openfabrics.org, steiner@....com,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [patch 01/10] emm: mm_lock: Lock a process against reclaim
On Sat, 2008-04-05 at 02:41 +0200, Andrea Arcangeli wrote:
> On Fri, Apr 04, 2008 at 04:12:42PM -0700, Jeremy Fitzhardinge wrote:
> > I think you can break this if() down a bit:
> >
> > if (!(vma->vm_file && vma->vm_file->f_mapping))
> > continue;
>
> It makes no difference at runtime, coding style preferences are quite
> subjective.
I'll have to concurr with Jeremy here, please break that monstrous if
stmt down. It might not matter to the compiler, but it sure as hell
helps for anyone trying to understand/maintain the thing.
--
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