[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANudz+unARaENw50p2iL_Ur1YQj0f=9Ndev0OyZ=790xDjbTCw@mail.gmail.com>
Date: Tue, 1 Nov 2011 19:32:38 +0900
From: loody <miloody@...il.com>
To: kernelnewbies@...nelnewbies.org,
LKML <linux-kernel@...r.kernel.org>
Subject: some questions about block and scatterlist
Dear all:
My questions are below:
1. Are all struct page 32-bit aligned?
If so, where is this part of code for handleing struct page be 32-bits aligned?
2. if the page of scatterlist is located at high mem, how does
dma_map_sg mapping the virtual address?
3. in blk_rq_map_sg, it seems we only copy bvec->bv_page to sg->page_link
why don't we add dma_address in bvec and send the bio directly to
the lower level driver?
4. if I plug a USB HD with 3 partitions, will there be 3 request_queues?
--
Regards,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists