Re: [PATCH 2/2] lib: cpu_rmap: CPU affinity reverse-mapping

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Tuesday, January 4, 2011 - 2:45 pm

Le mardi 04 janvier 2011 à 21:23 +0000, Ben Hutchings a écrit :

This is slow path, unless I dont understood the intent.

Cache lines dont matter. I was not concerned about speed but memory
needs.

NR_CPUS can be 4096 on some distros, that means a 32Kbyte allocation.

Really, you'll have to have very strong arguments to introduce an
[NR_CPUS] array in the kernel today.



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] IRQ affinity reverse-mapping, Ben Hutchings, (Tue Jan 4, 12:37 pm)
[PATCH 1/2] genirq: Add IRQ affinity notifiers, Ben Hutchings, (Tue Jan 4, 12:38 pm)
[PATCH 2/2] lib: cpu_rmap: CPU affinity reverse-mapping, Ben Hutchings, (Tue Jan 4, 12:39 pm)
Re: [PATCH 2/2] lib: cpu_rmap: CPU affinity reverse-mapping, Eric Dumazet, (Tue Jan 4, 2:45 pm)