Re: [patch 3/4] cpu alloc: The allocator

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Lameter
Date: Friday, October 3, 2008 - 7:15 am

Andrew Morton wrote:


Yup cannot find equivalent bitmap operations for cpu_alloc.

Also the search operations already use find_next_zero_bit() and
find_next_bit(). So this should be okay.

We could define new bitops:

bitmap_set_range(dst, start, end)
bitmap_clear_range(dst, start, end)

int find_zero_bits(dst, start, end, nr_of_zero_bits)

but then there are additional alignment requirements that such a generic
function would not be able to check for.


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

Messages in current thread:
[patch 3/4] cpu alloc: The allocator, Christoph Lameter, (Mon Sep 29, 12:35 pm)
Re: [patch 3/4] cpu alloc: The allocator, Pekka Enberg, (Mon Sep 29, 11:35 pm)
Re: [patch 3/4] cpu alloc: The allocator, Christoph Lameter, (Tue Sep 30, 4:38 am)
Re: [patch 3/4] cpu alloc: The allocator, Pekka Enberg, (Tue Sep 30, 4:48 am)
Re: [patch 3/4] cpu alloc: The allocator, Christoph Lameter, (Tue Sep 30, 5:12 am)
Re: [patch 3/4] cpu alloc: The allocator, Andrew Morton, (Fri Oct 3, 12:33 am)
Re: [patch 3/4] cpu alloc: The allocator, Pekka Enberg, (Fri Oct 3, 12:43 am)
Re: [patch 3/4] cpu alloc: The allocator, Andrew Morton, (Fri Oct 3, 1:20 am)
Re: [patch 3/4] cpu alloc: The allocator, Christoph Lameter, (Fri Oct 3, 5:48 am)
Re: [patch 3/4] cpu alloc: The allocator, Christoph Lameter, (Fri Oct 3, 7:15 am)
Re: [patch 3/4] cpu alloc: The allocator, Rusty Russell, (Sun Oct 5, 2:10 pm)
Re: [patch 3/4] cpu alloc: The allocator, Christoph Lameter, (Tue Oct 7, 6:27 am)