lkml.org 
[lkml]   [2009]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] tlb flush_data: replace per_cpu with an array

> > It also would save some memory
> > on most distros out there (Ubuntu x86_64 has NR_CPUS=64 by default).

As pointed out several times this claim in the changelog is incorrect.
Please fix it.

A correct description would be:

- This patch wastes memory of one configured cache line for each CPU
on systems with less than 8 cores (e.g. 896 bytes on a 1 core system
with CONFIG_GENERIC_CPU/ cache line size 128)
It saves some memory on systems with more than 8 cores (one cache
line size for each core above 8)

-Andi



\
 
 \ /
  Last update: 2009-01-14 09:57    [W:1.420 / U:1.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site