[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080728133030.8b29fa5a.akpm@linux-foundation.org>
Date: Mon, 28 Jul 2008 13:30:30 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: righi.andrea@...il.com
Cc: kosaki.motohiro@...fujitsu.com, torvalds@...ux-foundation.org,
linux-mm@...ck.org, linux-arch@...r.kernel.org,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH 1/1] mm: unify pmd_free() implementation
On Mon, 28 Jul 2008 19:19:44 +0200
Andrea Righi <righi.andrea@...il.com> wrote:
> KOSAKI Motohiro wrote:
> >> yep! clear.
> >>
> >> Ok, in this case wouldn't be better at least to define pud_free() as:
> >>
> >> static inline pud_free(struct mm_struct *mm, pmd_t *pmd)
> >> {
> >> }
> >
> > I also like this :)
>
> ok, a simpler patch using the inline function will follow.
>
I can second that. See
http://userweb.kernel.org/~akpm/mmotm/broken-out/include-asm-generic-pgtable-nopmdh-macros-are-noxious-reason-435.patch
Ingo cruelly ignored it. Probably he's used to ignoring the comit
storm which I send in his direction - I'll need to resend it sometime.
I'd consider that patch to be partial - we should demacroize the
surrounding similar functions too. But that will require a bit more
testing.
--
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