Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1448539

Aw: Re: BUG: Wrong dma queue handling in ixp4 driver

From "Lino Sanfilippo" <LinoSanfilippo@gmx.de>
Newsgroups linux.kernel
Subject Aw: Re: BUG: Wrong dma queue handling in ixp4 driver
Date 2016-07-22 13:20 +0200
Message-ID <rXGEO-55U-15@gated-at.bofh.it> (permalink)
References <rWB4t-3hE-11@gated-at.bofh.it> <rXGEO-55U-17@gated-at.bofh.it> <rXFSq-4xq-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Krzysztof,

> 
> Not really: there is one pool for all ports, but each port uses
> a separate desc_tab (allocated from that pool).

right, but even then using a dma pool seems to be a bit of overhead
for only a few allocations. As far as I understood those pools are 
meant for hundrets or thousands of rather small chunks.
 
I dont want to criticise it though, since the code at this place is surely
 not wrong. 
My initial post was due to a misunderstanding of mine: I thought the 
third parameter of dma_pool_create() is the total allocation size of all
chunks (dont ask me how I came to this conclusion, I could not explain it now :/ ).

Regards,
Lino

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

BUG: Wrong dma queue handling in ixp4 driver "Lino Sanfilippo" <LinoSanfilippo@gmx.de> - 2016-07-19 13:10 +0200
  Aw: BUG: Wrong dma queue handling in ixp4 driver "Lino Sanfilippo" <LinoSanfilippo@gmx.de> - 2016-07-19 13:40 +0200
    Re: Aw: BUG: Wrong dma queue handling in ixp4 driver khalasa@piap.pl (Krzysztof Hałasa) - 2016-07-22 12:30 +0200
      Aw: Re:  BUG: Wrong dma queue handling in ixp4 driver "Lino Sanfilippo" <LinoSanfilippo@gmx.de> - 2016-07-22 13:20 +0200

csiph-web