[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121116171243.GA4697@gmail.com>
Date: Fri, 16 Nov 2012 18:12:43 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Mel Gorman <mgorman@...e.de>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Rik van Riel <riel@...hat.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Andrea Arcangeli <aarcange@...hat.com>,
Johannes Weiner <hannes@...xchg.org>,
Hugh Dickins <hughd@...gle.com>,
Thomas Gleixner <tglx@...utronix.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux-MM <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 06/43] mm: numa: Make pte_numa() and pmd_numa() a generic
implementation
* Mel Gorman <mgorman@...e.de> wrote:
> > Why not use something what we have in numa/core already:
> >
> > f05ea0948708 mm/mpol: Create special PROT_NONE infrastructure
> >
>
> Because it's hard-coded to PROT_NONE underneath which I've
> complained about before. [...]
To which I replied that this is the current generic
implementation, the moment some different architecture comes
around we can accomodate it - on a strictly as-needed basis.
It is *better* and cleaner to not expose random arch hooks but
let the core kernel modification be documented in the very patch
that the architecture support patch makes use of it.
Thanks,
Ingo
--
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