Thread (6 messages) flat view 6 messages, 4 authors, 2020-09-10

Re: [PATCH v3] pseries/drmem: don't cache node id in drmem_lmb struct

From: Michael Ellerman <hidden>
Date: 2020-09-09 13:30:38

On Mon, 10 Aug 2020 20:51:15 -0500, Scott Cheloha wrote:
At memory hot-remove time we can retrieve an LMB's nid from its
corresponding memory_block.  There is no need to store the nid
in multiple locations.

Note that lmb_to_memblock() uses find_memory_block() to get the
corresponding memory_block.  As find_memory_block() runs in sub-linear
time this approach is negligibly slower than what we do at present.

[...]
Applied to powerpc/next.

[1/1] pseries/drmem: don't cache node id in drmem_lmb struct
      https://git.kernel.org/powerpc/c/e5e179aa3a39c818db8fbc2dce8d2cd24adaf657

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help