aboutsummaryrefslogtreecommitdiff
path: root/drivers/pnp/pnpbios
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2005-09-21 21:40:12 -0700
committerRoland Dreier <rolandd@cisco.com>2005-09-26 09:38:26 -0700
commit018771f435388f22f388eb8658c652086fb3633e (patch)
treed18f3929acf5acff74a786f233ba8421bfe95c84 /drivers/pnp/pnpbios
parent8ddec7460d2f5db3ac35812c03676b1473d1d668 (diff)
[IB] mthca: Fix doorbell record resource leak
If we allocate a bunch of doorbell records and then free them, we'll end up with completely empty pages, which we then free. However, when we come back to allocate more doorbell pages, we have to reallocate those empty pages rather than always trying to take a slot that we've never used. If we don't, we eventually use up every slot and fail to allocate a doorbell record, even though we have plenty of free space. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/pnp/pnpbios')
0 files changed, 0 insertions, 0 deletions