[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080304012012.GB22431@infradead.org>
Date: Mon, 3 Mar 2008 20:20:12 -0500
From: Christoph Hellwig <hch@...radead.org>
To: Suresh Siddha <suresh.b.siddha@...el.com>
Cc: mingo@...e.hu, hpa@...or.com, tglx@...utronix.de,
andi@...stfloor.org, hch@...radead.org,
linux-kernel@...r.kernel.org,
Arjan van de Ven <arjan@...ux.intel.com>
Subject: Re: [patch 2/2] x86, fpu: lazy allocation of FPU area - v3
On Mon, Mar 03, 2008 at 03:02:46PM -0800, Suresh Siddha wrote:
> + /*
> + * Memory allocation at the first usage of the FPU and other state.
> + */
> + if (!tsk->thread.xstate)
> + tsk->thread.xstate = kmem_cache_alloc(task_xstate_cachep, GFP_KERNEL);
Please don't do over 80 char lines. Also don't we need some kind of
error handling here?
--
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