Re: [PATCH 3/8] v3 Add section count to memory_block

2010-07-20 Thread Nathan Fontenot
Add a section count property to the memory_block struct to track the number of memory sections that have been added/removed from a memory block. Updated to use atomic_dec_and_test(). Signed-off-by: Nathan Fontenot --- drivers/base/memory.c | 18 +++--- include/linux/memory.h |

Re: [PATCH 3/8] v3 Add section count to memory_block

2010-07-20 Thread KAMEZAWA Hiroyuki
On Mon, 19 Jul 2010 22:53:58 -0500 Nathan Fontenot wrote: > Add a section count property to the memory_block struct to track the number > of memory sections that have been added/removed from a emory block. > > Signed-off-by: Nathan Fontenot > --- > drivers/base/memory.c | 19 ---