[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] Align kmem_cache objects using __cacheline_aligned

From: Richard Braun
Subject: Re: [PATCH 2/2] Align kmem_cache objects using __cacheline_aligned
Date: Thu, 9 Jan 2014 00:48:15 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Jan 09, 2014 at 12:40:49AM +0100, Samuel Thibault wrote:
> Samuel Thibault, le Thu 09 Jan 2014 00:39:30 +0100, a écrit :
> > Mmm, perhaps it would be more useful to define a typedef with the
> > attribute, and use it instead of struct kmem_cache?
> Mmm, from slab.h it would seem that you can apply the attribute directly
> to the structure, thus even avoiding the typedef altogether?

Yes, that's the preferred way.

Richard Braun

reply via email to

[Prev in Thread] Current Thread [Next in Thread]