[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: Samuel Thibault
Subject: Re: [PATCH 2/2] Align kmem_cache objects using __cacheline_aligned
Date: Thu, 9 Jan 2014 00:40:49 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Samuel Thibault, le Thu 09 Jan 2014 00:39:30 +0100, a écrit :
> Justus Winter, le Tue 07 Jan 2014 15:51:28 +0100, a écrit :
> > * device/dev_lookup.c: Align kmem_cache objects using __cacheline_aligned.
> 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?


reply via email to

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