Messages in this thread |  | | | From | Kay Sievers <> | | Date | Mon, 12 Dec 2011 13:35:50 +0100 | | Subject | question about link_mem_sections() |
| |
Robin,
you added find_memory_block_hinted() with: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=63d027a63888e993545d10fdfe4107d543f01bca
I try to understand what's going on here, because we need to switch away from 'struct sysdev'.
In the loop over the node data you call find_memory_block_hinted() in a row, which might all take a reference. At the end of the section you drop only the last reference of the iteration. The code before your change dropped all references inside the loop.
Could you please explain the intended behaviour?
If all is right, we should at least move the now wrong comment where is belongs.
Thanks, Kay
|  |