On Thu, May 04, 2006 at 04:00:17PM -0500, Jon Mason wrote:
> + index = find_next_zero_string(io_tlb_list, io_tlb_index,
> + io_tlb_nslabs, nslots);
> + if (index == ~0U) {
> + index = find_next_zero_string(io_tlb_list, 0,
> + io_tlb_nslabs, nslots);
> + if (index == ~0U)
> + return NULL;
If we run out of space in the bitmap we return here with the
io_tlb_lock held. Also, an informative message saying that we've run
out of space in the bitmap is probably a good idea.
Cheers,
Muli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]