public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC] Reverting NUMA-affine page table allocation
@ 2011-02-26 14:37 Tejun Heo
  2011-03-01  8:30 ` Tejun Heo
  2011-03-01 22:41 ` Yinghai Lu
  0 siblings, 2 replies; 13+ messages in thread
From: Tejun Heo @ 2011-02-26 14:37 UTC (permalink / raw)
  To: Ingo Molnar, H. Peter Anvin, Thomas Gleixner, Yinghai Lu; +Cc: linux-kernel

Hello,

I've been looking through NUMA-affine page table allocation code and
the proposed changes, and there currently are the a couple of
problems.

1. Holes or misaligned nodes will force use of smaller sized mappings.
   Patches to fix the problem have been posted by Yinghai[1].

2. find_early_table_space() always calculates the amount of the needed
   space from 0 to the specified @end.  As nodes are registered, each
   node would try to allocate accumulative amount of space for page
   table.  This probably wouldn't cause any actual problem (may affect
   emulated configurations a bit tho).

IMHO, it would be better to avoid adding fixes for #1 and #2 at this
stage as we're very close to the next merge window and this is
(somewhat unnecessarily) delicate piece of code.  Also, I do think
that the NUMA affine page table allocation is generally overdone given
its limited usefulness when 1GiB mapping is available.

I'd like to revert NUMA-affine page table allocation for now and come
back to it in the next devel cycle.  Thanks to the memblock top-down
change, the RED-PEN condition (page table ending up in DMA memory)
doesn't exist with or without NUMA affine allocation and the only
downside of reverting would be page tables allocated in foreign nodes
on machines which don't support 1GiB mapping.

What do you think?

Thanks.

-- 
tejun

[1] http://thread.gmane.org/gmane.linux.kernel/1104672

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-03-02 18:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-26 14:37 [RFC] Reverting NUMA-affine page table allocation Tejun Heo
2011-03-01  8:30 ` Tejun Heo
2011-03-01 22:41 ` Yinghai Lu
2011-03-02 16:19   ` Tejun Heo
2011-03-02 16:47     ` Yinghai Lu
2011-03-02 17:07       ` Tejun Heo
2011-03-02 18:08         ` Ingo Molnar
2011-03-02 18:12           ` H. Peter Anvin
2011-03-02 18:19             ` Ingo Molnar
2011-03-02 18:25               ` Tejun Heo
2011-03-02 18:31                 ` Ingo Molnar
2011-03-02 18:32               ` Ingo Molnar
2011-03-02 18:22           ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox