[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6fcc0a1003160014h79098b50t87a448285350b3e@mail.gmail.com>
Date: Tue, 16 Mar 2010 09:14:12 +0200
From: Alexey Dobriyan <adobriyan@...il.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Tejun Heo <tj@...nel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
lkml <linux-kernel@...r.kernel.org>,
Lee Schermerhorn <Lee.Schermerhorn@...com>,
Christoph Lameter <cl@...ux-foundation.org>
Subject: Re: [RFC] remove implicit slab.h inclusion from percpu.h
On Tue, Mar 16, 2010 at 8:17 AM, Ingo Molnar <mingo@...e.hu> wrote:
> Also, why should we make this opt-in and expose a wide range of configs to
> build breakages?
Because we want to #include less, not the same amount.
> A more gradual approach would be to write a simple script
> that adds a slab.h include to all .c's that include percpu.h, directly or
> indirectly.
As a defensive measure, one can explicitly add slab.h to every file
which uses kmalloc/kfree.
But, who cares, since one still has to compile test regardless.
--
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