Re: [PATCH] [9/20] Add blk_kmalloc/blk_alloc_pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 17 2008, Andi Kleen wrote:
> > The queue_to_gfp_mask() would make that conversion equally simple.
> 
> Except that there is no gfp for this in the mask allocator world.
> If I wanted to stay with GFPs i would have never attempted any
> of this in the first place.

Look further down in the email, queue_bounce_to_mask() or whatever you
would want to call it. As also written there, the PRINCIPLE is the same.
And that is that exporting a to_allocator_mask() helper is a lot saner
than exporting an allocator api tied to the queue.

Can we get over this, please?

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux