Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1702130
| From | Christopher Lameter <cl@linux.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/3] IPI: Avoid to use 2 cache lines for one call_single_data |
| Date | 2017-08-02 16:00 +0200 |
| Message-ID | <ua2lQ-281-23@gated-at.bofh.it> (permalink) |
| References | <u9XFv-7As-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 2 Aug 2017, Huang, Ying wrote: > To allocate cache line size aligned percpu memory dynamically, > alloc_percpu_aligned() is introduced and used in iova drivers too. alloc_percpu() already aligns objects as specified when they are declared. Moreover the function is improperly named since it aligns to a cacheline(). If you want this then you would use alloc_percpu_cacheline_aligned() But then the alignment can already be requested by adding __cacheline_aligned to the per cpu definition.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/3] IPI: Avoid to use 2 cache lines for one call_single_data "Huang, Ying" <ying.huang@intel.com> - 2017-08-02 11:00 +0200 Re: [PATCH 0/3] IPI: Avoid to use 2 cache lines for one call_single_data Christopher Lameter <cl@linux.com> - 2017-08-02 16:00 +0200
csiph-web